joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035080
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10061373
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100554e1
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1005ab49
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1005c065
test eax, eax
je 0x1003519c
mov ecx, dword [esp + 0x3c]
call fcn.1005ab76
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10035160
push edi
mov ecx, esi
call fcn.100581c0
mov ecx, esi
call fcn.10035300
cmp dword [esp + 0x38], 1
jne 0x10035195
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.100582fb
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x10037bc0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10037bf3
push esi
call fcn.1003acb0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10037bec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10037c79
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10037c62
mov eax, dword [esi + 8]
test eax, eax
je 0x10037c17
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10037c5e
cmp eax, 2
je 0x10037c62
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10037c0a
cmp eax, 3
je 0x10037c3d
cmp eax, 1
jne 0x10037c0a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10037c0a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10037c0a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10037ca0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10037c88
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10037ca0
add esp, 4
pop esi
ret

Function at 0x100562bd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100562f5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1005438e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10054366
jmp 0x10056301
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100579ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100579f0
call fcn.1005d34a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100579f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100579e7
xor eax, eax
jmp 0x100579f8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100579fe
pop edi
pop esi
pop ebx
ret 4
Function at 0x438783
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00438933
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x438881
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x438824
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x438867
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x43883b
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x438856
test al, 0x40
je 0x43884d
mov ecx, dword [edi + 0x20]
jmp 0x438854
test al, 0x80
je 0x438867
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x438867
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4387f3
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x5f6b50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a0000]
push edi
jmp 0x5f6b6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f6b71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f6b60
mov eax, 1
add ebx, ebx
jne 0x5f6b83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f6b94
jne 0x5f6bb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f6bb3
dec eax
add ebx, ebx
jne 0x5f6ba0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5f6b78
add ebx, ebx
jne 0x5f6baf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5f6c05
xor ecx, ecx
sub eax, 3
jb 0x5f6bcb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f6c3a
sar eax, 1
mov ebp, eax
jmp 0x5f6bd6
add ebx, ebx
jne 0x5f6bd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f6ba4
inc ecx
add ebx, ebx
jne 0x5f6be4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f6ba4
add ebx, ebx
jne 0x5f6bf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f6be6
jne 0x5f6c02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f6be6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f6c24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f6c16
jmp 0x5f6b66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f6c24
add edi, ecx
jmp 0x5f6b66
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f6c42
cmp byte [edi], 0x11
jne 0x5f6c42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5f6c47
lea edi, [esi + 0x1ef000]
mov eax, dword [edi]
or eax, eax
je 0x5f6cbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3148cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x314a48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f6c74
mov ecx, edi
jns 0x5f6ca3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x314a4c]
or eax, eax
je 0x5f6cb9
mov dword [ebx], eax
add ebx, 4
jmp 0x5f6c91
call dword [esi + 0x314a5c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5f6cf0
cmp al, 0xef
ja 0x5f6ce3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5f6cc5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5f6cd2
mov ebp, dword [esi + 0x314a50]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5f6d24
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x4af289
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add edx, eax
push dword [esp + 4]
pushfd
push 0x761db104
pushal
lea esp, [esp + 0x3c]
jmp 0x4b7d68

Function at 0x4b29ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
bts ax, 0xd
mov dword [esp + 0x1c], ebp
btc ax, 7

Function at 0x4b3ca8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
jmp 0x4b8677
add edx, eax
push 0x5cbd839e
push dword [esp + 4]
mov byte [esp + 8], dh
lea esp, [esp + 0xc]
jmp 0x4b7d68
bt di, cx
pushfd
imul edx, edx, 0xa
jmp 0x4b2fc7
lea esp, [esp + 8]
je 0x4b890d
pushfd
clc
mov byte [esp], 0x63
clc
sub al, 0x30
cmc
cmp al, 9
mov byte [esp], 0x35
push dword [esp]
push esp
jmp 0x4b8eaf
lea esp, [esp + 0xc]
ja 0x4b2bc8
pushal
bt esi, 0x1f
lea esp, [esp + 0x20]
jae 0x4b3b08
imul edx, edx, 0xa
jmp 0x4b0ff0

Function at 0x4b5f8c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4b90a4
clc
movzx ecx, word [edi + ecx*2]
add esp, 0x28
bsf di, di
mov edi, dword [edx + 0x1c]
test sp, si
cmc
add edi, eax
jp 0x4b1373
test dh, 0xc2
mov edi, dword [edi + ecx*4]
call fcn.004b900e
add byte [eax], al
pop edi
pop edi
jbe fcn.004b601a
popal
push esi
popal
jb 0x4b600a
jne 0x4b602b
add byte [eax], al
add byte [edi + 0x5f], bl
jbe 0x4b6028
popal
inc ecx
jb 0x4b6043
push esi
popal
jb fcn.004b5fce
add byte [ebp + ecx*4 + 0xf282464], bl
test esi, eax
scasb al, byte es:[edi]
invalid
jne 0x4b0ed6
pushal
lea esp, [esp + 0x20]
jmp 0x4af21c
inc ebp
aaa
xor dword [edi], edx
pop ss
scasb al, byte es:[edi]
cmp al, bl
fidivr dword [edi + esi*4 - 0x2b]
out dx, eax
xchg esp, eax
xor al, byte [edx]
mov byte [0x2a6836d8], al
pop esi
add edi, dword [ecx + eax*8]
aad 0xd9
cmc
mov al, byte [0x240f9995]
push esp
cmpsb byte [esi], byte es:[edi]
rcl eax, 0x49
jb 0x4b6081
or al, 0xce
movsd dword es:[edi], dword [esi]
sbb cl, ch
invalid
mov ebx, 0x949077a6
mov dh, 0xdb
jecxz 0x4b6004
add al, 0x48
pop edi
add dword [edx], eax
and eax, 0xae4362c4
out 0x8c, al
xchg ebx, eax
dec ebp
ret
pop eax
or bl, ch
test al, 0x94
xchg ebp, eax
cwde
jge 0x4b6065
shr dword es:[eax - 0x40], cl
mov bh, 8
into
mov ah, 0x2a
bts edi, eax
sbb dl, byte [0x7e52bc17]
test byte [esp - 0x7e], 0x7e
in al, dx
imul edi, dword [ebx], 0x4dca956a
inc edx
aad 0x5d
inc ecx
jne 0x4b6111
inc ecx
mov al, 0xb8
xlatb
sbb bl, dh
lea eax, [ebx - 0x6266c4f]
in al, 0x47
int1
sub al, byte [edx - 0x17a061af]
and ebx, 0xffffffa5
lodsb al, byte [esi]
retf
pop ebx
enter 0x139b, 0xffffffffffffffce
sub dword [edx], 0x1b
push cs
add al, 0xe0
xchg edi, eax
mov byte [0x1009167b], al
cld
dec edx
insd dword es:[edi], dx
aaa
imul esi, dword es:[edi + edi*4], 0x6350e921
invalid
Function at 0x4b879a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
clc
imul edx, edx, 0xa
pushal
add edx, eax
push 0xf197a3f0
push dword [esp]
lea esp, [esp + 0x28]
jmp 0x4b7d68
mov edi, dword [edx + 0x1c]
bt ebp, esp
test ah, bh
stc
add edi, eax
mov byte [esp], ch
clc
pushal
mov edi, dword [edi + ecx*4]
stc
mov byte [esp], dh
cmp cx, 0x148a
pushfd
test edi, edi
call fcn.004af521
fcomi st(5)
loopne 0x4b7eed
stc
dec ecx
rcl byte [eax - 0x31]
dec ebp
int 0xc8
lds edi, [esi]
cmp dh, byte [edx + esi*4 - 0x60dbd110]
lahf
ror byte [edi + edx + 0x57], 1
fld xword [edx - 0x3be61756]
add dh, byte [0xb5bf4387]
scasb al, byte es:[edi]
sub ebp, dword [ebx]
and eax, 0xa3ced51f
scasb al, byte es:[edi]
test al, 0x7b
jne 0x4b7e9a
sbb byte [esi - 0x528c0bff], ch
or byte [ecx], al
ret
movzx ecx, word [edi + ecx*2]
sar di, 9
bts di, 1
jmp 0x4b7eb5

Function at 0x408937
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
add ecx, ecx
and edx, edx
call fcn.00408979
xor dword [esi], eax
sub edx, 1
add edx, 0x6434162d
add esi, 1
mov ecx, 0x9ca4f752
push 0xe2e24fd1
pop ecx
cmp esi, edi
jne fcn.00408937
ret
Function at 0x402924
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402953
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c2c
jmp 0x402971
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0040284c
mov edi, eax
test ebx, ebx
je 0x402971
cmp dword [esi], 0
je 0x402971
dec ebx
jmp 0x40295a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402cd8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402d70
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402d50
xor eax, eax
push ebp
push 0x402d49
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 0x402d8c
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 0x402d50
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x405540
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4056fc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4055a1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405718
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405613
xor eax, eax
push ebp
push 0x40560c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00405398
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4055f5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405738
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405613
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4056f4
cmp byte [ebp - 0xd], 0
jne 0x405655
cmp byte [ebp - 0x12], 0
je 0x4056f4
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40566e
dec ebx
cmp byte [ebx], 0x2e
je 0x40567d
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40566d
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4056f4
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4056aa
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4056f4
cmp byte [ebp - 0xd], 0
je 0x4056f4
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4056f4
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40abe4
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 0x40ac1d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c2c
jmp 0x40ac26
mov eax, ebx
mov edx, esi
call fcn.00403b98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ac30
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 0x40ac51
mov al, byte [esp]
jmp 0x40ac53
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x418ee8
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 0x418eee
ret

Function at 0x41b3cc
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 0x41b41d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41b404
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41b3f4
jmp 0x41b41d
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 0x41b405
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a534
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42a588
mov eax, dword [0x47ba38]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42a560
push ebx
push 0x42a590
call fcn.00445480
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x42a584
mov ecx, dword [0x47b80c]
mov dl, 1
mov eax, dword [0x407594]
call fcn.0040b434
call fcn.004035f8
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x42a5b0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a534
xor edx, edx
push ebp
push 0x42a652
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42a625
mov edx, ebx
mov eax, dword [0x4189bc]
call fcn.0041cbac
test al, al
je 0x42a615
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041cabc
call fcn.00403698
jmp 0x42a659
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42a5e0
mov ecx, dword [0x47b870]
mov dl, 1
mov eax, dword [0x407594]
call fcn.0040b434
call fcn.004035f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a659
mov eax, dword [ebp - 4]
call fcn.0042a508
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42a660
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a534
xor eax, eax
push ebp
push 0x42a6b8
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a6bf
mov eax, dword [ebp - 4]
call fcn.0042a508
ret

Function at 0x42a6c8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a534
xor edx, edx
push ebp
push 0x42a71d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a724
mov eax, dword [ebp - 4]
call fcn.0042a508
ret
Function at 0x42a794
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a534
xor eax, eax
push ebp
push 0x42a809
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042a4ec
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041cb80
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42a7f3
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a810
mov eax, dword [ebp - 4]
call fcn.0042a508
ret

Function at 0x42a818
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a534
xor eax, eax
push ebp
push 0x42a88d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042a4ec
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42a877
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a894
mov eax, dword [ebp - 4]
call fcn.0042a508
ret

Function at 0x42a8e8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a534
xor eax, eax
push ebp
push 0x42a92c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a933
mov eax, dword [ebp - 4]
call fcn.0042a508
ret