joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455c40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x473bb0]
cmp dword [eax + 0x30], 0
je 0x455cea
cmp dword [ebx + 0x94], 0
jne 0x455ce4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455bd0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455ce4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x455caa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455ce4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413fe4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455cb9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45684c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x456881
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x45688e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457988
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4579c9
mov eax, esi
call fcn.0043e088
test al, al
je 0x4579c9
mov eax, dword [ebx + 0x84]
call fcn.0043dd84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4579c9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043dd84
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45b090
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45b0be
mov eax, ebx
call fcn.0045bb44
cmp dword [ebx + 0x40], 0
je 0x45b0b7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45b12f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45b121
cmp dword [ebx + 8], 0
je 0x45b0e0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45b0f2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45b121
cmp dword [ebx + 8], 0
je 0x45b0d3
cmp eax, 3
je 0x45b105
dec eax
jne 0x45b0d3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45b0d3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45b0d3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45b14d
cmp dword [ebx + 0x14], 0xcc
je 0x45b14d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045b158
pop ebx
ret
Function at 0x401439
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409050]
jne 0x401443
repz ret
jmp fcn.004028ea

Function at 0x40336b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x409050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004021c2
and dword [ebp - 0x14], 0
cmp dword [0x40a744], 0
mov dword [ebp - 0x18], eax
jne 0x40341e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4034c6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x406cc0
push ebx
call edi
test eax, eax
je 0x4034c6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40a744], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40a748], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40a74c], eax
call edi
push eax
call esi
mov dword [0x40a754], eax
test eax, eax
je 0x40341e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40a750], eax
mov eax, dword [0x40a750]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403477
cmp dword [0x40a754], ecx
je 0x403477
push eax
call esi
push dword [0x40a754]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403477
test ebx, ebx
je 0x403477
call edi
test eax, eax
je 0x40346e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40346e
test byte [ebp - 8], 1
jne 0x403477
or dword [ebp + 0x10], 0x200000
jmp 0x4034aa
mov eax, dword [0x40a748]
cmp eax, dword [ebp - 0x18]
je 0x4034aa
push eax
call esi
test eax, eax
je 0x4034aa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4034aa
mov eax, dword [0x40a74c]
cmp eax, dword [ebp - 0x18]
je 0x4034aa
push eax
call esi
test eax, eax
je 0x4034aa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40a744]
call esi
test eax, eax
je 0x4034c6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4034c8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401439
leave
ret
Function at 0x100019da
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor al, byte [edx]
mov word [esp], bp
inc edx
jmp 0x1002196c
jmp 0x100235bc
setno cl
neg cx
rcr cx, 0xb
stc
mov ecx, eax
pushal
clc
shl eax, 7
stc
pushal
shr ecx, 0x19
cmp cl, 0xf5
jmp 0x1000a5be
dec dword [ebp]
mov byte [esp], ah
lea esp, [esp + 0x44]
jne 0x1001467e
call fcn.1001af98

Function at 0x100079dc
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x100079fe
mov eax, 0xfffffffd
jmp 0x10007adb
mov ebx, dword [0x10030f6b]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10007aa9
mov ebx, dword [0x10030f6b]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10007a4d
mov ebx, dword [0x10030f6b]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10007a4d
mov eax, 1
jmp 0x10007a4f
xor eax, eax
test eax, eax
je 0x10007a7b
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10007a64
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10030f6b]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10007ad1
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10007adb
mov esp, ebp
pop ebp
ret 4

Function at 0x10029617
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret

Function at 0x100481eb
Capabilities:
Packed with generic packer

Disassembly:
jl 0x10048e40
pushal
nop
jmp 0x101054db
mov ch, 0x73
rcl dword [0x2404c69c]
push ebp
pushfd
mov dword [esp + 4], 0x8ab7b087
pushfd
push esp
pushfd
pushfd
lea esp, [esp + 0x14]
jmp fcn.10022683
jmp dword [esi - 0x39]
push edi
pushal
mov dword [esp + 0x40], edi
movzx di, bl
mov edi, 0x1001124d
pushfd
push ecx
call fcn.10102fa4
dec esp
in al, 0x26
dec esp
pop esp
jb 0x1010548b
add byte [eax + 0x7878f232], bl
fiadd word [esi + 0x26aaa018]
push esp
pop esp
jbe 0x10105577
stosb byte es:[edi], al
inc ebx
xchg ebp, eax
pop ds
pop es
xor ecx, esp
sub eax, 0xf567a64c
jae 0x10105536
jg 0x101054b1
jo 0x10105571
xchg dword [edx - 0x36], ecx
inc ecx
pop ebp
and eax, 0x2bd182f
popfd
cmp esi, dword [esi - 0x3763f1a2]
push edi
scasb al, byte es:[edi]
cmp al, cl
push esi
and ah, byte [ebp - 0x1ea3799]
ret 0xbc48
adc eax, 0xbc48c2fe
leave
aad 0x2c
aam 0x97
cmp al, 0x18
std
inc edx
adc edi, edi
movsd dword es:[edi], dword [esi]
mov ebx, 0x1c97f30b
add al, 0xf2
xor dword [eax - 0x312a4bf6], edi
ucomiss xmm5, dword [esi]
nop
call 0x32dff07e
aam 0xca
nop
cmpsb byte [esi], byte es:[edi]
pop esp
retf 0x6820
sub al, 0x78
mov cl, 0x55
fdiv qword [esi - 0x389fcb7a]
inc esp
and al, 0x1c
adc eax, 0x89608a74
pop esp
and al, 8
xchg byte [eax], dh
Function at 0x1004a083
Capabilities:
Encode data using xor

Disassembly:
pushfd
mov dword [esp + 0x10], eax
mov byte [esp], bl
mov byte [esp + 8], 0x5b
not ah
mov eax, dword [esp + 0x14]
pushal
pushfd
push edi
lea eax, [eax + 1]
jmp 0x100a9088
mov word [esp], ax
mov word [esp + 4], 0x1828
mov dword [esp + 0x3c], eax
not al
mov eax, 0x10026744
push dword [esp + 8]
jmp 0x100ff163
push edx
mov eax, dword [eax + 0x5d03b]
call fcn.10057adf
xlatb
cmp esi, dword [edi]
in al, dx
xor al, 0xdf
dec ebx
jae 0x100ff174
fisttp word [ebx + 0x73]
cld
push 0x17
mov ah, 0x2c
sbb eax, dword [edi - 0x39]
adc byte [edi - 0x65], 0xea
out 0x50, al
cmp dword [edx], edx
pop eax
sub al, 0x1b
inc edi
mov dword [eax - 0x191564a9], 0x58123950
mov esi, 0x1fd7473
push ds
movsb byte es:[edi], byte [esi]
xor ebp, dword [ebx - 0x7bd84b79]
jbe 0x100ff17b
adc ebx, dword [ebp + 0x2a9935d3]
invalid

Function at 0x1009332e
Capabilities:
Encode data using xor

Disassembly:
pushfd
nop
lea edi, [edx + 0x948aad7]
xchg dword [esp + 4], esi
lea edi, [esi - 0x72f4e715]
bswap di
push ecx
mov esi, dword [esp + 0xc]
pushfd
lea esi, [esi + 1]
not di
movsx di, bl
mov di, 0xfac3
jmp 0x100d40a1
movzx di, cl
mov esi, dword [esi + 0x9ef6d]
movsx di, bl
bswap di
lea esi, [esi + 0x431dd4d0]
not edi
mov edi, esi
bswap si
pop esi
push ecx
pushal
push dword [esp + 0x24]
ret 0x28
mov dword [esp + 0x10], esi
xchg di, si
push 0xfe4ae4ee
bswap si
mov esi, 0x100079f5
push 0x49617905
push 0x2cbc68b6
lea edi, [ecx - 0x4191cb44]
lea esp, [esp + 0x18]
jg 0x100a419f
mov esi, dword [esi + 0x9ef6d]
call fcn.100d7279
xor ebp, dword [esi - 4]
push es
jbe 0x100d40cf
adc eax, 0x1fdb903a
push esi
fist word [0xcf6fa238]
pop esp
lcall 0xac3a, 0x415805e9
wait
xor al, 0xab
aam 0xc5
int3

Function at 0x100bea79
Capabilities:
Encode data using xor

Disassembly:
xchg dword [esp + 0x10], ebx
pushal
not bh
mov ebx, 0x1002d41f
mov byte [esp], bl
jmp 0x10058dc4
Function at 0x1011162b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushfd
lea esp, [esp + 0x2c]
jne 0x1011385c
bt dx, 0xc
bsf di, di
shrd edi, ebp, cl
lea edi, [edx + 0x7c5c08ba]
mov edi, dword [edx + 0x24]
test cl, bh
add edi, eax
cmp ah, dh
movzx ecx, word [edi + ecx*2]
bts di, sp
push 0xb21b1186
mov edi, dword [edx + 0x1c]
test bh, dh
add edi, eax
bt bp, ax
clc
jmp 0x1011baba
mov dword [esp], edx
mov edi, dword [edi + ecx*4]
bt si, bp
clc
clc
test edi, edi
jmp 0x1011a8f4
Function at 0x402a4c
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.00404738
test esi, esi
jne 0x402a82
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.00404828
jmp 0x402aa0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402960
mov edi, eax
test esi, esi
je 0x402aa0
cmp dword [ebx], 0
je 0x402aa0
dec esi
jmp 0x402a89
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403860
Capabilities:
Query or enumerate registry value

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

Function at 0x4045bc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x492048], 0
je 0x40461d
cmp word [0x49221c], 0xd7b2
jne 0x4045e5
cmp dword [0x492224], 0
jbe 0x4045e5
mov eax, 0x492218
call dword [0x492234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x490074
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 0x404644
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x490034], 0
jne 0x404639
push 0
push 0x49006c
push 0x490074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406344
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 0x4063aa
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.004049a8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004032c8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406394
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4063b1
lea eax, [ebp - 0x10]
call fcn.00404738
ret

Function at 0x40bbac
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 0x40bbe5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404828
jmp 0x40bbee
mov eax, ebx
mov edx, esi
call fcn.0040478c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c2a0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c118
mov eax, dword [0x491c6c]
cmp byte [eax], 0
je 0x40c31c
mov eax, dword [0x491a34]
call fcn.00402ec8
call fcn.0040288c
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.004091fc
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 0x40c364
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c352
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4919dc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x492664]
call fcn.00405858
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 0x40cbb8
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 0x40cc8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004047d0
lea eax, [ebp - 8]
call fcn.00404c48
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404bf8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cc78
mov eax, ebx
call fcn.00402724
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cc71
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.00404bf8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cc5b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cca0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cc5b
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 0x40cc78
mov eax, dword [ebp - 0x10]
call fcn.00402744
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc95
lea eax, [ebp - 8]
call fcn.00404738
ret

Function at 0x40d218
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 0x40d27c
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.004049a8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408bc0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d283
lea eax, [ebp - 0xc]
call fcn.00404738
ret

Function at 0x41b644
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x492884
cmp dword [edi], 0
jne 0x41b6c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x492880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x490474
mov ecx, 2
call fcn.00402920
mov edx, 0x41b61c
lea eax, [esi + 5]
call fcn.0041b63c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b63c
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 0x41b695
mov dword [0x492880], 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 0x41cc84
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 0x41cc8a
ret
Function at 0x41f32c
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 0x41f37d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41f364
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41f354
jmp 0x41f37d
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 0x41f365
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429400
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.00404be8
xor eax, eax
push ebp
push 0x42952e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x429501
xor eax, eax
push ebp
push 0x4294fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004049f8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4294cf
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 0x4294be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004049f8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404bf8
mov edx, ebx
pop ecx
call fcn.00402920
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 0x4294c5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x491968]
mov dl, 1
mov eax, dword [0x407894]
call fcn.0040c424
call fcn.00404174
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429535
lea eax, [ebp - 4]
call fcn.00404738
ret
Function at 0x42953c
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 0x4296ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404de8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x429704
call fcn.00404a44
mov eax, ebx
call fcn.0041abd8
mov edi, eax
dec edi
test edi, edi
jl 0x4295f4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041abac
mov edx, dword [0x435568]
call fcn.00403b74
test al, al
je 0x4295f0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041abac
lea edx, [ebp - 0x14]
call fcn.004419fc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404de8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ab8
inc esi
dec edi
jne 0x4295a2
mov al, byte [0x429708]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x429714
mov eax, dword [ebp - 0xc]
call fcn.0040d7f0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004047d0
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.004419fc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x429704
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.004419fc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x429704
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, 0x429704
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, 0x429720
call fcn.004098d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4296f4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040475c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040475c
lea eax, [ebp - 0x14]
call fcn.00404738
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040475c
ret