joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401443
pop dword [ebp - 0x18]
mov eax, 0x5148752a
add eax, 0xaef79f19
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x298b552
add dword [ebp - 0x28], 0x4bb98ff9
mov dword [ebp - 0x24], 0x43ec82b4
sub dword [ebp - 0x24], 0x11b9366f
mov dword [ebp - 0x20], 0x7abaa78e
add dword [ebp - 0x20], 0xd1919ca0
mov dword [ebp - 0x1c], 0x6ceb8099
add dword [ebp - 0x1c], 0x93147f67
lea eax, [ebp - 0x28]
push eax
mov eax, 0x84af1c2e
sub eax, 0x846e9b2a
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x665ff7c6
sub dword [ebp - 0x28], 0xf1ed8e70
mov dword [ebp - 0x24], 0x81962e9e
sub dword [ebp - 0x24], 0x4029cd29
mov dword [ebp - 0x20], 0x7e5110cc
add dword [ebp - 0x20], 0xe51e5ba0
mov dword [ebp - 0x1c], 0x38002930
add dword [ebp - 0x1c], 0xc7ffd6d0
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xbd4933ba
sub eax, 0xbd08b2ba
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x36032
push 0
call eax
mov ecx, 0xa6c50f97
sub ecx, 0xa6c4d0b4
xor esi, esi
add esi, eax
mov edi, 0x8de53b6c
sub edi, 0x8d9e576c
add edi, dword [ebp - 0x18]
mov ebx, 0x2f5258c0
sub dword [ebp - 0xc], 0xcce76b49
mov edx, dword [edi]
sub edx, ebx
sub dword [ebp - 0x10], esi
mov dword [esi], edx
xor dword [ebp - 4], eax
add esi, 4
add edi, 0x9fd7f48a
sub edi, 0x9fd7f486
loop 0x401561
add eax, 0x9992e455
add eax, 0x666e0a0a
mov ebx, eax
add eax, 0xcc05649a
add eax, 0x33fa9b6b
mov ecx, 0x1b4e9844
add ecx, 0xe4f167bc
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x10005879
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10005888
pop dword [ebp - 0x4c]
mov eax, 0x10005888
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x10186c24
sub dword [ebp - 0x5c], 0xc1c626d9
mov dword [ebp - 0x58], 0xae00e5f7
add dword [ebp - 0x58], 0x8432664e
mov dword [ebp - 0x54], 0x9b0970a1
add dword [ebp - 0x54], 0xb142d38d
mov dword [ebp - 0x50], 0x914d2397
add dword [ebp - 0x50], 0x6eb2dc69
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xbaef4416
sub eax, 0xaaebf2fe
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xecd2967a
sub dword [ebp - 0x5c], 0x78602d24
mov dword [ebp - 0x58], 0x692f1316
add dword [ebp - 0x58], 0xd83d4e5f
mov dword [ebp - 0x54], 0x34890c16
sub dword [ebp - 0x54], 0xd1199faa
mov dword [ebp - 0x50], 0xbd473164
sub dword [ebp - 0x50], 0xbd473164
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3e00d
push 0
call eax
mov ecx, 0x228c1bad
add ecx, 0xdd743810
mov esi, eax
mov edi, 0x10088400
add edi, dword [ebp - 0x4c]
mov edx, 0x7b968ca9
xor dword [ebp - 0x44], 0x4401e4ba
mov ebx, dword [edi]
add dword [ebp - 0x28], 0xed2a8285
xor ebx, edx
mov dword [esi], ebx
sub dword [ebp - 0x3c], ebx
add esi, 4
add edi, 0xe03f7726
sub edi, 0xe03f7722
loop 0x10005994
add eax, 0x180332a8
sub eax, 0x1801f0e1
xor ebx, ebx
add ebx, eax
add eax, 0xa06478fc
sub eax, 0xa06478f7
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x10005a23
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x24], 0
and dword [eax + 0x20], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x50e050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb7000]
push edi
jmp 0x50e06a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50e071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50e060
mov eax, 1
add ebx, ebx
jne 0x50e083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50e094
jne 0x50e0b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50e0b3
dec eax
add ebx, ebx
jne 0x50e0a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50e078
add ebx, ebx
jne 0x50e0af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50e105
xor ecx, ecx
sub eax, 3
jb 0x50e0cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50e13a
sar eax, 1
mov ebp, eax
jmp 0x50e0d6
add ebx, ebx
jne 0x50e0d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50e0a4
inc ecx
add ebx, ebx
jne 0x50e0e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50e0a4
add ebx, ebx
jne 0x50e0f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50e0e6
jne 0x50e102
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50e0e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50e124
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50e116
jmp 0x50e066
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50e124
add edi, ecx
jmp 0x50e066
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50e142
cmp byte [edi], 0x11
jne 0x50e142
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 0x50e147
lea edi, [esi + 0x107000]
mov eax, dword [edi]
or eax, eax
je 0x50e1bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1434f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x143670]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50e174
mov ecx, edi
jns 0x50e1a3
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 + 0x143674]
or eax, eax
je 0x50e1b9
mov dword [ebx], eax
add ebx, 4
jmp 0x50e191
call dword [esi + 0x143684]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x50e1f0
cmp al, 0xef
ja 0x50e1e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x50e1c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x50e1d2
mov ebp, dword [esi + 0x143678]
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 0x50e224
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x6d6d2e7e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x6d6d2e8d
pop dword [ebp - 0x30]
mov eax, 0x6d6d2e8d
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xbbe33041
sub dword [ebp - 0x40], 0x6d90eaf6
mov dword [ebp - 0x3c], 0x4b1b2aaa
add dword [ebp - 0x3c], 0xe718219b
mov dword [ebp - 0x38], 0xb961cf30
add dword [ebp - 0x38], 0x92ea74fe
mov dword [ebp - 0x34], 0xad832f34
sub dword [ebp - 0x34], 0xad832f34
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x9b60a45a
add dword [ebp - 0x40], 0xd911c4fc
mov dword [ebp - 0x3c], 0x4ef234c2
sub dword [ebp - 0x3c], 0xd85d34d
mov dword [ebp - 0x38], 0x820a41ef
sub dword [ebp - 0x38], 0x1e9ad583
mov dword [ebp - 0x34], 0xf194993f
sub dword [ebp - 0x34], 0xf194993f
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xb2bc1d4d
sub eax, 0x454edcd9
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3417f
push 0
call eax
mov ecx, 0x3e1b
xor edx, edx
add edx, eax
mov ebx, 0x6d6d9600
add ebx, dword [ebp - 0x30]
mov esi, 0x915bd0e3
sub esi, 0x6df715ab
sub dword [ebp - 0x14], 0xe06732c4
mov edi, dword [ebx]
xor dword [ebp - 0x20], esi
add edi, esi
sub dword [ebp - 0x20], 0xa2a917ed
mov dword [edx], edi
add edx, 0x6d0ed195
add edx, 0x92f12e6f
add ebx, 0x92278620
add ebx, 0x6dd879e4
loop 0x6d6d2f9b
add eax, 0xeb3f
mov ebx, eax
add eax, 0x353caab6
sub eax, 0x353caab1
mov ecx, 0xbe0e6926
add ecx, 0xaf5e96da
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x10003cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10003d48
cmp byte [esi + ebx - 1], 0xa
je 0x10003d1c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10005360], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x401034
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push str.clear
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edi, 0x82
pop ecx
mov dword [ebp - 0xc], edi
mov esi, edi
push str.__nX.
call fcn.00401006
pop ecx
sub esi, 1
jne 0x401052
push ebx
push 0x402124
call fcn.00401006
xor ebx, ebx
pop ecx
mov dword [ebp - 8], ebx
push 0x402128
call fcn.00401006
mov esi, ebx
mov al, bl
shr esi, 3
and al, 7
shl esi, 7
mov edi, 0x80
pop ecx
mov byte [ebp - 1], al
add esi, 0x404400
mov bl, al
mov al, byte [esi]
mov cl, bl
shr al, cl
mov ecx, 0x402130
test al, 1
mov eax, 0x40212c
cmove eax, ecx
push eax
call fcn.00401006
inc esi
pop ecx
sub edi, 1
jne 0x40109a
push 0x402128
call fcn.00401006
mov esi, 0x402124
push esi
call fcn.00401006
mov ebx, dword [ebp - 8]
inc ebx
mov dword [ebp - 8], ebx
pop ecx
pop ecx
cmp ebx, 0x40
jl 0x401073
mov edi, dword [ebp - 0xc]
pop ebx
push str.__nX.
call fcn.00401006
pop ecx
sub edi, 1
jne 0x4010e3
push esi
call fcn.00401006
pop ecx
pop edi
pop esi
leave
ret

