joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x403dbf
push esi
call fcn.004086d0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x403db8
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x403e39
mov eax, dword [esi + 0x1a8]
cmp byte [eax + 0x10], 0
je 0x403e29
mov eax, dword [esi + 8]
test eax, eax
je 0x403de4
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x403e25
cmp eax, 2
je 0x403e29
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x403dd5
cmp eax, 3
je 0x403e0c
cmp eax, 1
jne 0x403dd5
inc dword [ecx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 8]
jl 0x403dd5
mov ecx, dword [esi + 0x128]
add dword [eax + 8], ecx
jmp 0x403dd5
xor al, al
pop esi
ret
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x84], edx
call fcn.00403a60
pop esi
ret
cmp eax, 0xcc
je 0x403e5b
mov eax, dword [esi]
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
call fcn.00403a60
pop esi
ret
Function at 0x4104d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1c0]
mov dword [esp + 0x18], esi
jne 0x4104f7
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x410503
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0xc], ecx
cmp dword [edi + 0x64], ecx
jle 0x410615
push ebx
push ebp
jmp 0x41054c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov edi, dword [esi + ecx*4 + 0x20]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
je 0x41056f
mov edx, dword [esi + 0x18]
add dword [edx + ecx*4], 0xff
lea eax, [edx + ecx*4]
mov eax, dword [esi + 0x18]
mov ebp, dword [eax + ecx*4]
lea eax, [edi + 0xfe]
lea ecx, [edi + edi - 2]
cdq
idiv ecx
xor ebx, ebx
xor ecx, ecx
mov esi, eax
cmp ecx, esi
jle 0x4105be
mov edx, ebx
imul edx, edx, 0x1fe
lea edi, [edx + edi + 0xfe]
jmp 0x4105a0
mov esi, dword [esp + 0x18]
add edi, 0x1fe
mov eax, edi
cdq
lea esi, [esi + esi - 2]
idiv esi
inc ebx
mov esi, eax
cmp ecx, esi
jg 0x4105a0
mov edi, dword [esp + 0x18]
mov al, byte [esp + 0x1c]
imul bl
mov byte [ecx + ebp], al
inc ecx
cmp ecx, 0xff
jle 0x410588
cmp dword [esp + 0x10], 0
je 0x4105fd
mov eax, 1
lea ecx, [ebp - 1]
nop
movzx edx, byte [ebp]
mov byte [ecx], dl
movzx edx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x4105e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [ecx + 0x64]
jl 0x410540
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x41b690
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x41b731
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov esi, dword [ecx + 4]
xor eax, eax
cmp esi, edx
push edi
jle 0x41b6df
mov edi, dword [ecx]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x4af978]
add edx, 1
cmp edx, esi
jl 0x41b6c1
xor edx, edx
mov esi, dword [ecx + 0xc]
cmp esi, edx
jle 0x41b70c
mov edi, dword [ecx + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x4af978]
add edx, 1
cmp edx, esi
jl 0x41b6f0
mov edx, dword [ecx]
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
pop edi
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
pop esi
shr eax, 0x18
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x42ca50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x42ca5c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0042ca70

Function at 0x432890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
test edx, edx
je 0x4328bc
movzx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, dword [esi]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [esi + eax*4 + 4]
mov dword [esi], ecx
dec edx
jne 0x4328a1
mov ecx, esi
call fcn.004328d0
pop edi
pop esi
pop ebp
ret 8

Function at 0x4328e0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
lea esi, [ecx + 4]
mov eax, edx
shr eax, 1
test dl, 1
je 0x4328f4
xor eax, 0xedb88320
test al, 1
je 0x432901
shr eax, 1
xor eax, 0xedb88320
jmp 0x432903
shr eax, 1
test al, 1
je 0x432910
shr eax, 1
xor eax, 0xedb88320
jmp 0x432912
shr eax, 1
test al, 1
je 0x43291f
shr eax, 1
xor eax, 0xedb88320
jmp 0x432921
shr eax, 1
test al, 1
je 0x43292e
shr eax, 1
xor eax, 0xedb88320
jmp 0x432930
shr eax, 1
test al, 1
je 0x43293d
shr eax, 1
xor eax, 0xedb88320
jmp 0x43293f
shr eax, 1
test al, 1
je 0x43294c
shr eax, 1
xor eax, 0xedb88320
jmp 0x43294e
shr eax, 1
test al, 1
je 0x43295b
shr eax, 1
xor eax, 0xedb88320
jmp 0x43295d
shr eax, 1
mov dword [esi], eax
inc edx
add esi, 4
cmp edx, 0x100
jl 0x4328e6
mov dword [ecx], 0xffffffff
pop esi
ret
Function at 0x444c70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491c1b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x4bd910]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 4]
call fcn.00468bd0
cmp byte [esi], 0
mov byte [esi + 0x38], 0
je 0x444e42
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.menu.inf
lea ecx, [ebp - 0x44]
call fcn.00469230
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
call fcn.0044a210
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call fcn.00469bb0
mov ecx, 0x4983d3
push 0x49cbf8
mov eax, dword [eax + 8]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.0047409b
mov edi, eax
lea ecx, [ebp - 0x94]
add esp, 8
mov dword [ebp - 0x14], edi
test edi, edi
setne bl
call fcn.0046cd00
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0
call fcn.0046cd00
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.0046cd00
test bl, bl
je 0x444e2e
push 2
push 0
push edi
call fcn.004725d0
push edi
call fcn.00472371
mov ebx, dword [ebp - 0x14]
mov edi, eax
push 0
push 0
push ebx
call fcn.004725d0
push edi
call fcn.0044c160
add esp, 0x20
mov dword [ebp - 0x18], eax
test eax, eax
je 0x444e25
push ebx
push edi
push 1
push eax
call fcn.00471f35
add esp, 0x10
lea ebx, [esi + 4]
mov ecx, ebx
push 0x498d1c
push edi
push dword [ebp - 0x18]
call fcn.00468800
mov ecx, ebx
xor esi, esi
call fcn.0046ce80
test eax, eax
jle 0x444e17
nop
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov ecx, ebx
push esi
call fcn.004687e0
test eax, eax
jle 0x444e0b
xor edi, edi
mov dword [ebp - 0x1c], edi
push esi
mov ecx, ebx
call fcn.004687c0
mov eax, dword [eax + 8]
add edi, eax
lea eax, [ebp - 0xbc]
mov ecx, edi
push eax
call fcn.0046d700
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.0046cae0
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
call fcn.0046cd00
mov edi, dword [ebp - 0x1c]
mov ecx, ebx
inc dword [ebp - 0x10]
add edi, 0x28
push esi
mov dword [ebp - 0x1c], edi
call fcn.004687e0
cmp dword [ebp - 0x10], eax
jl 0x444db6
mov ecx, ebx
inc esi
call fcn.0046ce80
cmp esi, eax
jl 0x444da0
push dword [ebp - 0x18]
call fcn.0044c170
mov ebx, dword [ebp - 0x14]
add esp, 4
push ebx
call fcn.00471cf9
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4625c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x4bd910]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0xc]
cdq
push ebx
and edx, 3
add eax, edx
push esi
sar eax, 2
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xd4], eax
xor ecx, ecx
mov edx, edi
lea esi, [ecx + 0x10]
lea ecx, [ecx]
mov eax, edx
shr cx, 1
shr eax, 1
xor eax, edx
shr edx, 2
shl eax, 0xf
or ax, cx
movzx ecx, ax
dec esi
jne 0x462600
mov dword [ebp + ebx*4 - 0xc4], edi
mov word [ebp + ebx*2 - 0x44], cx
inc ebx
rol edi, 1
cmp ebx, 0x20
jl 0x4625f6
mov eax, dword [ebp - 0xd4]
xor ecx, ecx
mov dword [ebp - 0xe0], ecx
test eax, eax
je 0x46271e
dec eax
mov dword [ebp - 0xd0], 1
xor edx, edx
mov dword [ebp - 0xd4], eax
movzx eax, word [ebp + ecx*2 - 0x44]
mov esi, 3
mov dword [ebp - 0xcc], eax
mov di, ax
mov dword [ebp - 0xd8], esi
lea ebx, [edx + 2]
mov dword [ebp - 0xdc], 0x10
jmp 0x462680
test byte [ebp - 0xcc], 1
je 0x4626b5
mov eax, dword [ebp - 0xc8]
mov ecx, ebx
mov esi, dword [ebp - 0xc8]
shr ecx, 1
mov eax, dword [eax]
shr eax, 1
and ecx, eax
mov eax, dword [ebp - 0xd0]
and eax, dword [esi]
mov esi, dword [ebp - 0xd8]
add eax, eax
or ecx, eax
or edx, ecx
jmp 0x4626c1
mov ecx, dword [ebp - 0xc8]
mov eax, esi
and eax, dword [ecx]
or edx, eax
shl dword [ebp - 0xd0], 2
shl esi, 2
shr di, 1
shl ebx, 2
dec dword [ebp - 0xdc]
mov dword [ebp - 0xd8], esi
mov word [ebp - 0xcc], di
jne 0x462680
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp + ecx*4 - 0xc4]
inc ecx
xor eax, edx
and ecx, 0x1f
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xe0], ecx
mov dword [edx], eax
add edx, 4
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc8], edx
test eax, eax
jne 0x462642
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00471a6a
mov esp, ebp
pop ebp
ret
Function at 0x402afc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004042ec
test esi, esi
jne 0x402b32
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004043dc
jmp 0x402b50
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a10
mov edi, eax
test esi, esi
je 0x402b50
cmp dword [ebx], 0
je 0x402b50
dec esi
jmp 0x402b39
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402df0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4ed008], 0x8088405
inc edx
mov dword [ebx + 0x4ed008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403288
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ed024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403320
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403300
xor eax, eax
push ebp
push 0x4032f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40333c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403300
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4ed024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ed024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4040cc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f104c], 0
je 0x40412d
cmp word [0x4f1220], 0xd7b2
jne 0x4040f5
cmp dword [0x4f1228], 0
jbe 0x4040f5
mov eax, 0x4f121c
call dword [0x4f1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ed070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404154
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ed034], 0
jne 0x404149
push 0
push 0x4ed068
push 0x4ed070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4042a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027d4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4f104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404268
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4064fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406562
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040455c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e0c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40654c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406569
lea eax, [ebp - 0x10]
call fcn.004042ec
ret

