joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.10001260
mov esi, eax
test esi, esi
je 0x1000184c
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.10001320
mov ebp, eax
test ebp, ebp
je 0x1000184b
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.10001320
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x1000184b
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x1000184b
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1000184a
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x10001830
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x10004077
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x10004087
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x10004195
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.100041a5
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x10004195
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.100041a5
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x10004195
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.100041a5
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10004195
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x10004192
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.100041b8
test eax, eax
je 0x10004181
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.100041ec
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x1000413c
add esp, 0xc
mov eax, 0
jmp 0x1000419f
mov esp, ebp
pop ebp
ret 8

Function at 0x10004960
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100049c9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.100046c0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0x408927
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
sub edi, 0x957ec7a0
call fcn.00408950
inc ebx
xor dword [edx], ecx
and ebx, ebx
add edi, 1
inc edx
add ebx, 0x373d31cb
cmp edx, esi
jne fcn.00408927
ret
Function at 0x405900
Capabilities:
Hash data with crc32

Disassembly:
cmp dword [ebp - 0xc], 0
jle 0x40c3a2
mov eax, dword [ebp - 4]
and eax, 1
je 0x404776
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
jmp 0x403bc0
jmp 0x40d6a3
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x403bc0
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0xedb88320
mov dword [ebp - 8], 0
jmp 0x40e93c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x40e93c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x46cff0], ecx
jmp 0x409719
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
jmp 0x402165
cmp dword [ebp - 8], 0x100
jge 0x407eea
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 8
jmp 0x402165

Function at 0x407d21
Capabilities:
Check os version

Disassembly:
cmp dword [0x46cf80], 0
je 0x407b2c
mov dword [ebp - 4], 3
jmp 0x40bebe
lea edx, [ebp - 0x114]
push edx
call fcn.0040895b
add esp, 4
push 0
push 0x30000080
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x114]
push eax
call dword [0x413030]
mov dword [0x46cfec], eax
cmp dword [0x46cfec], 0xffffffff
jne 0x40880d
xor eax, eax
jmp 0x40c393
call fcn.0040acfc
test eax, eax
jne 0x40c213
xor eax, eax
jmp 0x40c393
push 0x46c2dc
push 1
call fcn.0040c33b
add esp, 8
mov dword [0x46c2d8], eax
jmp 0x403072
mov dword [ebp - 4], 2
jmp 0x40bebe
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
call dword [0x41303c]
push eax
call fcn.00401b2c
add esp, 4
movzx ecx, al
mov dword [0x46cf80], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 5
je 0x40655c
jmp 0x402fc9
push 0
lea ecx, [ebp - 0x10]
push ecx
push 8
push 0x46cb40
push 0
push 0
push 0x7405c
mov edx, dword [0x46cfec]
push edx
call dword [0x46cfc8]
test eax, eax
jne 0x409e38
xor eax, eax
jmp 0x40c393
mov eax, dword [0x46cb40]
mov edx, dword [0x46cb44]
mov cl, 9
call fcn.0040572b
mov dword [0x46cb48], eax
mov dword [0x46cb4c], edx
mov eax, dword [0x46cfec]
push eax
call fcn.0040bdea
add esp, 4
push 0x46c530
call fcn.00401314
add esp, 4
test eax, eax
jne 0x40bcde
xor eax, eax
jmp 0x40c393
call fcn.0040d5c6
mov dword [0x46cb50], eax
mov dword [0x46cb54], edx
mov ecx, dword [0x46cb50]
or ecx, dword [0x46cb54]
jne 0x403d94
mov edx, dword [ebp - 8]
cmp dword [edx + 0xa4], 5
jne 0x40cbf2
mov eax, dword [0x46cb48]
sub eax, 0x800
mov ecx, dword [0x46cb4c]
sbb ecx, 0
mov dword [0x46cb50], eax
mov dword [0x46cb54], ecx
jmp 0x403d94
push 0x46c2dc
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040c33b
add esp, 8
mov dword [0x46c2d8], eax
jmp 0x403072
mov edx, dword [0x46cfec]
push edx
call dword [0x46cfe0]
mov eax, 1
jmp 0x40c393
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x40c393
Function at 0x40aea4
Capabilities:
Check os version

Disassembly:
call fcn.0040c13c
test eax, eax
jne 0x4044bc
jmp 0x40bfa2
push 0
call dword [0x413038]
jmp 0x40bfa2
call fcn.00403aee
test eax, eax
jne 0x40a95e
jmp 0x40bfa2
call fcn.004043ad
call fcn.00407d21
test eax, eax
je 0x402b44
push 0x927c0
call dword [0x46cfbc]
call fcn.004023f2
jmp 0x402b44
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
call fcn.0040d1f6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xa4], 5
jbe 0x401bd2
call fcn.00404369
jmp 0x401bd2
mov esp, ebp
pop ebp
ret

Function at 0x40b923
Capabilities:
Hash data using jshash

Disassembly:
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x404787
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x403d60
mov esi, dword [ebp - 4]
shl esi, 5
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
push ecx
call fcn.0040c911
add esp, 4
add esi, eax
mov edx, dword [ebp - 4]
shr edx, 2
add esi, edx
xor esi, dword [ebp - 4]
mov dword [ebp - 4], esi
jmp 0x402983
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 4], 0x4e67c6a7
mov dword [ebp - 8], 0
mov dword [ebp - 8], 0
jmp 0x404787

