joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422530
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop

Function at 0x4225a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x4225b8
leave
ret
test byte [0x423030], 2
jne 0x4225ce
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp + 0xc], str.Out_of_memory_n
mov dword [esp + 8], str.xalloc
mov dword [esp + 4], 0x423030
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x4225c1

Function at 0x6d357388
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x6d357397
pop dword [ebp - 0x30]
mov eax, 0x27aeca8f
add eax, 0x4586a908
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xfd21d5ab
add dword [ebp - 0x40], 0x51306fa0
mov dword [ebp - 0x3c], 0xddbdd286
sub dword [ebp - 0x3c], 0xab8a8641
mov dword [ebp - 0x38], 0x83c6f608
add dword [ebp - 0x38], 0xc8854e26
mov dword [ebp - 0x34], 0xd1d00afb
sub dword [ebp - 0x34], 0xd1d00afb
lea eax, [ebp - 0x40]
push eax
mov eax, 0x660421df
add eax, 0x7316e71
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xcde89705
sub dword [ebp - 0x40], 0x59762daf
mov dword [ebp - 0x3c], 0x68af880a
add dword [ebp - 0x3c], 0xd8bcd96b
mov dword [ebp - 0x38], 0xda2678aa
sub dword [ebp - 0x38], 0x76b70c3e
mov dword [ebp - 0x34], 0x9beb86d5
add dword [ebp - 0x34], 0x6414792b
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xc042483
sub eax, 0x9ece942b
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x36210
push 0
call eax
mov ecx, 0x43b2
xor esi, esi
add esi, eax
mov edx, 0x3281754b
sub edx, 0xc54b8d4b
add edx, dword [ebp - 0x30]
mov edi, 0x5ad00fac
sub edi, 0xd5643413
mov ebx, dword [edx]
xor dword [ebp - 0x24], 0x8851d471
sub ebx, edi
mov dword [esi], ebx
sub dword [ebp - 4], 0xbdf2f517
add esi, 0x189e0876
sub esi, 0x189e0872
add edx, 0x43ce9e35
add edx, 0xbc3161cf
loop 0x6d3574b5
add eax, 0x76f0421f
sub eax, 0x76ef4084
mov ebx, eax
add eax, 0xe81b441e
add eax, 0x17e4bbe7
mov ecx, 0xa8e50ac6
sub ecx, 0x3bb00ac6
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x6d3578c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x6d3578ce
repz ret
jmp fcn.6d357caf
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x401443
pop dword [ebp - 0x44]
mov eax, 0x51ee89a3
sub eax, 0x51ae7560
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xb9c56af9
add dword [ebp - 0x54], 0x948cda52
mov dword [ebp - 0x50], 0x884ae61
sub dword [ebp - 0x50], 0xd651621c
mov dword [ebp - 0x4c], 0xfb96b8c4
sub dword [ebp - 0x4c], 0xaf4a7496
mov dword [ebp - 0x48], 0x5a69dfd1
add dword [ebp - 0x48], 0xa596202f
lea eax, [ebp - 0x54]
push eax
mov eax, 0x90982861
add eax, 0x6fa858a3
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x886bcdd4
add dword [ebp - 0x54], 0xec069b82
mov dword [ebp - 0x50], 0x86adefb4
add dword [ebp - 0x50], 0xbabe71c1
mov dword [ebp - 0x4c], 0xcb41d094
add dword [ebp - 0x4c], 0x982d9bd8
mov dword [ebp - 0x48], 0xa861da56
add dword [ebp - 0x48], 0x579e25aa
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x36ea2
push 0
call eax
mov ecx, 0x849698b2
add ecx, 0x7b69a9cd
mov edx, eax
mov ebx, 0x78388e1d
sub ebx, 0x77f1aa1d
add ebx, dword [ebp - 0x44]
mov edi, 0x723cee09
add edi, 0xbd0d02ea
add dword [ebp - 8], esi
mov esi, dword [ebx]
xor dword [ebp - 0x30], ebx
add esi, edi
mov dword [ebp - 0xc], 0x13e67a96
mov dword [edx], esi
xor dword [ebp - 0x34], 0xe0b84b40
add edx, 0x9f40160b
add edx, 0x60bfe9f9
add ebx, 0x95004a5f
add ebx, 0x6affb5a5
loop 0x401560
add eax, 0xfccf
mov ebx, eax
add eax, 0x85b4ea66
sub eax, 0x85b4ea61
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
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 0x4048d4
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.004076d8
test esi, esi
jne 0x40490c
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.00407814
jmp 0x40492a
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404818
mov edi, eax
test esi, esi
je 0x40492a
cmp dword [ebx], 0
je 0x40492a
dec esi
jmp 0x404913
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4062d0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5b8054], 0
je 0x406331
cmp word [0x5b8330], 0xd7b2
jne 0x4062f9
cmp dword [0x5b8338], 0
jbe 0x4062f9
mov eax, 0x5b832c
call dword [0x5b8348]
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 0x40635c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5b0030], 0
jne 0x40634d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4064dc
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 [0x5b0034], 0
je 0x406502
mov edx, esi
mov eax, ebx
call dword [0x5b0034]
jmp 0x406511
mov eax, 8
call fcn.00404560
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x5b8055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4064a4
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 0x409988
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 0x409aef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004076d8
cmp si, word [0x5b07dc]
jb 0x409a22
cmp si, word [0x5b09dc]
ja 0x409a22
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x409a22
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x5b07dc]
jae 0x4099fc
mov edi, ebx
dec edi
jmp 0x409a1d
cmp si, word [ebx*8 + 0x5b07dc]
jbe 0x409a0c
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x409a1d
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x5b07e0]
call fcn.00409898
jmp 0x409a22
cmp edi, dword [ebp - 0xc]
jae 0x4099e6
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x409ad1
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409ad1
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.004078d8
push dword [ebp - 0x164]
push 0x409b0c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.004078d8
push dword [ebp - 0x168]
push 0x409b1c
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004078d8
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00407c90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409af6
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.004076d0
ret
Function at 0x409ca8
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 0x409dad
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5bab5c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x5bab74]
jne 0x409cf4
mov eax, esi
mov edx, 0x5bab78
mov ecx, 0x55
call fcn.004078d8
push 0x5bab5c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409d97
push 0x5bab5c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.004076d8
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409d65
cmp byte [0x5bab58], 0
je 0x409d2a
mov edx, esi
mov eax, ebx
call fcn.00409b88
jmp 0x409d65
mov edx, esi
mov eax, ebx
call fcn.00409988
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409d65
cmp dword [esi], 0
je 0x409d4e
mov eax, esi
mov edx, 0x409dc8
call fcn.00407aec
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409988
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407aec
push 0x5bab5c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x5bab74], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407764
push eax
push 0x5bab78
call sub.kernel32.dll_lstrcpynW
push 0x5bab5c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409db4
lea eax, [ebp - 4]
call fcn.004076c8
ret
Function at 0x409fec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004076c0
xor eax, eax
push ebp
push 0x40a1d1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40a02c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40a046
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407764
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40a1bb
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a1e0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a0d5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a1e0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a0d5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a214
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a0d5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a248
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40a1bb
xor eax, eax
push ebp
push 0x40a1b4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409df0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a144
mov eax, dword [ebp - 0x10]
call fcn.00404560
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407884
jmp 0x40a18f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40a288
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a18f
mov eax, dword [ebp - 0x10]
call fcn.00404560
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40a288
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a1bb
cmp dword [ebp - 8], 0
je 0x40a1aa
mov eax, dword [ebp - 8]
call fcn.0040457c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a1d8
lea eax, [ebp - 4]
call fcn.004076c8
ret
Function at 0x40a49c
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.004076c0
mov eax, dword [ebp - 0x21c]
call fcn.004076c0
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x40a63b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.004076d8
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00407764
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 0x40a53c
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x40a54e
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x40a539
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40a607
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 0x40a577
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.00409fec
cmp dword [ebp - 0x220], 0
je 0x40a5af
push ebp
mov eax, dword [ebp - 0x220]
call fcn.0040a390
pop ecx
mov ebx, eax
jmp 0x40a607
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00409ca8
mov eax, dword [ebp - 0x224]
call fcn.0040a390
pop ecx
mov ebx, eax
test bl, bl
jne 0x40a5fa
cmp byte [0x5bab58], 0
jne 0x40a5fa
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00409ca8
mov eax, dword [ebp - 0x228]
call fcn.0040a390
pop ecx
mov ebx, eax
test bl, bl
jne 0x40a607
push ebp
call fcn.0040a440
pop ecx
mov ebx, eax
test bl, bl
je 0x40a61d
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004078d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a642
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.004076d0
ret