Function at 0x4093dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004047ac
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4093f5
test al, 0x10
jne 0x4093f9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c2e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c321
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043dc
jmp 0x40c32a
mov eax, ebx
mov edx, esi
call fcn.00404340
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c334
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c355
mov al, byte [esp]
jmp 0x40c357
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c9dc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c854
mov eax, dword [0x4f05dc]
cmp byte [eax], 0
je 0x40ca58
mov eax, dword [0x4f01f8]
call fcn.00402c5c
call fcn.0040293c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004098a0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40caa0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ca8e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4f0160]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f1668]
call fcn.004059f4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d348
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d41e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404384
lea eax, [ebp - 8]
call fcn.004047fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004047ac
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d408
mov eax, ebx
call fcn.004027d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d401
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 - 8]
call fcn.004047ac
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d3eb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d430
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d3eb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d408
mov eax, dword [ebp - 0x10]
call fcn.004027f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d425
lea eax, [ebp - 8]
call fcn.004042ec
ret

Function at 0x40d9dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40da40
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040455c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409008
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da47
lea eax, [ebp - 0xc]
call fcn.004042ec
ret

Function at 0x421a40
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.00421898
dec esi
jne 0x421a62
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x422ba4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f188c
cmp dword [edi], 0
jne 0x422c20
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f1888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ed528
mov ecx, 2
call fcn.004029d0
mov edx, 0x422b7c
lea eax, [esi + 5]
call fcn.00422b9c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422b9c
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 0x422bf5
mov dword [0x4f1888], 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 0x424274
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 0x42427a
ret

Function at 0x426c3c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x426c8d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426c74
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426c64
jmp 0x426c8d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x426c75
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43080c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040479c
xor eax, eax
push ebp
push 0x43093a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43090d
xor eax, eax
push ebp
push 0x430906
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004045ac
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4308db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4308ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004045ac
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004047ac
mov edx, ebx
pop ecx
call fcn.004029d0
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4308d1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4f007c]
mov dl, 1
mov eax, dword [0x407b9c]
call fcn.0040cb6c
call fcn.00403c68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430941
lea eax, [ebp - 4]
call fcn.004042ec
ret
Function at 0x430948
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x430af9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040499c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x430b10
call fcn.004045f8
mov eax, ebx
call fcn.00422138
mov edi, eax
dec edi
test edi, edi
jl 0x430a00
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042210c
mov edx, dword [0x43d848]
call fcn.004035a4
test al, al
je 0x4309fc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0042210c
lea edx, [ebp - 0x14]
call fcn.00446198
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040499c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040466c
inc esi
dec edi
jne 0x4309ae
mov al, byte [0x430b14]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x430b20
mov eax, dword [ebp - 0xc]
call fcn.0040dfb4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404384
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00446198
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x430b10
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00446198
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x430b10
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x430b10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x430b2c
call fcn.00409fa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430b00
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404310
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404310
lea eax, [ebp - 0x14]
call fcn.004042ec
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404310
ret