Function at 0x4019a8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4019e7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019e7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019e7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019e7
cmp dword [ecx + 0x74], 0xe
jbe 0x4019e7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xcc2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xcc21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcc207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcc206a
add dl, dl
jne 0xcc2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcc20dc
xor eax, eax
add dl, dl
jne 0xcc2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcc217d
add dl, dl
jne 0xcc20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcc20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcc2075
mov eax, 1
add dl, dl
jne 0xcc20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcc20e1
sub eax, ebx
mov ebx, 1
jne 0xcc2128
mov ecx, 1
add dl, dl
jne 0xcc210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcc2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcc2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcc2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcc213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcc214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcc2136
cmp eax, 0x7d00
jae 0xcc216d
cmp eax, 0x500
jb 0xcc2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcc2075
cmp eax, 0x7f
ja 0xcc2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcc2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcc219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xcc2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402f74
Capabilities:
Query or enumerate registry value

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

Function at 0x403cd0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x460044], 0
je 0x403d31
cmp word [0x460218], 0xd7b2
jne 0x403cf9
cmp dword [0x460220], 0
jbe 0x403cf9
mov eax, 0x460214
call dword [0x460230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45e06c
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 0x403d58
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45e030], 0
jne 0x403d4d
push 0
push 0x45e064
push 0x45e06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405a00
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 0x405a66
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.004040bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a50
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a6d
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