Function at 0x40ae80
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
Function at 0x40e680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x5bac5c
push 0xa
push 0x40e714
mov eax, dword [0x5bac40]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40e6a4
call fcn.0041c9a0
push ebx
mov eax, dword [0x5bac40]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40e6bb
call fcn.0041c9a0
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40e6cd
call fcn.0041c9a0
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x5bac60], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x5bac64], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x5bac68], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x5bac6c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x5bac70], ecx
add edx, dword [eax + 0x14]
mov dword [0x5bac74], edx
pop esi
pop ebx
ret

Function at 0x41369c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x413745
test eax, edx
je 0x413748
push 0
push 0
cmp word [eax - 0xa], 2
je 0x4136c5
push edx
mov edx, eax
mov eax, esp
call fcn.004078f4
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x4136db
push eax
lea eax, [esp + 8]
call fcn.004078f4
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4136ea
movzx eax, word [eax]
sub eax, ecx
jmp 0x413711
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41372b
add ecx, 4
js 0x413702
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x413728
push eax
mov eax, ecx
mov edx, 2
call fcn.0040657c
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41370f
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x413711
xor eax, eax
ret
test eax, eax
je 0x413758
test edx, edx
jne 0x4136ac
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00407764
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x414b9a
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x414bbb
cmp ebx, 3
je 0x414bbb
cmp ebx, 0x7b
je 0x414bbb
mov eax, esi
call fcn.00414b3c
test al, al
jne 0x414bbf
xor eax, eax
jmp 0x414bc1
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407764
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x414bdd
test al, 0x10
jne 0x414be1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x419510
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x419549
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407814
jmp 0x419552
mov eax, ebx
mov edx, esi
call fcn.004076d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41955c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41957e
movzx eax, word [esp]
jmp 0x419580
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x419e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x419f85
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00419c70
mov esi, eax
mov eax, dword [0x5b72a8]
cmp byte [eax], 0
je 0x419f2d
mov eax, dword [0x5b6ec8]
call fcn.00404a08
call fcn.004046c8
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x419e38]
call fcn.00409270
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x419fa0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x419f69
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5b6e28]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5bac40]
call fcn.00409478
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419f8c
lea eax, [ebp - 4]
mov edx, dword [0x419e38]
call fcn.00409390
ret
Function at 0x41b170
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 0x41b246
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040772c
lea eax, [ebp - 4]
call fcn.0040817c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407764
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41b230
mov eax, ebx
call fcn.00404560
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41b229
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.00407764
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41b213
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41b258
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41b213
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 0x41b230
mov eax, dword [ebp - 0x10]
call fcn.0040457c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b24d
lea eax, [ebp - 4]
call fcn.004076c8
ret

Function at 0x41c848
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004068ec
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x41c7f2
mov eax, edi
add eax, eax
call fcn.00404560
mov esi, eax
jmp 0x41c7f4
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41c82d
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41c817
mov eax, esp
cmp esi, eax
je 0x41c83a
mov eax, esi
call fcn.0040457c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41c874
cmp bl, 0
je 0x41c870
cmp bl, 0x41
jl 0x41c86b
cmp bl, 0x5a
jg 0x41c86b
or bl, 0x20
xor al, bl
inc esi
jmp 0x41c84f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41c7b4