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

Disassembly:
mov dl, ch
push ss
jno 0x4a758a
push 0x44
test al, 0x4c
inc ecx
wait
or ah, byte [eax + edx + 7]
push ds
xor byte [eax + 0x40], ch
pop ss
scasd eax, dword es:[edi]
test al, 0x34
push 0x75
or byte [ebx + 2], 0x64
shl dword [ebx - 0x80], cl
inc ebp
stosd dword es:[edi], eax
lcall 0xab75, 0xe042e613
xchg cx, ax
mov ch, 0x82
add al, 0x39
mov ah, 0xf
in eax, dx
sub al, 0x2e
int 0xeb
xor dh, byte [ecx + 0xb9edd60]
pop esi
aam 0x60
pushal
dec esi
and al, 0x18
push ebx
inc ebx
xchg esi, eax
loope 0x4a75b6
xchg byte [eax], bl
invalid
xchg edi, eax
and al, 0x48
mov ss, word [0x2e35920c]
dec esi
sub byte [eax + 0x35], dh
fstp qword [eax - 0x46]
adc byte [esi + 0x71], ah
and al, 0x11
or ah, byte [ebp + 0x27]
xor eax, 0x10ba58dd
jno 0x4a75ee
adc dword [edx], ecx
daa
leave
and eax, 0xe82da465
jb 0x4a75c2
movsb byte es:[edi], byte [esi]
sub eax, 0xe9ec72e8
jecxz 0x4a75ed
jmp 0x1b5d8abe
adc ebx, dword [ebx]
rol ebp, 1
or bh, 0x17
or ecx, dword [eax + 0xf9520e7]
iretd
shl ch, 0x10
in eax, 0x10
arpl word [eax + 0x685f12d4], sp
out 0x74, al
rol byte [ebx - 0xa], 0x92
loope 0x4a75d1
pushal
dec edx
xor byte [edx], dl
inc ebp
mov al, byte [0x63514485]
sbb byte [ecx], bl
or eax, dword [eax + 0x13]
xor al, byte [esi]
jecxz 0x4a75c7
dec eax
sub al, byte [eax + 0x16]
mov eax, 0xf4593dcc

Function at 0x4a8d93
Capabilities:
Encode data using xor

Disassembly:
js 0x4a8e14
das
enter 0x7e06, 0xfffffffffffffffd
xor byte [edi + 0x61a3a484], bl
mov edx, 0xe4c18c17
or edi, dword [esi + 0x7d]
invalid
popal
xor eax, 0xee17db67
cli
dec esp
cmp dword [esi + 0x50c02446], ecx
push eax
Function at 0x4b1e00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
inc esp
or dword [ecx + 0x740d7ca1], ebp
and bl, ah
lcall 0x7cd4, 0x78d25227
fimul word [ebp + 0x352134a2]
dec esi
pop esi
lea ebp, [ebp - 0x27]
inc esp
aam 0x1a
push 0x70
cmp al, 0x54
xor dword [eax + 0x244ee99d], 0x8352f2e2
and bl, byte [eax + 0x529399b3]
pop edx
and esi, eax
xchg ecx, eax
sub al, 0xa4
invalid
dec ebp
and al, 0xbc
dec ecx
mov bh, byte [ebp + 0x66]
xor eax, 0x52b5a50e
sbb bl, byte [eax]
fist dword [ebx + ebx - 0x1cecad37]
xchg ecx, eax
add ebp, esp
xor dword [ecx + 0x466abc91], ebp
in eax, 0x4d
push ecx
imul ebp, dword [ecx - 0x46bc4347], 0xffffff91
and eax, 0x6678fb35
adc al, 0x5d
and al, 0x9e
and al, 0xb5
dec edx
lcall 0x4e29, 0x3492af14
and ecx, dword [edx]
pop edi
jge 0x4b1dc6
jnp 0x4b1e91
shr dword [edx + 0x28e9f9dc], cl
push es
pop es
aaa
and esi, ecx
xchg esp, eax
ror dword gs:[edi], 0x93
mov esp, 0x104e0644
test dword [edi], esp
pop ds
in eax, dx
cmpsb byte [esi], byte es:[edi]
inc esp
push es
dec esi
adc byte [ebp - 0x5912e0d9], al
push eax
sar dword [esi - 0x55a95007], cl
jg 0x4b1eb7
sbb dh, bh
add bl, byte [ecx - 0x36]
xchg ebp, eax
lodsb al, byte [esi]
or bh, byte [esi - 0x1b29d408]
aam 0x36
std
adc eax, 0x52efe8bd
pushal
dec edx
or ecx, dword [eax + 0x24]
wait
rcr dword [esi], cl
jae 0x4b1e53
invalid
inc edx
jmp 0x4b1eb0
dec edi
call 0xbe1e4536
jmp 0x4b1eed
xor eax, 0x7417b242
sbb al, dh
rcl byte [edx + 0x1f]
xor byte [0x5419a90], al
pop ebp
mov byte [ebp + 0x4f], cl
and bh, ah
xchg esp, eax
cmp al, bh
arpl word [ecx - 0x4e5f2e5d], dx
jp 0x4b1ecb
or ebp, dword [edx + edi*2 + 7]
mov esp, 0x6e54fa39
mov ecx, dword [ecx + esi*2 + 9]
popal
or eax, dword [edi - 0x1b7f2458]
inc eax
add ax, 0x2510
scasd eax, dword es:[edi]
test dword [eax + ebx - 0x69], edi
insb byte es:[edi], dx
adc dl, byte [esi + 0x7d3ab251]
push ebx
popal
xchg esp, eax
je 0x4b1f80
sbb al, 0x5c
enter 0xffffffffffff889b, 0x73
in eax, 2
mov ecx, 0xa49fa76c
and ebp, esp
push edx
push eax
or byte [eax - 0x7b], 0x3a
cmpsb byte [esi], byte es:[edi]
dec eax
inc edi
pop ss
push edi
test al, 0xe9
add dword [ecx + 0x3ba40e30], edi
pop ebx
nop
nop
das
sbb al, 0x21
insb byte es:[edi], dx
sbb eax, 0x7a3f9f7b
invalid
les esi, [edi]
dec edx
xor eax, 0x8fe40181
hlt
Function at 0x41d0d8
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 0x41d0de
ret

