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

Disassembly:
and byte [esi + 0x6f7f3a42], 0x9f
in al, dx
mov al, 0x27
add bh, dh
xor byte [eax + ebx*8], cl
cwde
sub eax, 0xc0cd897c
aas
lcall 0x708a, 0xd0f1e8c2
lcall 0xd06f, 0xd336a94a
xchg byte [esi - 0x1553c573], ah
or eax, 0x489eda0b
aaa
sbb al, 0xc9
rol dl, 1
inc ebp
cld
add byte [edi], bl
push ebx
adc dword [eax + 0x10cc00b3], 0x18
rcr ch, 0xef
dec esp
out 0xd, eax
pop esp
mov word [ebx], gs
das
in eax, dx
loop fcn.00437a69
dec ebp
mov ch, 0xa3
dec esi
pop ds
pop ss
xchg esp, eax
movsb byte es:[edi], byte [esi]
in eax, dx
cmp eax, 0x86c52895
lodsd eax, dword [esi]
cmp bl, ah
imul ebp, esp, 0x9317e4b2
push ss
stosd dword es:[edi], eax
cmpsb byte [esi], byte es:[edi]
xchg edi, eax
in al, 0x96
push edi
cmp al, 0x80
inc eax
invalid

Function at 0x4458cd
Capabilities:
Encode data using xor

Disassembly:
mov byte [esi], bh
xor eax, 0x4bfa94b9
imul edi, dword [ebx + edi*8 - 0xc4b433f], 0x12
sar dword [esp + esi*4 - 0x2066ed0d], 0x8a
adc cl, bl
mov ah, 0xb3
adc cl, bl
mov ah, 0xb3
xchg ecx, eax
jle 0x4458c3
sahf

Function at 0x464d41
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xc81e69ea
cwde
xchg ecx, eax
pop edi
cwde
xor al, 0x40
imul edx, dword [edx - 0x12c1922b], 0x5c
insd dword es:[edi], dx
in eax, dx
pop esp
insd dword es:[edi], dx
in eax, dx
pop esp
xchg byte [ebx + 0x4d], dl
xchg ebx, eax
enter 0x600a, 0x52
xchg ebx, eax
mov dl, bh
adc al, 0x79
dec edx
loopne 0x464d33
sub dword [esi], eax
loopne 0x464db4
invalid
inc ecx
fisttp dword [esi - 0x6f]
push ds
sbb byte [ebx + 0x25099e9d], dh
mov bh, 0x3a
cmp al, ah
adc al, 0x20
sbb dl, byte [ebx + 0x77]
invalid

Function at 0x493c79
Capabilities:
Encode data using xor