Function at 0x40bc6b
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
lodsb al, byte [esi]
mov ebx, edx
shl ebx, 5
add eax, ebx
mov ebx, edx
shr ebx, 2
add eax, ebx
xor edx, eax
dec ecx
cmp ecx, 0
jne 0x402f59
mov eax, edx
pop esi
pop edx
pop ecx
pop ebx
pop ebp
ret 4
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x4e67c6a7
mov ecx, 0x10
jmp 0x402f59

Function at 0x40e911
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [esi]
xor dl, al
shl edx, 1
dec ecx
jne 0x40a9f3
mov eax, edx
pop esi
pop edx
pop ecx
pop ebp
ret 8
push ebp
mov ebp, esp
push ecx
push edx
push esi
mov edx, 0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 8]
jmp 0x40a9f3

Function at 0x805fb4
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805fba
pop ebp
sub ebp, 6
sub ebp, 0x405fb4
jmp 0x806018
jmp 0x806021
mov eax, 0x405fb4
add eax, ebp
add eax, 0x93
mov ecx, 0x644
mov edx, 0xc84f7846
xor byte [eax], dl
inc eax
dec ecx
jne 0x806038
jmp 0x80604b
sub al, 6
inc esi
push esi
inc esi
inc esi
inc esi
mov ch, byte [edx + 0x46]
invalid
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x33d553cc
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2bb66fa1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402bfc
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 0x402c39
xor eax, eax
mov al, 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 0x402c59
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0040463c
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402e64
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402ebd
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402d00
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402d00
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402ea7
inc ebx
jmp 0x402e90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ec4
lea eax, [ebp - 8]
call fcn.004043cc
ret

Function at 0x402ecc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004043cc
test esi, esi
jne 0x402f03
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004044bc
jmp 0x402f24
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d00
mov dword [esp], eax
test esi, esi
je 0x402f24
cmp dword [ebx], 0
je 0x402f24
dec esi
jmp 0x402f0b
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x4034f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x42a024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403588
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403568
xor eax, eax
push ebp
push 0x403561
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 0x4035a4
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 0x403568
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x42a024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x42a024], ax
mov esp, ebp
pop ebp
ret
Function at 0x404248
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x42e044], 0
je 0x4042a9
cmp word [0x42e218], 0xd7b2
jne 0x404271
cmp dword [0x42e220], 0
jbe 0x404271
mov eax, 0x42e214
call dword [0x42e230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x42a070
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 0x4042d0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42a034], 0
jne 0x4042c5
push 0
push 0x42a068
push 0x42a070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405f90
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 0x405ff6
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.0040463c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030e4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405fe0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ffd
lea eax, [ebp - 0x10]
call fcn.004043cc
ret

Function at 0x408004
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.0040488c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x408026
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40ab7c
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 0x40abb5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044bc
jmp 0x40abbe
mov eax, ebx
mov edx, esi
call fcn.00404420
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c088
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 0x40c0ec
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.0040463c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407ae4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0f3
lea eax, [ebp - 0xc]
call fcn.004043cc
ret

Function at 0x417a3c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov ebp, edx
mov edi, eax
mov eax, dword [esp]
mov edx, ebp
call fcn.00404420
mov eax, edi
call fcn.0040468c
test eax, eax
jle 0x417a9e
mov eax, ebp
call fcn.0040468c
mov esi, eax
test esi, esi
jle 0x417a9e
mov ebx, 1
mov eax, edi
call fcn.0040468c
push eax
mov eax, ebx
dec eax
pop edx
mov ecx, edx
cdq
idiv ecx
inc edx
mov al, byte [edi + edx - 1]
mov dl, byte [ebp + ebx - 1]
xor al, dl
push eax
mov eax, dword [esp + 4]
call fcn.004048e4
pop edx
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x417a6f
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x417aa4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x417b32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004043cc
mov eax, dword [ebp - 4]
call fcn.0040468c
test eax, eax
jle 0x417b1c
mov dword [ebp - 0xc], eax
mov edi, 1
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
call fcn.004045b4
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00404694
mov eax, dword [ebx]
movzx eax, byte [eax + edi - 1]
add esi, eax
imul esi, dword [ebp - 8]
add esi, dword [ebp + 0xc]
inc edi
dec dword [ebp - 0xc]
jne 0x417ae6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417b39
lea eax, [ebp - 0x10]
call fcn.004043cc
ret

Function at 0x417cbc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov ebx, ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x417d6f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004030a8
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x500
test bl, bl
je 0x417d0a
mov eax, 0x417d80
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x40]
mov eax, edi
call fcn.004081b0
mov eax, dword [ebp - 0x40]
call fcn.0040488c
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x44]
mov eax, edi
call fcn.00408128
mov eax, dword [ebp - 0x44]
call fcn.0040488c
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.0040488c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417d76
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004043f0
ret

Function at 0x417e04
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x417e85
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x42a3bc
call sub.advapi32.dll_AllocateAndInitializeSid
call fcn.0040c708
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
je 0x417e64
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x417e68
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417e8c
cmp dword [ebp - 8], 0
je 0x417e84
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret