joyce8/EMBER2024-capa huggingface dataset:
Function at 0x25fa359
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x8a160aad
movsx edx, ax
mov edx, dword [ebp + edx - 0xaad]
or ax, 0xb6b4
shr word [esp + 1], 0x41
adc ebp, 4
movzx eax, byte [esi]
inc word [esp + 1]
sar dword [esp], 0xed
push 0xa8e9186
adc esi, 1
shl dword [esp], 0xe1
push 0xf1a8fbb8
add byte [esp + 8], 0xa4
xor al, bl
ror byte [esp + 8], 0xe7
neg al
rol dword [esp + 8], 0x70
not al
jae fcn.029e25f7
rol al, 1
jmp 0x249fde9
push ecx
pushfd
mov ecx, 0x32037516
neg ecx
mov ecx, 0
js 0x262d7ff
push 0x95b5fabb
mov dword [esp + 0xc], eax
jg 0x25405fa
jbe 0x24ddc7d
mov dword [ebp], esi
lea esp, [esp + 8]
jmp fcn.025db068

Function at 0x2612ed6
Capabilities:
Encode data using base64

Disassembly:
mov word [esi], dx
push 0x58b5b90c
push 0x2f2bc03a
lea esp, [esp + 0x18]
jmp fcn.029af852

Function at 0x2988b6c
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 0x14]
jmp fcn.029af852
jmp 0x2574819

Function at 0x29a1630
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 0xc]
jmp fcn.029af852
jmp 0x25afe64

Function at 0x29a6ae6
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
mov dword [esp + edx - 0x609], 0xbe1a93a3
sub dword [esp + edx - 0x609], eax
mov dword [esp + edx - 0x609], ebx
call fcn.024e6471
push 0xf1b31e0a
lea esp, [esp + 0xc]
jb fcn.029af852
sti
push 0x8ea0f036
xchg dword [edx + ecx - 0x7c], edx
les ecx, [edx + 0x30d6f803]
and byte [esi - 0x71], dh
movsb byte es:[edi], byte [esi]
sub dl, byte [esp + edx*4]
invalid

Function at 0x29ab2fb
Capabilities:
Encode data using base64

Disassembly:
mov dword [esp + 4], 0x2e8945bc
not si
or dx, si
mov word [ebp], dx
call fcn.0261dc35
jmp 0x25321ac
adc ebp, 1
push 0x7335463b
not dx
jmp 0x2596184

Function at 0x29b8800
Capabilities:
Encode data using base64

Disassembly:
adc di, cx
mov word [esi], di
jmp 0x29dcaed
lea esp, [esp + 0x10]
jmp fcn.029af852
push 0x97b9f615
jmp 0x29bdf3c

Function at 0x29ba642
Capabilities:
Encode data using base64

Disassembly:
jmp 0x29d50ea
lea esp, [esp + 0x10]
jmp fcn.029af852

Function at 0x29bf383
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 0x10]
jne 0x2633dff
jmp 0x25048f3
call fcn.0254cf8a
mov ebx, 0x23b50689
movzx ebx, byte [ecx + ebx - 0x23b50689]
jmp 0x254e289
xor eax, 0x31acca3
push 0xc2fce03
dec edx
jmp 0x252fcec

Function at 0x29c899d
Capabilities:
Encode data using base64

Disassembly:
mov dword [esi], eax
mov dword [esp], 0xd4116c39
lea esp, [esp + 0xc]
jmp fcn.029af852

Function at 0x29d40c1
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 0x14]
jmp fcn.029af852

Function at 0x29dcef9
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 0xc]
ja fcn.029af852
mov eax, esp
mov edi, 0xfc11500c
mov ecx, 0x4c
lea edx, [esi - 0x80]
sub edi, edi
bswap edi
btr edi, 0xa0
and edx, 0xfffffffc
bt edi, edi
jae 0x2ae4018
not byte [esp + 3]
lea esp, [esp + 8]
jmp fcn.024bbe54