Disassembly:
out dx, eax
popfd
cmpsb byte [esi], byte es:[edi]
mov ch, 0xfd
test al, 0x63
das
mov eax, dword [0xe7dace2b]
sub cl, byte [edx]
xchg dword [edi - 0x7d], edi
test cl, dh
push ss
pushal
test al, 0xe2
add dh, cl
ja 0x493cba
test al, 0xd8
or ecx, dword [edi + 0x3df0ec1e]
xlatb
mov bh, 0x54
lea eax, [edx + ebx*8]
add al, 0xda
cmp ebp, dword [ecx - 0x71]
mov edi, 0x8d65f156
rcl ebx, 0x40
pushal
xchg esp, eax
mov byte [esi + 0x56], dh
ficom word [eax - 0x79d9acbd]
inc ebx
Function at 0x4ba839
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33d8
cmp edx, dword [eax]
je 0x4ba85b
add eax, 8
inc ecx
cmp eax, 0x4c3468
jl 0x4ba84c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33d8]
jne 0x4ba989
mov eax, dword [0x4c7d5c]
cmp eax, 1
je 0x4ba963
test eax, eax
jne 0x4ba88c
cmp dword [0x4c3300], 1
je 0x4ba963
cmp edx, 0xfc
je 0x4ba989
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba8c3
lea eax, [ebp - 0x1a4]
push 0x4bfa48
push eax
call fcn.004bb220
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb6b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba906
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb6b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfa44
push edi
call fcn.004bd580
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bfa28
push eax
call fcn.004bb220
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb230
lea eax, [ebp - 0xa0]
push 0x4bfa24
push eax
call fcn.004bb230
push dword [esi + 0x4c33dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb230
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bf9fc
push eax
call fcn.004bd4f4
add esp, 0x2c
pop edi
jmp 0x4ba989
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33dc]
push 0
push eax
push dword [esi]
call fcn.004bb6b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10019cc6
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100279b1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100a90c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x10019d19
push str.Path_to_write_is_empty
push 0xa
push 0x873
push 0x22c210f
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_1121]
add esp, 0x10
jmp 0x10019e33
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10019d23
mov eax, dword [esi]
push eax
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_448]
test eax, eax
jne 0x10019d41
push str.Failed_to_create_directory_for_file
push 0xf
push 0x873
push 0x22c2110
jmp 0x10019d0b
push str..tmp
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.10019e4e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 2
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_1789]
add esp, 0x14
cmp dword [ebp - 0x2c], 0
jne 0x10019d8b
push str.Failed_to_create_byte_stream
push 0xf
push 0x873
push 0x22c2111
jmp 0x10019e1a
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x2c]
call fcn.1000c6b0
push 0
lea edx, [ebp - 0x30]
push edx
push dword [edi + 4]
mov ecx, dword [eax]
push dword [edi]
push 0
push 0
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x10019e09
mov eax, dword [ebp - 0x30]
cmp eax, dword [edi + 4]
jne 0x10019e09
lea ecx, [ebp - 0x2c]
call fcn.1006baa2
cmp dword [esi + 0x14], 8
jb 0x10019dc8
mov esi, dword [esi]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call dword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
jne 0x10019dfd
push str.Failed_to_move_file
push 0xf
push 0x873
push 0x22c2113
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_1121]
add esp, 0x10
jmp 0x10019e2b
lea ecx, [ebp - 0x28]
call fcn.1006baa2
mov al, 1
jmp 0x10019e35
push str.Failed_to_write_to_byte_stream
push 0xf
push 0x873
push 0x22c2112
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_1121]
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.1006baa2
lea ecx, [ebp - 0x28]
call fcn.1006baa2
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10001be8
leave
ret
Function at 0x1003292f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10023bc9
call fcn.10022973
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x418], eax
push 0x60
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.100339be
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x100329a4
push 2
mov ecx, esi
call fcn.100339be
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x100329a4
call fcn.10031dc9
mov esi, eax
jmp 0x10032a78
push dword [ebp - 0x41c]
push ebx
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x100329c2
call fcn.10031dc9
jmp 0x10032a6b
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
je 0x100329b8
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x100329f4
mov esi, 0x8007000e
jmp 0x10032a6d
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1006baa2
jmp 0x10032a1e
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x100329ed
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x100329b8
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.1006baa2
mov esi, eax
test edi, edi
je 0x10032a78
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10032a91
lea ecx, [ebp - 0x418]
call fcn.10032083
lea ecx, [ebp - 0x428]
call fcn.1003150e
mov eax, esi
call fcn.10022963
ret 0x10
Function at 0x1004807d
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100481de
push 0x29
pop edi
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100481de
cmp eax, edi
jne 0x100480be
cmp dword [esi + 0x10], 0
mov eax, edi
jne 0x100481de
cmp eax, edi
jne 0x100480be
test dword [esi + 0x50], edx
je 0x100481e4
cmp eax, 0x2e
jne 0x100480d9
push 5
lea ecx, [esi + 0x24]
call fcn.1006baa2
mov ecx, esi
call fcn.10049c8b
jmp 0x100481c9
cmp eax, 0x5c
jne 0x1004812e
mov ecx, esi
call fcn.10049c8b
test byte [esi + 0x50], 0x80
je 0x10048122
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1004810a
push 4
lea ecx, [esi + 0x24]
call fcn.1006baa2
mov ecx, esi
call fcn.10049c8b
jmp 0x100481d0
cmp eax, 0x42
jne 0x10048122
push 4
lea ecx, [esi + 0x24]
call fcn.1006baa2
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100480fe
mov ecx, esi
call fcn.1006baa2
jmp 0x100481c9
cmp eax, 0x5b
jne 0x1004814e
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004877d
push 4
push 0x5d
mov ecx, esi
call fcn.1006baa2
jmp 0x100481c9
cmp eax, 0x28
jne 0x1004816f
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004a1aa
push 5
push edi
mov ecx, esi
mov bl, al
call fcn.1006baa2
jmp 0x100481c5
cmp eax, 0x5e
jne 0x1004817b
push 2
jmp 0x100480f6
cmp eax, 0x24
jne 0x10048187
push 3
jmp 0x100480f6
cmp eax, 0x2a
je 0x100481f4
cmp eax, 0x2b
je 0x100481f4
cmp eax, 0x3f
je 0x100481f4
cmp eax, 0x7b
je 0x100481f4
cmp eax, 0x7d
jne 0x100481a5
test dword [esi + 0x50], edx
je 0x100481ec
cmp eax, 0x5d
jne 0x100481af
test dword [esi + 0x50], edx
je 0x100481f0
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1006baa2
mov ecx, esi
call fcn.10049c8b
mov bl, 1
test bl, bl
je 0x100481d0
mov ecx, esi
call fcn.1006baa2
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10048093
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
push 6
jmp 0x100481e6
push 4
jmp 0x100481e6
push 0xa
jmp 0x100481e6
Function at 0x1004807e
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100481de
push 0x29
pop edi
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100481de
cmp eax, edi
jne 0x100480be
cmp dword [esi + 0x10], 0
mov eax, edi
jne 0x100481de
cmp eax, edi
jne 0x100480be
test dword [esi + 0x50], edx
je 0x100481e4
cmp eax, 0x2e
jne 0x100480d9
push 5
lea ecx, [esi + 0x24]
call fcn.1006baa2
mov ecx, esi
call fcn.10049c8b
jmp 0x100481c9
cmp eax, 0x5c
jne 0x1004812e
mov ecx, esi
call fcn.10049c8b
test byte [esi + 0x50], 0x80
je 0x10048122
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1004810a
push 4
lea ecx, [esi + 0x24]
call fcn.1006baa2
mov ecx, esi
call fcn.10049c8b
jmp 0x100481d0
cmp eax, 0x42
jne 0x10048122
push 4
lea ecx, [esi + 0x24]
call fcn.1006baa2
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100480fe
mov ecx, esi
call fcn.1006baa2
jmp 0x100481c9
cmp eax, 0x5b
jne 0x1004814e
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004877d
push 4
push 0x5d
mov ecx, esi
call fcn.1006baa2
jmp 0x100481c9
cmp eax, 0x28
jne 0x1004816f
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004a1aa
push 5
push edi
mov ecx, esi
mov bl, al
call fcn.1006baa2
jmp 0x100481c5
cmp eax, 0x5e
jne 0x1004817b
push 2
jmp 0x100480f6
cmp eax, 0x24
jne 0x10048187
push 3
jmp 0x100480f6
cmp eax, 0x2a
je 0x100481f4
cmp eax, 0x2b
je 0x100481f4
cmp eax, 0x3f
je 0x100481f4
cmp eax, 0x7b
je 0x100481f4
cmp eax, 0x7d
jne 0x100481a5
test dword [esi + 0x50], edx
je 0x100481ec
cmp eax, 0x5d
jne 0x100481af
test dword [esi + 0x50], edx
je 0x100481f0
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1006baa2
mov ecx, esi
call fcn.10049c8b
mov bl, 1
test bl, bl
je 0x100481d0
mov ecx, esi
call fcn.1006baa2
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10048093
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
push 6
jmp 0x100481e6
push 4
jmp 0x100481e6
push 0xa
jmp 0x100481e6
Function at 0x17c5028
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0x2c], 0x27d3d35
call 0x17c513a