Function at 0x40aae4
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 0x40ab1d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f3c
jmp 0x40ab26
mov eax, ebx
mov edx, esi
call fcn.00403ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b1d8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b050
mov eax, dword [0x45f148]
cmp byte [eax], 0
je 0x40b254
mov eax, dword [0x45ef6c]
call fcn.004029a4
call fcn.00402824
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.00408358
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 0x40b29c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b28a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45ef14]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x460660]
call fcn.00404f14
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 0x40baf0
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 0x40bbc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee4
lea eax, [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bbb0
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bba9
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.0040430c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bb93
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bbd8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb93
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 0x40bbb0
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bbcd
lea eax, [ebp - 8]
call fcn.00403e4c
ret

Function at 0x40c0d8
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 0x40c13c
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.004040bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407ea0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c143
lea eax, [ebp - 0xc]
call fcn.00403e4c
ret

Function at 0x41a3c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x460880
cmp dword [edi], 0
jne 0x41a43c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46087c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45e3ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a398
lea eax, [esi + 5]
call fcn.0041a3b8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a3b8
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 0x41a411
mov dword [0x46087c], 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 0x41b9b8
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 0x41b9be
ret
Function at 0x41df48
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 0x41df99
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41df80
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41df70
jmp 0x41df99
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 0x41df81
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426a90
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.004042fc
xor eax, eax
push ebp
push 0x426bbe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x426b91
xor eax, eax
push ebp
push 0x426b8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040410c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x426b5f
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 0x426b4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040410c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040430c
mov edx, ebx
pop ecx
call fcn.004028b8
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 0x426b55
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x45eec0]
mov dl, 1
mov eax, dword [0x406d78]
call fcn.0040b35c
call fcn.00403888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426bc5
lea eax, [ebp - 4]
call fcn.00403e4c
ret