joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002a1c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002a21d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1002a1c4
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002a1d3
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042fe76
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002a224
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001109a
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002a2c3
add edi, 4
add eax, 2
dec ecx
jne 0x1002a209
call 0x1002a270
loope 0x1002a266
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002a2c0
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002a2d1
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1002a284
cmp eax, ecx
ja 0x1002a284
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002a30e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002a304
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.10011579
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1002a1d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002a21d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1002a1c4
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002a1d3
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042fe76
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002a224
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001109a
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002a2c3
add edi, 4
add eax, 2
dec ecx
jne 0x1002a209
call 0x1002a270
loope 0x1002a266
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002a2c0
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002a2d1
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1002a284
cmp eax, ecx
ja 0x1002a284
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002a30e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002a304
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.10011579
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40a31c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0040a308
add esp, 0x208
pop ebx
ret

Function at 0x40aa2c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x509b6c
push 0xa
push 0x40aac0
mov eax, dword [0x509b50]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40aa50
call fcn.0041362c
push ebx
mov eax, dword [0x509b50]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40aa67
call fcn.0041362c
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40aa79
call fcn.0041362c
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x509b70], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x509b74], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x509b78], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x509b7c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x509b80], ecx
add edx, dword [eax + 0x14]
mov dword [0x509b84], edx
pop esi
pop ebx
ret

Function at 0x40c168
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40c211
test eax, edx
je 0x40c214
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40c191
push edx
mov edx, eax
mov eax, esp
call fcn.0040665c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40c1a7
push eax
lea eax, [esp + 8]
call fcn.0040665c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40c1b6
movzx eax, word [eax]
sub eax, ecx
jmp 0x40c1dd
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40c1f7
add ecx, 4
js 0x40c1ce
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40c1f4
push eax
mov eax, ecx
mov edx, 2
call fcn.004052a0
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40c1db
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40c1dd
xor eax, eax
ret
test eax, eax
je 0x40c224
test edx, edx
jne 0x40c178
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40d258
Capabilities:
Hash data using murmur3

Disassembly:
push ebx
push ecx
mov ebx, edx
mov edx, esp
call fcn.00403648
cmp dword [esp], 0
je 0x40d26b
mov eax, ebx
pop edx
pop ebx
xor ebx, esi
invalid

Function at 0x40d270
Capabilities:
Hash data using murmur3

Disassembly:
fimul word [ebx + 0x7aca85cc]
add cl, byte [ebx]
fucompi st(0)
jp 0x40d2ee
invalid
leave
Function at 0x40d308
Capabilities:
Hash data using murmur3

Disassembly:
xor ebx, dword [0x504cfb]
xchg edi, edx
rol edx, 0x11
mov eax, 0xd680a567
shr eax, 0xa
shl edx, 3
add esi, ecx
mov esi, edx
mov edx, dword [0x5041af]
mov dword [0x5068cf], edi
test eax, 0x1fbbf19a
je 0x40d33c
sub edi, 0xc8a45f46
dec eax
shl ebx, 0x17
dec ebx
rol eax, 0x11
sub esi, dword [0x503fa9]
xor ebx, 0xd264d21d
not edi
dec ecx
jne fcn.0040d308
mov ebx, 0xd75fa391
dec ebx
add edx, esi
xchg ebx, eax
xor ebx, edi
call fcn.004c3647
xchg esi, eax
xor dword [0x50681d], 0xee7cbf26
call fcn.004957bd
ror ebx, 0xd
sub edi, esi
call fcn.0042f625
ror edx, 9
not esi
add edx, 0xa2b66dac
call fcn.004dda8c
call fcn.0048de88
sub edx, 0xa2b66dac
not esi
rol edx, 9
call fcn.00452cf7
add edi, esi
rol ebx, 0xd
call fcn.00496a80
mov dword [0x50621f], 0x8b2497a4
xchg esi, eax
xor ebx, edi
xchg ebx, eax
sub edx, esi
inc ebx
sub ebx, 0x34e0b03
mov dword [0x506622], eax
sub edi, ecx
xor esi, ecx
and dword [0x506449], ecx
add esi, dword [0x506f03]
or eax, dword [0x506b75]
and dword [0x506261], edx
neg edx
sub edx, 0x4a061c10
xor ebx, dword [0x506ad0]
add edx, 0x4a061c10
neg edx
xor dword [0x506858], edi
add dword [0x506611], esi
xor esi, ecx
add edi, ecx
xor ebx, 0xd41198ce
xor ebx, esi
sub eax, dword [0x506e2d]
xchg ebx, edx
or dword [0x50622c], esi
rol edi, 0xe
not esi
call fcn.004a5d30
not eax
add esi, dword [0x506d6f]
neg ebx
ror esi, 0x14
dec ecx
call fcn.00432e08
call fcn.00487a11
call fcn.004be9c9
call fcn.004a84ac
inc ecx
rol esi, 0x14
neg ebx
not eax
call fcn.00450625
not esi
ror edi, 0xe
xchg ebx, edx
xor ebx, esi
push ebx
sub ecx, dword [0x506c4f]
call fcn.0040c473
xor esi, ebx
sub ecx, edi
and dword [0x506834], eax
xor esi, ebx
sub edx, 0xba06cdae
call fcn.00492b98
not edx
xor esi, 0xd9830329
dec ebx
ror edx, 0x1c
add eax, ebp
call fcn.004cfc8d
neg eax
sub dword [0x50679a], edx
add esi, ebx
not edi
xor edx, ebx
call fcn.0049d977
xor edi, dword [0x50690c]
call fcn.0042aed6
call fcn.00443d0e
call fcn.0045ad8d
xor edx, ebx
not edi
sub esi, ebx
or dword [0x506614], ecx
neg eax
call fcn.004cf817
and ecx, dword [eax + eax]

Function at 0x411030
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x411069
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406584
jmp 0x411072
mov eax, ebx
mov edx, esi
call fcn.00406448
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411828
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41194d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041163c
mov esi, eax
mov eax, dword [0x505ef0]
cmp byte [eax], 0
je 0x4118f5
mov eax, dword [0x505b9c]
call fcn.00403450
call fcn.00403180
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x411804]
call fcn.00408024
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x411968
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x411931
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x505b18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x509b50]
call fcn.00408118
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411954
lea eax, [ebp - 4]
mov edx, dword [0x411804]
call fcn.00408030
ret

Function at 0x4125ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x412682
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040649c
lea eax, [ebp - 4]
call fcn.00406eb0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41266c
mov eax, ebx
call fcn.00403018
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x412665
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41264f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x412694
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41264f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41266c
mov eax, dword [ebp - 0x10]
call fcn.00403034
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412689
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x41345b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040565c
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x41347e
mov eax, edi
add eax, eax
call fcn.00403018
mov esi, eax
jmp 0x413480
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4134b9
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4134a3
mov eax, esp
cmp esi, eax
je 0x4134c6
mov eax, esi
call fcn.00403034
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x413500
cmp bl, 0
je 0x4134fc
cmp bl, 0x41
jl 0x4134f7
cmp bl, 0x5a
jg 0x4134f7
or bl, 0x20
xor al, bl
inc esi
jmp 0x4134db
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x413440

Function at 0x42abb8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0042a8bc
dec esi
jne 0x42abda
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x42bda0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x50bea4
cmp dword [edi], 0
jne 0x42be1c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x50bea0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x503ecc
mov ecx, 2
call fcn.004031d0
mov edx, 0x42bd78
lea eax, [esi + 5]
call fcn.0042bd98
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042bd98
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42bdf1
mov dword [0x50bea0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42ec24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004064d4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x42ec7c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x506088]
mov dl, 1
mov eax, dword [0x42e6a4]
call fcn.00411a98
call fcn.00404a74
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042e82c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42fbbc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42fbc2
ret
Function at 0x4ab76c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x50c43c
mov eax, esi
mov edx, 8
test al, 1
je 0x4ab788
shr eax, 1
xor eax, 0xedb88320
jmp 0x4ab78a
shr eax, 1
dec edx
jne 0x4ab77b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4ab774
pop esi

Function at 0x4ab7a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x50c438], 0
jne 0x4ab7c3
call fcn.004ab76c
push 1
push 0x50c438
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4ab7ee
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x50c43c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4ab7c9
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4ac358
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x4ad044
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004064d4
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x4ad0e6
mov eax, ebx
call fcn.00403018
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4ad0df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4ad0c9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4ad108
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4ad0c9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad0fd
mov eax, dword [ebp - 0x10]
call fcn.00403034
ret
mov eax, dword [0x50605c]
cmp dword [eax], 1
je 0x4ad0fd
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004ace68
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ad310
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004ad2c4
test al, al
jne 0x4ad331
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4ad37f
xor eax, eax
push ebp
push 0x4ad36f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad376
lea eax, [ebp - 0xc]
call fcn.004ad300
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b0de4
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4b0f2d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b0f44
push 0x4b0f6c
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409620
mov ebx, eax
lea edx, [ebp - 0xc]
movzx eax, byte [ebp - 1]
call fcn.004ad2c4
test al, al
jne 0x4b0e43
mov byte [ebp - 2], 0
jmp 0x4b0f12
xor eax, eax
push ebp
push 0x4b0f0b
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4b0e87
push 0
mov eax, dword [ebp + 8]
push eax
push edi
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.0047e754
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0047e328
mov eax, dword [ebp - 0x20]
call fcn.004064d4
push eax
call ebx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
jmp 0x4b0ef5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.0047e754
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0047e82c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0047e328
mov eax, dword [ebp - 0x28]
call fcn.004064d4
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x4b0ef5
mov ecx, edi
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.004819e8
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.004819e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0f12
lea eax, [ebp - 0xc]
call fcn.004ad300
ret
invalid
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0f34
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00406440
ret

Function at 0x4b1118
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4b113c
mov eax, dword [ebp - 4]
jmp 0x4b113f
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b3fa4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, edx
mov esi, eax
cmp byte [esi + 4], 0
je 0x4b407e
mov byte [esi + 5], 1
mov eax, dword [esi + 0x10]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 4]
xor ecx, ecx
mov eax, 0x4b4090
call fcn.004b31b8
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4b3ffc
mov eax, 0x4b40f0
call fcn.004b2f34
push 1
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_TerminateProcess
push 0x2710
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4b3fe7
push esp
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x4b404f
cmp dword [esp], 0
jne 0x4b4031
mov eax, 0x4b4148
call fcn.004b2f34
jmp 0x4b4059
mov eax, dword [esp]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 4]
xor ecx, ecx
mov eax, 0x4b4184
call fcn.004b31b8
jmp 0x4b4059
mov eax, 0x4b41ec
call fcn.004b2f34
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov byte [esi + 4], 0
test bl, bl
je 0x4b407e
push 0xfa
call sub.kernel32.dll_Sleep_1
add esp, 0xc
pop esi
pop ebx