Function at 0x17c5035
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp], esi
ja 0x27cc722
sub al, bl
btr ax, 0xd
test cl, 0x67
push edi
shrd ax, si, 0xd
clc
xor al, 0x44
stc
push ebx
bts ax, 0xc
push edx
bts eax, edx
adc ax, 0xeaa4
lea eax, [ecx + 0x44f5b17c]
mov eax, dword [ebp + 8]
cmp ecx, 0x569fc417
clc
test eax, eax
pushfd
jmp 0x27ccca4
pushal
mov dword [esp + 0x1c], 0xaf8783fd
pushfd
pushfd
call fcn.027ad448
mov cl, 3
mov edx, edx
lcall 0xf99e, 0xcb7b5ac4
add bh, byte [ecx]
jo fcn.027b2eb6
stc
invalid
pushal
aas
sar ah, 3
call 0x27ca929
jmp 0x27b2ebd
pushfd
push 0x5c91e3d8
lea esp, [esp + 0xc]
je 0x27b2ea3
btc si, cx
cmp dh, bl
mov esi, dword [eax + 0x3c]
not dx
add esi, eax
xor dh, 0xc4
bt ecx, 3
mov edx, dword [esi + 0x78]
test ch, 0x3f
pushfd
bt di, 0xb
stc
test edx, edx
pushfd
jmp 0x27cebe7

Function at 0x27b00fa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
dec eax
inc esi
imul esp, dword [ecx + 0x42], 0x70
sti
in eax, 4
lcall 0xff61, 0x3280fd03
push 0x5a
lcall 0x8d61, 0x33529657
lea esp, [esp + 8]
jb 0x17c84da
cmp al, dh
cmc
cmp ch, 0xe0
pushfd
cmp byte [edi - 1], 0
call fcn.027b250f
lea esp, [esp + 0x48]
jae fcn.027b2eb6
xadd di, bx
cmp si, di
mov ebx, eax
pushal
mov edi, eax
rcl cl, 5
rol cl, 2
sub ecx, 0x603579b3
mov ecx, 0x104
cmc
push ebx
mov byte [esp + 4], 0
test di, 0x1858
sub al, al
call fcn.027cb28d
lodsd eax, dword [esi]
pop es
jp 0x27b00c8
dec edx
adc dword [ebx - 0x1fd783b8], esp
mov ebx, 0x8b196980
xor edx, esp
jb 0x27b00ec
dec esi
mov eax, dword [0x82155f01]
cmp dl, byte [esi + ecx*4 - 0x165c0253]
push 0xffffffffffffffe0
arpl cx, bp
jmp 0x27b016f
jmp 0xdcad0c82

Function at 0x27b1b72
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [eax + 0x3c]
sal dl, 7
add esi, eax
movzx dx, cl
bsf dx, dx
mov edx, dword [esi + 0x78]
pushal
pushal
test edx, edx
push esp
lea esp, [esp + 0x48]
je 0x27b2ea3
bt edi, 0x10
add edx, eax
or cx, 0x29d6
bsf ecx, esi
bsr ecx, esp
mov ecx, dword [esi + 0x7c]
clc
pushal
add ecx, edx
push dword [esp]
mov dword [ebp - 0x10], ecx
rol ch, cl
mov ecx, dword [ebp + 0xc]
cmc
cmp ax, sp
cmp ecx, 0xffff
mov dword [esp + 0x10], 0x6edacf8a
jmp 0x27cba16
lea esp, [esp + 0x24]
jbe 0x27b21e4
dec cl
mov edi, dword [edx + 0x24]
neg cx
bsr bx, bx
xadd cl, bl
btr bx, 0xb
add edi, eax
stc
mov ebx, dword [edx + 0x20]
bts cx, 8
cmc
rcl ch, cl
setbe cl
add ebx, eax
bt bx, 2
mov dword [ebp - 8], 0
clc
mov ecx, dword [edx + 0x18]
pushal
bt esi, ebp
cmp ecx, dword [ebp - 8]
call fcn.027ca945
dec eax
invalid
Function at 0x4120e1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41210f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41212d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00412047
jmp 0x41212d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41212d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00412047
test edi, edi
mov eax, edi
jne 0x412117
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404628
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406ac4
test esi, esi
jne 0x404660
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406c00
jmp 0x40467e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040450c
mov edi, eax
test esi, esi
je 0x40467e
cmp dword [ebx], 0
je 0x40467e
dec esi
jmp 0x404667
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405f14
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x511054], 0
je 0x405f75
cmp word [0x511330], 0xd7b2
jne 0x405f3d
cmp dword [0x511338], 0
jbe 0x405f3d
mov eax, 0x51132c
call dword [0x511348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
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 0x405fa0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x50a034], 0
jne 0x405f91
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x50a038], 0
je 0x406146
mov edx, esi
mov eax, ebx
call dword [0x50a038]
jmp 0x406155
mov eax, 8
call fcn.00404254
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x511055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4060e8
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc

Function at 0x407568
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4075aa
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x4075ca
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.00406cc4
add esp, 0x41c
pop esi
pop ebx
ret
Function at 0x408db4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408f1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406ac4
cmp si, word [0x50a7e0]
jb 0x408e4e
cmp si, word [0x50a9e0]
ja 0x408e4e
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x408e4e
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x50a7e0]
jae 0x408e28
mov edi, ebx
dec edi
jmp 0x408e49
cmp si, word [ebx*8 + 0x50a7e0]
jbe 0x408e38
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408e49
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x50a7e4]
call fcn.00408cc4
jmp 0x408e4e
cmp edi, dword [ebp - 0xc]
jae 0x408e12
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408efd
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408efd
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406cc4
push dword [ebp - 0x164]
push 0x408f38
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406cc4
push dword [ebp - 0x168]
push 0x408f48
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406cc4
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.0040707c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408f22
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406abc
ret
Function at 0x4090d4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4091d9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x513b5c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x513b74]
jne 0x409120
mov eax, esi
mov edx, 0x513b78
mov ecx, 0x55
call fcn.00406cc4
push 0x513b5c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4091c3
push 0x513b5c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406ac4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409191
cmp byte [0x513b58], 0
je 0x409156
mov edx, esi
mov eax, ebx
call fcn.00408fb4
jmp 0x409191
mov edx, esi
mov eax, ebx
call fcn.00408db4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409191
cmp dword [esi], 0
je 0x40917a
mov eax, esi
mov edx, 0x4091f4
call fcn.00406ed8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408db4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406ed8
push 0x513b5c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x513b74], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406b50
push eax
push 0x513b78
call sub.kernel32.dll_lstrcpynW
push 0x513b5c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4091e0
lea eax, [ebp - 4]
call fcn.00406ab4
ret
Function at 0x4098c8
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.00406aac
mov eax, dword [ebp - 0x21c]
call fcn.00406aac
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x409a67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406ac4
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00406b50
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x409968
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x40997a
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x409965
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x409a33
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x4099a3
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.00409418
cmp dword [ebp - 0x220], 0
je 0x4099db
push ebp
mov eax, dword [ebp - 0x220]
call fcn.004097bc
pop ecx
mov ebx, eax
jmp 0x409a33
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.004090d4
mov eax, dword [ebp - 0x224]
call fcn.004097bc
pop ecx
mov ebx, eax
test bl, bl
jne 0x409a26
cmp byte [0x513b58], 0
jne 0x409a26
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.004090d4
mov eax, dword [ebp - 0x228]
call fcn.004097bc
pop ecx
mov ebx, eax
test bl, bl
jne 0x409a33
push ebp
call fcn.0040986c
pop ecx
mov ebx, eax
test bl, bl
je 0x409a49
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406cc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a6e
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00406abc
ret

Function at 0x40a1fc
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret