joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436360
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x44cb90
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [esp + 0x18], edi
cmp dword [edi + 0x4c], esi
je 0x4364ed
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov ebx, dword [esp + 0x74]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [ebx + 1]
cmp ecx, eax
jae 0x4364ed
lea edx, [esp + 0x1c]
push edx
call fcn.0040f9c0
mov dword [esp + 0x6c], esi
push ebx
mov eax, edi
mov dword [esp + 0x18], esi
call fcn.00436550
cmp dword [eax + 0x18], 0x10
jb 0x4363f0
mov eax, dword [eax + 4]
jmp 0x4363f3
add eax, 4
push esi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push 0xf
push eax
call sub.DNSAPI.dll_DnsQuery_A
cmp eax, esi
jne 0x4364e4
mov ebp, dword [esp + 0x14]
cmp ebp, esi
je 0x4364a1
cmp word [ebp + 8], 0xf
jne 0x436484
push ebx
mov eax, edi
call fcn.00436550
cmp dword [eax + 0x18], 0x10
jb 0x436431
mov eax, dword [eax + 4]
jmp 0x436434
add eax, 4
mov edx, dword [ebp + 4]
push edx
push eax
call fcn.004394ce
add esp, 8
test eax, eax
jne 0x436484
mov eax, dword [ebp + 0x18]
mov cx, word [ebp + 0x1c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
lea esi, [esp + 0x3c]
mov word [esp + 0x34], cx
call fcn.00405a80
mov ebx, esi
lea edi, [esp + 0x1c]
mov byte [esp + 0x6c], 1
call fcn.004053d0
mov byte [esp + 0x6c], 0
call fcn.00405f60
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x18]
mov ebp, dword [ebp]
xor esi, esi
cmp ebp, esi
jne 0x436417
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4364a1
push 1
push eax
call sub.DNSAPI.dll_DnsFree
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x28]
sar edx, 5
test edx, edx
jbe 0x4364e4
mov eax, esi
lea ecx, [esp + 0x1c]
call fcn.00405340
cmp dword [eax], 0xd
jne 0x4364d4
mov eax, esi
lea ecx, [esp + 0x1c]
call fcn.00405340
add eax, 4
cmp dword [eax + 0x14], 0
jne 0x436513
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
inc esi
sar eax, 5
cmp esi, eax
jb 0x4364b0
lea esi, [esp + 0x1c]
call fcn.004052f0
mov eax, 0x80004005
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00437983
add esp, 0x5c
ret 4
mov eax, esi
lea ecx, [esp + 0x1c]
call fcn.00405340
mov esi, eax
push ebx
mov eax, edi
add esi, 4
call fcn.00436550
push 0xffffffffffffffff
add eax, 0x1c
push 0
push esi
mov ecx, eax
call fcn.00402d10
lea esi, [esp + 0x1c]
call fcn.004052f0
xor eax, eax
jmp 0x4364f2

