joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410fc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x67b05f
call fcn.0059f048
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x410ff8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004110f0
jmp 0x4110da
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
call fcn.0040cac0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0x10], 0
jl 0x41108c
jg 0x411020
cmp dword [ebp + 0xc], 0
jbe 0x41108c
cmp dword [ebp - 0x10], 0
jl 0x41108c
jg 0x41102e
cmp dword [ebp - 0x14], 0
jbe 0x41108c
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x10]
jg 0x41104c
jl 0x411040
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x14]
jae 0x41104c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0040fb50
push eax
call fcn.00406010
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
sbb ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
call fcn.0040fb00
cmp dword [ebp + 0x10], 0
jl 0x4110ce
jg 0x41109a
cmp dword [ebp + 0xc], 0
jbe 0x4110ce
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x4110ce
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.005ad1aa
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
sbb edx, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x421340
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce3ad
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x651da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, 0x67b09f
call fcn.0059f048
push 0xc
lea ecx, [ebp - 0x20]
call fcn.0040d070
push 0
lea ecx, [ebp - 0x20]
call fcn.004133a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041fed0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4213e1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00414890
mov eax, dword [ebp - 0x2b4]
jmp 0x42147d
mov dword [ebp - 0x30], 0x100
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x230]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42144e
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x20]
call fcn.00421340
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x421445
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00414890
mov eax, dword [ebp - 0x2b8]
jmp 0x42147d
mov dword [ebp - 0x30], 0x100
jmp 0x4213e8
lea ecx, [ebp - 0x20]
call fcn.00419300
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0041aac0
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00414890
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059f07a
mov esp, ebp
pop ebp
ret 4

Function at 0x421840
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x67b09d
call fcn.0059f048
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4218ac
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x421879
mov eax, 1
jmp 0x4218ca
push str.RegDeleteKeyTransactedW
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4218aa
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0xc]
jmp 0x4218ca
jmp 0x4218c5
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4218c5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x4218ca
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x423a50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x67b09f
call fcn.0059f048
xor eax, eax
jne 0x423a66
cmp dword [ebp + 0xc], 0
je 0x423a79
mov dword [ebp - 0x58], 1
jmp 0x423a80
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x423a93
mov eax, 0xd
jmp 0x423af0
xor eax, eax
jne 0x423a6a
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.005a7b99
add esp, 4
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 1
jne 0x423aa4
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x423bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x67b09f
call fcn.0059f048
xor eax, eax
jne 0x423c06
cmp dword [ebp + 0xc], 0
je 0x423c19
mov dword [ebp - 0x4c], 1
jmp 0x423c20
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x423c33
mov eax, 0xd
jmp 0x423c62
xor eax, eax
jne 0x423c0a
mov eax, dword [ebp + 0xc]
push eax
call fcn.005a7b99
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4276a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce705
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x651da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, 0x67b1ea
call fcn.0059f048
push 4
lea ecx, [ebp - 0x18]
call fcn.0040d070
mov eax, dword [ebp + 8]
push eax
call fcn.00427ce0
add esp, 4
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00427d50
add esp, 8
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x18]
call fcn.004278a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00428250
mov dword [ebp - 0x1c], 0x427ba0
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.00428390
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 0
call fcn.005adc18
add esp, 0x18
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x427763
lea ecx, [ebp - 0x18]
call fcn.00428a90
jmp 0x427774
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0
push 6
call fcn.0059de89
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00428250
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059f07a
mov esp, ebp
pop ebp
ret 4

Function at 0x4297f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x67b225
call fcn.0059f048
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov eax, 4
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x10325476
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42af80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x651da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x67b240
call fcn.0059f048
mov dword [ebp - 8], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x678dd8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x42ad40
push 0
push 0
call fcn.005adc18
add esp, 0x18
mov dword [0x678dd4], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059f07a
mov esp, ebp
pop ebp
ret
Function at 0x42cd60
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0x67b2be
call fcn.0059f048
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x6a09e667
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0xbb67ae85
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0x3c6ef372
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0xa54ff53a
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0x510e527f
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x9b05688c
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x1f83d9ab
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x5be0cd19
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e2f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e4
mov eax, dword [0x651da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x67b515
call fcn.0059f048
cmp dword [ebp + 0xc], 0
je 0x42e329
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ecx]
test eax, eax
jne 0x42e32e
jmp 0x42e419
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x42e36b
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x42e35a
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x42e360
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
jmp 0x42e33a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x42e3e4
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0xc]
sar eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.005ae223
add esp, 0xc
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0xc]
sar eax, 1
shl eax, 1
mov dword [ebp - 0x4e4], eax
cmp dword [ebp - 0x4e4], 0x208
jae 0x42e3b3
jmp 0x42e3b8
call fcn.0059ef6e
xor ecx, ecx
mov edx, dword [ebp - 0x4e4]
mov word [ebp + edx - 0x218], cx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042e2f0
add esp, 8
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.005ae201
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.005ae1d0
add esp, 8
push 0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059f07a
mov esp, ebp
pop ebp
ret
Function at 0x42ed90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x651da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ecx, 0x67b515
call fcn.0059f048
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x42edc1
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
je 0x42edcb
mov eax, 0x1000000
jmp 0x42ee51
mov eax, dword [ebp - 8]
add eax, 0x138
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x5f1abc
mov eax, dword [ebp - 8]
add eax, 0x138
push eax
call fcn.005ae1d0
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x42ee15
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x42ee15
mov eax, 0x2000000
jmp 0x42ee51
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004339f0
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42ee3b
mov eax, dword [ebp - 0x10]
jmp 0x42ee51
mov eax, dword [ebp - 0x14]
push eax
call fcn.00434510
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [0x678e54]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059f07a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x651da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x67b515
call fcn.0059f048
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax]
test ecx, ecx
je 0x433c26
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x433c1c
mov eax, dword [ebp + 0x14]
mov byte [eax + 8], 1
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x433c80
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x433c46
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.005a3210
add esp, 0xc
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059f07a
mov esp, ebp
pop ebp
ret
Function at 0x433ea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0x67b515
call fcn.0059f048
cmp dword [ebp + 0xc], 0
jne 0x433ec0
xor eax, eax
jmp 0x434060
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x434021
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x433ec9
cmp dword [ebp + 0x10], 0
je 0x43405a
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
jne 0x434027
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436e20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov ecx, 0x67b554
call fcn.0059f048
call fcn.00426a40
call fcn.00456e40
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00442060
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x436f73
push 0xf0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00442060
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0xc], 0
je 0x436ead
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
xor eax, eax
jne 0x436e9c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x436f5a
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x436f4f
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0046dad0
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.0045ec20
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x436f2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x436f4d
cmp dword [ebp - 0x24], 0
je 0x436f4d
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x436f58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x436f63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x436f73
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4417e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x67b5ce
call fcn.0059f048
mov eax, dword [ebp - 4]
cmp dword [eax], 0x270
jne 0x44180b
mov ecx, dword [ebp - 4]
call fcn.00473c80
jmp 0x44181e
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4e0
jb 0x44181e
mov ecx, dword [ebp - 4]
call fcn.00473af0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov eax, dword [ebp - 8]
shr eax, 0xb
mov ecx, dword [ebp - 4]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x12
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444340
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
push edi
mov eax, dword [0x651da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, 0x67b5d0
call fcn.0059f048
push str.ClearClientInfo2
call fcn.004787b0
add esp, 4
push 1
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.00453800
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa0]
call fcn.0040d5e0
push eax
call fcn.0044eac0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00404fb0
push str.lci3
lea eax, [ebp - 0x80]
push eax
call fcn.004543f0
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.00427a50
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa8]
call fcn.0040d5e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00404fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00404fb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret