joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c520
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00416cd0
test eax, eax
je 0x41c60f
mov ecx, edi
call fcn.00416cd0
mov ecx, eax
call fcn.00420a30
test eax, eax
jne 0x41c60f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41c60f
mov eax, dword [0x49e7e0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x41c582
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00416cd0
mov ecx, eax
call fcn.00420c60
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x41c60f
cmp ebx, eax
jne 0x41c60f
cmp dword [esp + 0x10], eax
jne 0x41c5f5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x42de20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x49ea28]
xor edx, edx
cmp eax, edx
jne 0x42de46
xor eax, eax
mov byte [eax + 0x49e928], al
inc eax
cmp eax, 0x100
jl 0x42de2e
mov dword [0x49ea28], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x49e928
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42ded7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42deaa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42de78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42df50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42dfa3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42df8a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435b80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46dd48
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x435bb9
inc eax
mov dword [esi + 0x10], eax
jmp 0x435ccc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x435bcd
mov eax, 0xffffffc7
jmp 0x435cce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x435bde
cmp dword [esi + 8], eax
jne 0x435bcd
cmp dword [esi + 8], eax
jne 0x435bf7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x435bf7
mov eax, 0xffffffc7
jmp 0x435cce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x435c0b
push eax
mov ecx, ebx
call fcn.004353b0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401060
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x435c3c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004010b0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434b20
test eax, eax
mov dword [esp + 0x38], eax
je 0x435c6f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x472148
call fcn.00401290
mov eax, dword [esp + 0x38]
jmp 0x435cce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004359e0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x435cb3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00435a00
mov esi, eax
test esi, esi
jne 0x435ce3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004359e0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435c85
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x472148
call fcn.00401290
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x472148
call fcn.00401290
mov eax, esi
jmp 0x435cce
Function at 0x756d5a
Capabilities:
Encrypt data using aes

Disassembly:
mov eax, edi
mov edi, dword [esp]
mov edx, dword [eax + 0xc]
jmp 0x729010
mov ecx, edx
lea edi, [ecx*4]
mov edi, 0xb80e8a34
jmp 0x756db5
lea esp, [esp + 4]
popal
jmp 0x756f08
mov word [esp], sp
jmp 0x756d41
and ecx, esi
sub esp, 0xe
push dword [esp + 0xc]
mov dword [esp + 5], ecx
jmp 0x756dc3
sub esp, 0xa
clc
stc
mov dword [esp + 3], eax
lea esp, [esp + 2]
jmp 0x756d86
shr ecx, 8
pushal
lea edi, reloc.kernel32.dll_GetCurrentProcessId
mov edi, edx
jmp 0x756d9c
lea esp, [esp + 2]
mov ecx, dword [ecx*4 + reloc.kernel32.dll_GetCurrentProcessId]
call 0x756dd4
cmp edi, edi
je 0x756dfb
add ah, byte [esi - 1]
je 0x756e00
add dword [ebp - reloc.kernel32.dll_GetCurrentProcessId], ecx
mov eax, 0x14000000
nop
push es
popal
nop
and al, 0x8d
sbb al, 0xe8
arpl word [ebp + 0xae9fffe], dx
and bh, ch
invalid
call fcn.00740356
jmp 0x729002
mov edi, 0xfa8b721b
jmp 0x756e06
cmc
pushal
pop word [esp + 3]
mov byte [esp + 5], ah
lea esp, [esp + 2]
jmp 0x756e54
and edx, esi
mov edx, dword [edx*4 + reloc.kernel32.dll_GetCurrentProcessId]
jmp 0x756e7e
shr edi, 0x18
pushal
mov byte [esp + 0x1b], dh
lea esp, [esp + 0x44]
jmp 0x756ecb
xor ecx, edi
sub esp, 0x18
clc
bsr di, bp
mov di, 0xd175
jmp 0x756ee4
movzx edi, byte [edi*4 + 0x733984]
push edx
pop word [esp]
add esp, 1
mov byte [esp], ch
lea esp, [esp + 1]
jmp 0x756eac
and edx, ebp
mov edi, dword [esp]
xor ecx, edx
and dx, 0xd93a
jmp 0x756fcf
lea edi, [edi + 0x1c]
mov dword [edi], edx
pop edi
lea esp, [esp + 0x40]
jmp 0x756dee
mov dword [edi], ecx
cmc
dec dx
jmp 0x756f71
inc dx
btr edx, esp
jmp 0x756f17
xor ecx, dword [eax]
mov dx, 0xadaf
add ebx, 4
stc
mov dl, dh
jmp 0x756f2f
mov edx, dword [eax + 4]
call fcn.00756f54
mov ecx, dword [eax + 8]
call fcn.00756fb6
insb byte es:[edi], dx
jmp [edi + 0xa]
lea esp, [esp + 0x18]
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
jmp 0x756f46

Function at 0x756df8
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x756e6f
xor ecx, edi
lea edi, [eax*4]
cmc
call fcn.00756dfa

Function at 0x75700f
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 4]
jne 0x729002
mov ebx, 0x3e31f000
jmp 0x756fe8

Function at 0x75746b
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 4]
popal
mov edx, dword [ecx]
pop ecx
jmp 0x757487
mov dword [esp + 0x1c], esi
jmp 0x757454
shr edi, 0x18
sub esp, 0x14
pop word [esp + 0xd]
lea esp, [esp + 2]
jmp 0x757492
mov edi, edx
sub esp, 0x1e
sub esp, 2
stc
jmp 0x757471
mov edi, dword [edi*4 + reloc.kernel32.dll_GetCurrentProcessId]
sub esp, 0x1a
stc
call fcn.00757513
adc byte [ecx], 0x81
loopne 0x7574ba
rol byte [edx + edx*4], cl
add byte [edi - 0x6e], ah
and edx, dword [ebx + reloc.kernel32.dll_GetCurrentProcessId]
bswap eax
call fcn.0075746b
Function at 0x757513
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
and ebx, ecx
lea esp, [esp + 0x4c]
xor edi, dword [ebx*4 + reloc.kernel32.dll_GetCurrentProcessId]
mov bx, word [esp]
jmp 0x7574fa
lea ecx, [ecx*4]
lea ecx, reloc.kernel32.dll_GetCurrentProcessId
mov edi, dword [ecx]
pop ecx
jmp 0x7574ba
and edi, ecx
push ecx
mov ecx, edi
jmp 0x7574d8
movzx ebx, byte [esi + 2]
push edx
push esp
jmp 0x75751d
mov dword [esp + 0x13], esi
lea esp, [esp + 2]
jmp 0x7574f3
mov ebx, dword [ebx*4 + reloc.kernel32.dll_GetCurrentProcessId]
sub esp, 0x1a
add esp, 5
push edx
lea esp, [esp + 0xb]
jmp 0x7577ae
lea esp, [esp + 2]
and ebx, ecx
call fcn.00757731

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

Disassembly:
and edi, ecx
pushal
mov word [esp + 0xc], di
jmp 0x757671

Function at 0x757731
Capabilities:
Encrypt data using aes

Disassembly:
lea edx, [ebx + edi]
mov dx, word [esp]
btr edx, edx
mov edx, dword [esp]
push ecx
jmp 0x75757d
push esp
push word [esp + 1]
lea esp, [esp + 2]
lea esp, [esp + 0xc]
xor edi, dword [edx*4 + reloc.kernel32.dll_GetCurrentProcessId]
jmp 0x757542
mov ecx, esi
lea ecx, [ecx + 4]
mov edx, dword [ecx]
pop ecx
jmp 0x7575aa
lea esi, [esi*4]
lea esi, reloc.kernel32.dll_GetCurrentProcessId
mov edx, dword [esi]
pop esi
and edx, ecx
jmp 0x757566
push edx
pop word [esp]
mov word [esp], bx
cmc
lea esp, [esp + 2]
jmp 0x75763f
pop word [esp + 3]
push esi
mov esi, edx
jmp 0x757596
mov dword [esi], edi
bswap edi
call fcn.007575f7
movzx ebx, byte [esi + 5]
and edx, ecx
sub esp, 0xc
pop word [esp + 3]
jmp 0x7575ca
lea esp, [esp + 0x18]
xor edi, dword [ebx*4 + reloc.kernel32.dll_GetCurrentProcessId]
jmp 0x75769c

Function at 0x75792e
Capabilities:
Encrypt data using aes

Disassembly:
movzx ebx, byte [esi + 0xa]
pushal
sub esp, 0x1c
lea esp, [esp + 1]
lea esp, [esp + 3]
jmp 0x7577ff
and ebx, ecx
lea esp, [esp + 0x40]
xor edi, dword [ebx*4 + reloc.kernel32.dll_GetCurrentProcessId]
not bx
jmp 0x7577b9
mov edi, dword [edi*4 + reloc.kernel32.dll_GetCurrentProcessId]
and edi, ecx
mov edi, dword [edi*4 + reloc.kernel32.dll_GetCurrentProcessId]
jmp 0x7577cf
mov ebx, dword [ebx*4 + reloc.kernel32.dll_GetCurrentProcessId]
sub esp, 0x14
call fcn.00757840
sub eax, 0xba4f28ba
jns fcn.00757822
lahf
punpckhdq mm3, qword [ecx + 0x66f06519]
add eax, esi
inc esp
insd dword es:[edi], dx
jl 0x757883
pushal
pushal
jmp 0x7577ed
xchg ebp, eax
test byte [ecx], bh
jae 0x757888
and edx, ecx
call fcn.0075785b
not di
inc bp
mov dword [esp + 8], esi
pushal
push word [esp + 0x17]
jmp 0x7578ac
add esp, 9
lea esp, [esp + 1]
lea esp, [esp + 0x18]
popal
jmp 0x757944
stc
mov ebx, dword [ebx*4 + reloc.kernel32.dll_GetCurrentProcessId]
push edx
call 0x75792e
call 0x426173bd
or byte [edi + 0x23897a1f], cl
cmpsb byte [esi], byte es:[edi]
and byte [esi - 0x2219df2f], dh
sub al, 0x3f
push es
mov cl, 0xb0
lea ebp, [ebp + 8]
mov dword [ebp], edi
pop ebp
lea edi, [ecx + edx]
mov di, 0xc001
jmp 0x75791f
Function at 0x7579e7
Capabilities:
Encrypt data using aes

Disassembly:
pop word [esp]
add esp, 1
lea esp, [esp + 1]
jmp 0x757acf
mov edx, dword [edx*4 + reloc.kernel32.dll_GetCurrentProcessId]
sub esp, 0x1a
lea esp, [esp + 2]
jmp 0x757a8e
and ebx, ecx
call fcn.00757a74
mov byte [esp], dh
and edx, ecx
lea esp, [esp + 4]
xor edi, dword [edx*4 + reloc.kernel32.dll_GetCurrentProcessId]
jmp 0x757ab4
pushal
lea esp, [esp + 0xf]
pushal
lea esp, [esp + 1]
jmp 0x757b84
mov ebx, dword [ebx*4 + reloc.kernel32.dll_GetCurrentProcessId]
cmc
and edx, ecx
sub esp, 0x14
jmp 0x7579f7
lea esp, [esp + 0x30]
dec dword [ebp - 4]
call fcn.00757b5c
aad 0x53
ret

Function at 0x80029e
Capabilities:
Access peb ldr_data

Disassembly:
push word [esp + 3]
call 0x80029e
imul ecx, dword [edi - reloc.kernel32.dll_GetCurrentProcessId], 0x23
add dword [eax], reloc.kernel32.dll_GetCurrentProcessId
int1
add dh, ah
aas
mov ebp, 0x24c7342d
or al, 0x9f
out 0x11, al
Function at 0x402a88
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.00404868
test esi, esi
jne 0x402abe
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.00404958
jmp 0x402adc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040299c
mov edi, eax
test esi, esi
je 0x402adc
cmp dword [ebx], 0
je 0x402adc
dec esi
jmp 0x402ac5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403904
Capabilities:
Query or enumerate registry value

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

Function at 0x404668
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c104c], 0
je 0x4046c9
cmp word [0x4c1220], 0xd7b2
jne 0x404691
cmp dword [0x4c1228], 0
jbe 0x404691
mov eax, 0x4c121c
call dword [0x4c1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4bb094
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 0x4046f0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4bb034], 0
jne 0x4046e5
push 0
push 0x4bb08c
push 0x4bb094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40481c
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.00402754
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4c104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4047e4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40684c
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 0x4068b2
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.00404ad8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004032e4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40689c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4068b9
lea eax, [ebp - 0x10]
call fcn.00404868
ret

Function at 0x40c054
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 0x40c08d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404958
jmp 0x40c096
mov eax, ebx
mov edx, esi
call fcn.004048bc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c748
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c5c0
mov eax, dword [0x4c0288]
cmp byte [eax], 0
je 0x40c7c4
mov eax, dword [0x4bfec0]
call fcn.00402f04
call fcn.004028bc
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.00409760
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 0x40c80c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c7fa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4bfe24]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c1668]
call fcn.00405d60
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 0x40d0cc
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 0x40d1a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404900
lea eax, [ebp - 8]
call fcn.00404d78
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d28
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d18c
mov eax, ebx
call fcn.00402754
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d185
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.00404d28
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d16f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d1b4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d16f
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 0x40d18c
mov eax, dword [ebp - 0x10]
call fcn.00402774
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d1a9
lea eax, [ebp - 8]
call fcn.00404868
ret

Function at 0x40d728
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 0x40d78c
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.00404ad8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409170
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d793
lea eax, [ebp - 0xc]
call fcn.00404868
ret

Function at 0x41ef40
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.0041ed6c
dec esi
jne 0x41ef62
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4200a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c188c
cmp dword [edi], 0
jne 0x420120
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c1888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4bb440
mov ecx, 2
call fcn.0040295c
mov edx, 0x42007c
lea eax, [esi + 5]
call fcn.0042009c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042009c
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 0x4200f5
mov dword [0x4c1888], 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 0x4216ec
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 0x4216f2
ret

Function at 0x423ca0
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 0x423cf1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423cd8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423cc8
jmp 0x423cf1
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 0x423cd9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ccbc
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.00404d18
xor eax, eax
push ebp
push 0x42cdea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42cdbd
xor eax, eax
push ebp
push 0x42cdb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b28
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42cd8b
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 0x42cd7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b28
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404d28
mov edx, ebx
pop ecx
call fcn.0040295c
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 0x42cd81
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4bfd4c]
mov dl, 1
mov eax, dword [0x407cdc]
call fcn.0040c8f0
call fcn.00404220
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cdf1
lea eax, [ebp - 4]
call fcn.00404868
ret