Function at 0x4397bc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x439977
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call 0x3a404b18
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x439990
call fcn.00404774
mov eax, ebx
call fcn.0041a8b8
mov edi, eax
dec edi
test edi, edi
jl 0x439874
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a88c
mov edx, dword [0x42cdd4]
call fcn.00403870
test al, al
je 0x439870
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041a88c
lea edx, [ebp - 0x14]
call fcn.004402c0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b18
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004047e8
inc esi
dec edi
jne 0x439822
movzx eax, byte [0x439994]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4399a0
mov eax, dword [ebp - 8]
call fcn.0040d044
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404500
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004402c0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x439990
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x330]
call fcn.004402c0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x439990
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x439990
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4399ac
call fcn.004092ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43997e
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040448c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040448c
lea eax, [ebp - 0x14]
call fcn.00404468
lea eax, [ebp - 0x10]
call fcn.00404468
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040448c
ret
Function at 0x591000
Capabilities:
Execute shellcode via indirect call
Read file on windows

Disassembly:
push 0x5930d8
pop dword [0x592302]
mov dword [0x5930d8], 0
Function at 0x591827
Capabilities:
Query environment variable

Disassembly:
mov dword [0x592b74], 0
push 0x59263b
call fcn.00591ae7
je 0x5919db
or dword [0x592b74], 1
call fcn.00591a04
je 0x5919aa
jb 0x5919a3
or dword [0x592b74], 2
mov eax, 0x592537
cmp byte [eax], 0
jne 0x5919c0
or dword [0x592b74], 0x20
push 0x59263b
push 0x59273f
call sub.KERNEL32.dll_lstrcpy
call fcn.00591ac5
jne 0x5919aa
or dword [0x592b74], 0x10
push 0x59263b
push 0x59273f
call sub.KERNEL32.dll_lstrcpy
push 0x5929af
push 0x59273f
call sub.KERNEL32.dll_lstrcat
call fcn.00591ac5
jne 0x5919aa
or dword [0x592b74], 4
push pe_nt_image_headers32
push 0x59273f
push str.APPDATA
call sub.KERNEL32.dll_GetEnvironmentVariableA
cmp eax, 0
je 0x591931
push 0x592c28
push 0x59273f
call sub.KERNEL32.dll_lstrcat
push 0x5921c5
push 0x59273f
call sub.KERNEL32.dll_lstrcat
push 0x592c28
push 0x59273f
call sub.KERNEL32.dll_lstrcat
push str.TRETVERRSNITT
push 0x59273f
call sub.KERNEL32.dll_lstrcat
push 0x5929af
push 0x59273f
call sub.KERNEL32.dll_lstrcat
call fcn.00591ac5
jne 0x5919aa
or dword [0x592b74], 8
push pe_nt_image_headers32
push 0x59273f
push str.ALLUSERSPROFILE
call sub.KERNEL32.dll_GetEnvironmentVariableA
cmp eax, 0
je 0x5919a3
push 0x592c28
push 0x59273f
call sub.KERNEL32.dll_lstrcat
push 0x5921c5
push 0x59273f
call sub.KERNEL32.dll_lstrcat
push 0x592c28
push 0x59273f
call sub.KERNEL32.dll_lstrcat
push str.TRETVERRSNITT
push 0x59273f
call sub.KERNEL32.dll_lstrcat
push 0x5929af
push 0x59273f
call sub.KERNEL32.dll_lstrcat
call fcn.00591ac5
jne 0x5919aa
mov eax, 0
clc
ret
push 0x59273f
push 0x592537
call sub.KERNEL32.dll_lstrcpy
mov eax, 1
clc
ret
push 0x5929b8
push 0x592537
call sub.KERNEL32.dll_FindFirstFileA
cmp eax, 0xffffffff
je 0x5919a3
mov eax, 1
clc
ret
mov eax, 0xff
stc
ret
Function at 0x403150
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x40318c
movzx eax, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x4031ac
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004054b4
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4033e4
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.00405234
test esi, esi
jne 0x40341a
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.00405324
jmp 0x403438
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004032e8
mov edi, eax
test esi, esi
je 0x403438
cmp dword [ebx], 0
je 0x403438
dec esi
jmp 0x403421
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x404120
Capabilities:
Query or enumerate registry value

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