Function at 0x2aeb2b3
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 0x18]
jmp fcn.029af852
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x404748
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.00407c9c
test esi, esi
jne 0x404780
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.00407dd8
jmp 0x40479e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040462c
mov edi, eax
test esi, esi
je 0x40479e
cmp dword [ebx], 0
je 0x40479e
dec esi
jmp 0x404787
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4068a8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x6ac054], 0
je 0x406909
cmp word [0x6ac330], 0xd7b2
jne 0x4068d1
cmp dword [0x6ac338], 0
jbe 0x4068d1
mov eax, 0x6ac32c
call dword [0x6ac348]
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 0x406934
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x690034], 0
jne 0x406925
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406ab4
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 [0x69003c], 0
je 0x406ada
mov edx, esi
mov eax, ebx
call dword [0x69003c]
jmp 0x406ae9
mov eax, 8
call fcn.00404368
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x6ac055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x406a7c
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 0x4087a8
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 0x4087ea
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 0x40880a
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.00407eac
add esp, 0x41c
pop esi
pop ebx
ret
Function at 0x40a10c
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 0x40a273
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00407c9c
cmp si, word [0x690804]
jb 0x40a1a6
cmp si, word [0x690a04]
ja 0x40a1a6
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x40a1a6
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x690804]
jae 0x40a180
mov edi, ebx
dec edi
jmp 0x40a1a1
cmp si, word [ebx*8 + 0x690804]
jbe 0x40a190
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x40a1a1
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x690808]
call fcn.0040a01c
jmp 0x40a1a6
cmp edi, dword [ebp - 0xc]
jae 0x40a16a
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x40a255
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a255
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.00407eac
push dword [ebp - 0x164]
push 0x40a290
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00407eac
push dword [ebp - 0x168]
push 0x40a2a0
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00407eac
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00408264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a27a
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00407c94
ret
Function at 0x40a42c
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 0x40a531
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6aeb5c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x6aeb74]
jne 0x40a478
mov eax, esi
mov edx, 0x6aeb78
mov ecx, 0x55
call fcn.00407eac
push 0x6aeb5c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40a51b
push 0x6aeb5c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00407c9c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a4e9
cmp byte [0x6aeb58], 0
je 0x40a4ae
mov edx, esi
mov eax, ebx
call fcn.0040a30c
jmp 0x40a4e9
mov edx, esi
mov eax, ebx
call fcn.0040a10c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40a4e9
cmp dword [esi], 0
je 0x40a4d2
mov eax, esi
mov edx, 0x40a54c
call fcn.004080c0
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040a10c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004080c0
push 0x6aeb5c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x6aeb74], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407d28
push eax
push 0x6aeb78
call sub.kernel32.dll_lstrcpynW
push 0x6aeb5c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a538
lea eax, [ebp - 4]
call fcn.00407c8c
ret
Function at 0x40a770
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.00407c84
xor eax, eax
push ebp
push 0x40a955
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40a7b0
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40a7ca
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407d28
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40a93f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a964
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a859
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a964
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a859
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a998
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a859
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a9cc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40a93f
xor eax, eax
push ebp
push 0x40a938
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040a574
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 0x40a8c8
mov eax, dword [ebp - 0x10]
call fcn.00404368
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.00407e58
jmp 0x40a913
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40aa0c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a913
mov eax, dword [ebp - 0x10]
call fcn.00404368
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40aa0c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a93f
cmp dword [ebp - 8], 0
je 0x40a92e
mov eax, dword [ebp - 8]
call fcn.00404384
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 0x40a95c
lea eax, [ebp - 4]
call fcn.00407c8c
ret
Function at 0x40ac20
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.00407c84
mov eax, dword [ebp - 0x21c]
call fcn.00407c84
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x40adbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00407c9c
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00407d28
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 0x40acc0
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x40acd2
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x40acbd
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40ad8b
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 0x40acfb
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.0040a770
cmp dword [ebp - 0x220], 0
je 0x40ad33
push ebp
mov eax, dword [ebp - 0x220]
call fcn.0040ab14
pop ecx
mov ebx, eax
jmp 0x40ad8b
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.0040a42c
mov eax, dword [ebp - 0x224]
call fcn.0040ab14
pop ecx
mov ebx, eax
test bl, bl
jne 0x40ad7e
cmp byte [0x6aeb58], 0
jne 0x40ad7e
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.0040a42c
mov eax, dword [ebp - 0x228]
call fcn.0040ab14
pop ecx
mov ebx, eax
test bl, bl
jne 0x40ad8b
push ebp
call fcn.0040abc4
pop ecx
mov ebx, eax
test bl, bl
je 0x40ada1
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00407eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40adc6
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00407c94
ret

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

Disassembly:
push ebx
push esi
mov esi, 0x6aec5c
push 0xa
push 0x410354
mov eax, dword [0x6aec40]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x4102e4
call fcn.0041e57c
push ebx
mov eax, dword [0x6aec40]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x4102fb
call fcn.0041e57c
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x41030d
call fcn.0041e57c
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x6aec60], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x6aec64], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x6aec68], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x6aec6c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x6aec70], ecx
add edx, dword [eax + 0x14]
mov dword [0x6aec74], edx
pop esi
pop ebx
ret

Function at 0x415408
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4154b1
test eax, edx
je 0x4154b4
push 0
push 0
cmp word [eax - 0xa], 2
je 0x415431
push edx
mov edx, eax
mov eax, esp
call fcn.00407ec8
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x415447
push eax
lea eax, [esp + 8]
call fcn.00407ec8
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x415456
movzx eax, word [eax]
sub eax, ecx
jmp 0x41547d
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 0x415497
add ecx, 4
js 0x41546e
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x415494
push eax
mov eax, ecx
mov edx, 2
call fcn.00406b54
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41547b
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41547d
xor eax, eax
ret
test eax, eax
je 0x4154c4
test edx, edx
jne 0x415418
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00407d28
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x416a06
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x416a27
cmp ebx, 3
je 0x416a27
cmp ebx, 0x7b
je 0x416a27
mov eax, esi
call fcn.004169a8
test al, al
jne 0x416a2b
xor eax, eax
jmp 0x416a2d
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407d28
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x416a49
test al, 0x10
jne 0x416a4d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x416b68
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407d28
push eax
call sub.kernel32.dll_GetFileAttributesW
pop ebx
ret
Function at 0x41b354
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 0x41b38d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407dd8
jmp 0x41b396
mov eax, ebx
mov edx, esi
call fcn.00407c9c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41b3a0
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 0x41b3c2
movzx eax, word [esp]
jmp 0x41b3c4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41bb54
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 0x41bc79
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041b964
mov esi, eax
mov eax, dword [0x6ab4f4]
cmp byte [eax], 0
je 0x41bc21
mov eax, dword [0x6aaf34]
call fcn.00404c34
call fcn.004044d0
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 [0x41bb2c]
call fcn.004099f4
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 0x41bc94
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41bc5d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x6aae68]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6aec40]
call fcn.00409bfc
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 0x41bc80
lea eax, [ebp - 4]
mov edx, dword [0x41bb2c]
call fcn.00409b14
ret