Function at 0x437983
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45f2b0]
jne 0x43798d
repz ret
jmp fcn.0043d1f4
Function at 0x44484b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043e86c
and dword [ebp - 4], 0
cmp dword [0x461264], 0
mov ebx, eax
jne 0x4448fc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4449ad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x452e30
push edi
call esi
test eax, eax
je 0x4449ad
push eax
call fcn.0043e7fa
mov dword [esp], 0x452e20
push edi
mov dword [0x461264], eax
call esi
push eax
call fcn.0043e7fa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x461268], eax
call esi
push eax
call fcn.0043e7fa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46126c], eax
call esi
push eax
call fcn.0043e7fa
pop ecx
mov dword [0x461274], eax
test eax, eax
je 0x4448fc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043e7fa
pop ecx
mov dword [0x461270], eax
mov eax, dword [0x461270]
cmp eax, ebx
je 0x444954
cmp dword [0x461274], ebx
je 0x444954
push eax
call fcn.0043e875
push dword [0x461274]
mov esi, eax
call fcn.0043e875
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x444954
test edi, edi
je 0x444954
call esi
test eax, eax
je 0x44494b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44494b
test byte [ebp - 0xc], 1
jne 0x444954
or dword [ebp + 0x10], 0x200000
jmp 0x44498d
mov eax, dword [0x461268]
cmp eax, ebx
je 0x44498d
push eax
call fcn.0043e875
pop ecx
test eax, eax
je 0x44498d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44498d
mov eax, dword [0x46126c]
cmp eax, ebx
je 0x44498d
push eax
call fcn.0043e875
pop ecx
test eax, eax
je 0x44498d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x461264]
call fcn.0043e875
pop ecx
test eax, eax
je 0x4449ad
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4449af
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xb8e45d
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 3
jmp 0xb8e4a4
lea esp, [esp + 1]
rol ebp, 0
lea eax, [ebp + 0x91]
jmp 0xb8e48e
mov ebx, edi
rdtsc
xchg bx, ax
jmp 0xb8e4c2
jl 0xb8e466
lea esp, [esp + 1]
jmp 0xb8e46a
shr ax, cl
jmp 0xb8e508
ror ebp, 0
inc dx
jne 0xb8e4ac
shr ax, cl
lea edx, [eax*4]
btc dx, dx
mov edx, esp
jmp 0xb8e4f2
lea edx, [eax*4]
btc dx, dx
mov edx, esp
jmp 0xb8e4f2

Function at 0xb97ae3
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0xb7c714
pushfd
or dword [esp], 0x100
popfd
cpuid
nop
jmp 0xb7c72b
pop ebx
ret
push dword [esp + 0xd]
lea esp, [esp + 0x2c]
jmp 0xb7c708
push edi
pop word [esp + 0xd]
push di
jmp 0xb97a9e

Function at 0xb97cf2
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xb97d22
xchg al, ah
mov eax, dword [esp]
push edx
rdtsc
mov dh, byte [esp]
xchg edx, eax
jmp 0xb97d64
push dx
lea esp, [esp + 2]
push eax
lea eax, reloc.RASAPI32.dll_RasEnumEntriesA
bswap eax
mov eax, 0xf7273ce2
jmp 0xb97cf4
mov dh, 0x9e
mov dh, 0x4b
mov cl, 0x5d
lea eax, [edi + ebp]
pop ecx
rdtsc
jmp 0xb97d8d
bswap edx
lea eax, [eax*4]
xchg ah, dl
push ecx
mov cl, dh
mov cx, bp
jmp 0xb97d4e
mov edx, dword [esp + 0x20]
xchg al, ah
mov eax, edi
not ax
jmp 0xb97dbe
mov dx, di
lea eax, [eax*4]
lea edx, [ebp*4]
mov ax, word [esp]
lea edx, [edi + edi]
pushal
jmp 0xb97d77
mov eax, 0xe60b43aa
call fcn.00b97da8

Function at 0xbae96f
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 2]
and ebx, ecx
call 0xbae96f
mov esi, 0x648d5566
and al, 2
jmp 0xbae9a9
push word [esp]
jmp 0xbae963
lea esp, [esp + 0xc]
xor edi, dword [ebx*4 + reloc.RASAPI32.dll_RasEnumEntriesA]
mov bx, 0x7ec1
movzx ebx, byte [esi + 0xd]
call fcn.00bae977
and edx, ecx
mov edx, dword [edx*4 + reloc.RASAPI32.dll_RasEnumEntriesA]
call fcn.00baea06
mov eax, 0x3ec3a436
invalid

Function at 0xbaea06
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 2]
lea esp, [esp + 2]
jmp 0xbae9f0

Function at 0xbaeb2b
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jne 0xb7a429
je 0xb7a447
lea esp, [esp + 4]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jmp 0xbaeb01

Function at 0xbaf142
Capabilities:
Encrypt data using aes

Disassembly:
cmp dl, 0x61
jmp 0xbaf1b4
push word [esp]
jmp 0xbaf18b
lea esp, [esp + 2]
lea esp, [esp + 4]
jb 0xb7a5dd
jae 0xbaf1ca
jnp 0xbaf18b
jl 0xbaf1ba
test byte [eax + 0x67], 3
xchg ebx, eax
test byte [0x860f46b7], 0x19
mov ah, 0xfc
dec dword [edi]
xchg dword [ebx + 0xffffcb4], eax
cmp dl, 0x5a
jbe 0xb7a60c
ja 0xb7a5dd
Function at 0xbaf1e2
Capabilities:
Encrypt data using aes

Disassembly:
call fcn.00baf0d6
pushfd
jmp 0xbaf17b
jmp 0xbaf22a
push ebx
pop word [esp]
lea esp, [esp + 2]
cmp dl, 0x2b
call fcn.00baf24e
sbb al, 0x6f
jbe 0xb7a703
lcall 0x2f89, 0x7b5f9f84
fadd dword [eax + 0x43]
daa
stosb byte es:[edi], al
jmp 0xb98a75
add eax, 0x8c7cfed1
call fcn.00b98ac4
sahf
jmp 0x4e9e3588
jmp 0xbaf1ff
jbe 0xb7a5c7
ja 0xb7a5ac
lea esp, [esp]
cmc
sub esp, 0xd
lea esp, [esp + 1]
lea esp, [esp + 0xc]
cmp bl, 0x7a
jmp 0xbaf102
lea esp, [esp + 4]
cmp bl, 0x61
jb 0xb7a5ac
clc
jmp 0xbaf131
add eax, 0x860f46b7
sbb dword [esp + edi*8 - 0x7c78f001], esi
mov ah, 0xfc
dec dword [edi]
jbe 0xb7a5c7
ja 0xb7a637
jb 0xb7a64d
adc byte [ebx + 0x73fffcb4], 0x1d
jae 0xbaf1d9
call 0x743bd332
mov ah, 0xea
jb 0xbaf1a5
xchg dword [edx - 0x3d], esi
ljmp 0x3986
cmp dl, 0x7a
call 0xbaf1e2
add eax, 0x424648d
jbe 0xb7a60c
ja 0xb7a64d
scasd eax, dword es:[edi]
movsb byte es:[edi], byte ss:[esi]
ret
lea esp, [esp + 3]
lea esp, [esp + 1]
jb 0xb7a637
cmp bl, 0x5a
jmp 0xbaf1a8
jbe 0xb7a60c
ja 0xb7a68d
inc esp
invalid
cmp dl, 0x30
jb 0xb7a68d
cmp dl, 0x39
jmp 0xbaf212
Function at 0xbaf345
Capabilities:
Encrypt data using aes

Disassembly:
mov word [esp + 1], cx
push dword [esp]
jmp 0xbaf367

Function at 0xbaf384
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 4]
jbe 0xb7a6da
ja 0xb7a708

Function at 0xbb0620
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
jbe 0xb7a9a2
ja 0xb7a9f6

Function at 0xc71fc5
Capabilities:
Parse pe header

Disassembly:
mov dword [esp], ebp
pushfd
jmp 0xc71fcf
lea esp, [esp + 1]
call fcn.00c72011
push ecx
invalid

Function at 0xc72011
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.00c71053
pop word [esp]
push word [esp + 1]
mov dword [esp], edi
jmp 0xc7205b
mov word [esp + 1], sp
pop word [esp + 1]
lea esp, [esp + 1]
mov dword [esp], esi
pushfd
jmp 0xc71ffb
mov eax, dword [eax]
jmp 0xc7207f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xc72045
mov eax, dword [eax + 8]
push eax
jmp 0xc7104e

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402e80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402ed9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402d1c
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402d1c
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402ec3
inc ebx
jmp 0x402eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ee0
lea eax, [ebp - 8]
call fcn.004046d8
ret

Function at 0x402ee8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004046d8
test esi, esi
jne 0x402f1f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004047c8
jmp 0x402f40
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d1c
mov dword [esp], eax
test esi, esi
je 0x402f40
cmp dword [ebx], 0
je 0x402f40
dec esi
jmp 0x402f27
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x4037b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4f8024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403850
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403830
xor eax, eax
push ebp
push 0x403829
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 0x40386c
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 0x403830
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4f8024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4f8024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404554
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4fd04c], 0
je 0x4045b5
cmp word [0x4fd220], 0xd7b2
jne 0x40457d
cmp dword [0x4fd228], 0
jbe 0x40457d
mov eax, 0x4fd21c
call dword [0x4fd238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f8070
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 0x4045dc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f8034], 0
jne 0x4045d1
push 0
push 0x4f8068
push 0x4f8070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4067dc
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 0x406842
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.00404948
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040337c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40682c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406849
lea eax, [ebp - 0x10]
call fcn.004046d8
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b98
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40946d
test al, 0x10
jne 0x409471
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c0cc
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 0x40c105
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047c8
jmp 0x40c10e
mov eax, ebx
mov edx, esi
call fcn.0040472c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c118
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 0x40c139
mov al, byte [esp]
jmp 0x40c13b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c7d0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c638
mov eax, dword [0x4fccac]
cmp byte [eax], 0
je 0x40c84c
mov eax, dword [0x4fca28]
call fcn.00403060
call fcn.00402c48
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.0040976c
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 0x40c894
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c882
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4fc9c0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4fd668]
call fcn.00405bec
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 0x40d144
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 0x40d21a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404770
lea eax, [ebp - 8]
call fcn.00404be8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b98
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d204
mov eax, ebx
call fcn.00402abc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d1fd
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.00404b98
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d1e7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d22c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d1e7
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 0x40d204
mov eax, dword [ebp - 0x10]
call fcn.00402aec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d221
lea eax, [ebp - 8]
call fcn.004046d8
ret

Function at 0x40d788
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 0x40d7ec
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.00404948
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408fd0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d7f3
lea eax, [ebp - 0xc]
call fcn.004046d8
ret

Function at 0x42050c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4fd888
cmp dword [edi], 0
jne 0x420588
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4fd884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f8480
mov ecx, 2
call fcn.00402cdc
mov edx, 0x4204e4
lea eax, [esi + 5]
call fcn.00420504
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420504
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 0x42055d
mov dword [0x4fd884], 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 0x421c34
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 0x421c3a
ret
Function at 0x424330
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 0x424381
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424368
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424358
jmp 0x424381
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 0x424369
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42df04
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.00404b88
xor eax, eax
push ebp
push 0x42e032
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42e005
xor eax, eax
push ebp
push 0x42dffe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404998
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42dfd3
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 0x42dfc2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404998
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404b98
mov edx, ebx
pop ecx
call fcn.00402cdc
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 0x42dfc9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4fc924]
mov dl, 1
mov eax, dword [0x407d80]
call fcn.0040c960
call fcn.004040ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e039
lea eax, [ebp - 4]
call fcn.004046d8
ret
Function at 0x42e040
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 0x42e1f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404d88
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42e208
call fcn.004049e4
mov eax, ebx
call fcn.0041faa0
mov edi, eax
dec edi
test edi, edi
jl 0x42e0f8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041fa74
mov edx, dword [0x43883c]
call fcn.00403ae4
test al, al
je 0x42e0f4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041fa74
lea edx, [ebp - 0x14]
call fcn.00443860
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404d88
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a58
inc esi
dec edi
jne 0x42e0a6
mov al, byte [0x42e20c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42e218
mov eax, dword [ebp - 0xc]
call fcn.0040dd64
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404770
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.00443860
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42e208
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.00443860
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42e208
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, 0x42e208
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, 0x42e224
call fcn.00409e8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e1f8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004046fc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004046fc
lea eax, [ebp - 0x14]
call fcn.004046d8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004046fc
ret

Function at 0x43ddc0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43dd0c
call sub.user32.dll_EnumWindows
ret