Function at 0x4050b4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x69104c], 0
je 0x405115
cmp word [0x691220], 0xd7b2
jne 0x4050dd
cmp dword [0x691228], 0
jbe 0x4050dd
mov eax, 0x69121c
call dword [0x691238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x40513c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5bb034], 0
jne 0x405131
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406ea4
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 0xf0019
push 0
push 0x4070d4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406f27
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4070d4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406f27
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4070f0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406fb0
xor eax, eax
push ebp
push 0x406fa9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406ce0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406f8e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x407110
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406f8e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406fb0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x4070ca
cmp byte [ebp - 0xd], 0
jne 0x406ff7
cmp byte [ebp - 0x12], 0
je 0x4070ca
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x407010
dec ebx
cmp byte [ebx], 0x2e
je 0x40701f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40700f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4070ca
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40705c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4070ca
cmp byte [ebp - 0xd], 0
je 0x4070ca
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4070ca
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x409c08
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x409c5a
test eax, edx
je 0x409c5d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x409c1d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x409c43
add ecx, 4
js 0x409c33
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409c40
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x409c69
test edx, edx
jne 0x409c10
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40a704
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004056d4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a722
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x40a743
cmp ebx, 3
je 0x40a743
cmp ebx, 0x7b
je 0x40a743
mov eax, esi
call fcn.0040a6c4
test al, al
jne 0x40a747
xor eax, eax
jmp 0x40a749
mov al, 1
pop esi
pop ebx
ret

Function at 0x40a74c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004056d4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a765
test al, 0x10
jne 0x40a769
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40d928
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 0x40d961
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405324
jmp 0x40d96a
mov eax, ebx
mov edx, esi
call fcn.00405288
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d974
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 0x40d996
movzx eax, byte [esp]
jmp 0x40d998
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40e174
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40dfec
mov eax, dword [0x690054]
cmp byte [eax], 0
je 0x40e1f0
mov eax, dword [0x68f9dc]
call fcn.004038bc
call fcn.004030dc
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.0040ab2c
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 0x40e238
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e226
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x68f8fc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6937f8]
call fcn.00406c88
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 0x40eb28
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ebfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004052cc
lea eax, [ebp - 4]
call fcn.0040572c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004056d4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ebe8
mov eax, ebx
call fcn.00402f80
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ebe1
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 - 4]
call fcn.004056d4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ebcb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ec10
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ebcb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ebe8
mov eax, dword [ebp - 0x10]
call fcn.00402f9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ec05
lea eax, [ebp - 4]
call fcn.00405234
ret
Function at 0x422a90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6959ec
cmp dword [edi], 0
jne 0x422b0c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x6959e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5bbba0
mov ecx, 2
call fcn.004031e8
mov edx, 0x422a68
lea eax, [esi + 5]
call fcn.00422a88
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422a88
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 0x422ae1
mov dword [0x6959e8], 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 0x425410
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
movzx eax, byte [ebp + 8]
call fcn.00424e48
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.004056d4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42546f
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x68fd84]
mov dl, 1
mov eax, dword [0x424d40]
call fcn.0040e364
call fcn.00404c60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425478
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.004056d4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4254d0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x690480]
mov dl, 1
mov eax, dword [0x424d40]
call fcn.0040e364
call fcn.00404c60
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00424e78
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 0x426700
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 0x426706
ret
Function at 0x43810c
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.004056c4
xor eax, eax
push ebp
push 0x438241
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x438214
xor edx, edx
push ebp
push 0x43820d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x438159
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4381e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4381d1
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x438198
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004056d4
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004031e8
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 0x4381d8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x68f760]
mov dl, 1
mov eax, dword [0x408d74]
call fcn.0040e328
call fcn.00404c60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438248
lea eax, [ebp - 4]
call fcn.00405234
ret