joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cc1a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x497650]
jne 0x45cc24
repz ret
jmp fcn.00465c70

Function at 0x470b04
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x497650]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00465f9b
and dword [ebp - 0x14], 0
cmp dword [0x49a258], 0
mov dword [ebp - 0x18], eax
jne 0x470bb7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x470c5f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x470c5f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x489d34
push ebx
mov dword [0x49a258], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49a25c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49a260], eax
call edi
push eax
call esi
mov dword [0x49a268], eax
test eax, eax
je 0x470bb7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49a264], eax
mov eax, dword [0x49a264]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x470c10
cmp dword [0x49a268], ecx
je 0x470c10
push eax
call esi
push dword [0x49a268]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x470c10
test ebx, ebx
je 0x470c10
call edi
test eax, eax
je 0x470c07
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x470c07
test byte [ebp - 8], 1
jne 0x470c10
or dword [ebp + 0x10], 0x200000
jmp 0x470c43
mov eax, dword [0x49a25c]
cmp eax, dword [ebp - 0x18]
je 0x470c43
push eax
call esi
test eax, eax
je 0x470c43
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x470c43
mov eax, dword [0x49a260]
cmp eax, dword [ebp - 0x18]
je 0x470c43
push eax
call esi
test eax, eax
je 0x470c43
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49a258]
call esi
test eax, eax
je 0x470c5f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x470c61
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045cc1a
leave
ret
Function at 0x408fc6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x409004
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x40900b
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
mov dword [esp + 4], str._s_S.dll
add edx, 0x40c720
add eax, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4

Function at 0x4091ac
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x433a24], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x4091e9
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x4091d4
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4091c6
mov dword [ecx*4 + 0x433a20], eax
inc ecx
cmp ecx, 0x100
jne 0x4091bf
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x40920b
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x433a20]
jmp 0x4091f3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x46ed0541
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x2cb71ac0
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x8d07ca
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 3]
mov dword [esp + 8], ebp

Function at 0x8dcb22
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x8c33d2
pushfd
or dword [esp], reloc.MSVCRT.dll_strncpy
popfd
cpuid
nop
jmp 0x8c33e9
pop ebx
ret
lea esp, [esp + 4]
jmp 0x8c33c6
Function at 0x404568
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.0040687c
test esi, esi
jne 0x4045a0
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.004069b8
jmp 0x4045be
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004044ac
mov edi, eax
test esi, esi
je 0x4045be
cmp dword [ebx], 0
je 0x4045be
dec esi
jmp 0x4045a7
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405e40
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b0050], 0
je 0x405ea1
cmp word [0x4b032c], 0xd7b2
jne 0x405e69
cmp dword [0x4b0334], 0
jbe 0x405e69
mov eax, 0x4b0328
call dword [0x4b0344]
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 0x405ecc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ad030], 0
jne 0x405ebd
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40602c
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 [0x4ad034], 0
je 0x406052
mov edx, esi
mov eax, ebx
call dword [0x4ad034]
jmp 0x406061
mov eax, 8
call fcn.004041f4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4b0051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405ff4
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 0x408618
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 0x40877f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040687c
cmp si, word [0x4ad7d0]
jb 0x4086b2
cmp si, word [0x4ad9d0]
ja 0x4086b2
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x4086b2
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4ad7d0]
jae 0x40868c
mov edi, ebx
dec edi
jmp 0x4086ad
cmp si, word [ebx*8 + 0x4ad7d0]
jbe 0x40869c
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x4086ad
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4ad7d4]
call fcn.00408528
jmp 0x4086b2
cmp edi, dword [ebp - 0xc]
jae 0x408676
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408761
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408761
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.00406a64
push dword [ebp - 0x164]
push 0x40879c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406a64
push dword [ebp - 0x168]
push 0x4087ac
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a64
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408786
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406874
ret
Function at 0x4087b0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 6], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x408996
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b2b58
call sub.kernel32.dll_EnterCriticalSection
movzx eax, word [0x4b2b70]
cmp ax, word [ebp - 2]
jne 0x408808
mov eax, dword [ebp - 6]
mov edx, 0x4b2b74
mov ecx, 0x55
call fcn.00406a64
push 0x4b2b58
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408980
push 0x4b2b58
call sub.kernel32.dll_LeaveCriticalSection
mov eax, dword [ebp - 6]
xor edx, edx
call fcn.0040687c
push 2
movzx eax, word [ebp - 2]
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408948
cmp byte [0x4b2b54], 0
je 0x4088fe
call dword [0x4b2b4c]
mov word [ebp - 0x16], ax
movzx eax, word [ebp - 2]
push eax
call dword [0x4b2b50]
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor ecx, ecx
push ebp
push 0x4088f7
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0x38
call dword [0x4b2b48]
test al, al
je 0x4088d0
mov eax, dword [ebp - 0xc]
add eax, eax
call fcn.004041f4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x38
call dword [0x4b2b48]
mov edx, dword [ebp - 0xc]
sub edx, 2
test edx, edx
jb 0x4088c5
inc edx
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
jne 0x4088c1
mov ecx, dword [ebp - 0x10]
mov word [ecx + eax*2], 0x2c
inc eax
dec edx
jne 0x4088ae
mov eax, dword [ebp - 6]
mov edx, dword [ebp - 0x10]
call fcn.00406a28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408948
movzx eax, word [ebp - 0x16]
push eax
call dword [0x4b2b50]
cmp dword [ebp - 0x10], 0
je 0x4088f6
mov eax, dword [ebp - 0x10]
call fcn.00404210
ret
mov edx, dword [ebp - 6]
movzx eax, word [ebp - 2]
call fcn.00408618
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp ax, word [ebp - 2]
je 0x408948
mov eax, dword [ebp - 6]
cmp dword [eax], 0
je 0x40892d
mov eax, dword [ebp - 6]
mov edx, 0x4089b0
call fcn.00406c78
mov eax, dword [ebp - 6]
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x1c]
call fcn.00408618
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 6]
call fcn.00406c78
mov eax, dword [ebp - 6]
push 0x4b2b58
call sub.kernel32.dll_EnterCriticalSection
movzx eax, word [ebp - 2]
mov word [0x4b2b70], ax
push 0xaa
mov eax, dword [ebp - 6]
mov eax, dword [eax]
call fcn.00406908
push eax
push 0x4b2b74
call sub.kernel32.dll_lstrcpynW
push 0x4b2b58
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40899d
lea eax, [ebp - 0x1c]
call fcn.0040686c
ret
Function at 0x408bd4
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.00406864
xor eax, eax
push ebp
push 0x408db9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x408c14
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x408c2e
push 0x105
mov eax, dword [ebp - 4]
call fcn.00406908
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x408da3
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408dc8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408cbd
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408dc8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408cbd
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408dfc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408cbd
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408e30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x408da3
xor eax, eax
push ebp
push 0x408d9c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004089d8
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 0x408d2c
mov eax, dword [ebp - 0x10]
call fcn.004041f4
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.00406a28
jmp 0x408d77
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x408e70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x408d77
mov eax, dword [ebp - 0x10]
call fcn.004041f4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x408e70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406a28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408da3
cmp dword [ebp - 8], 0
je 0x408d92
mov eax, dword [ebp - 8]
call fcn.00404210
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 0x408dc0
lea eax, [ebp - 4]
call fcn.0040686c
ret
Function at 0x409084
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.00406864
mov eax, dword [ebp - 0x21c]
call fcn.00406864
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x409223
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.0040687c
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00406908
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 0x409124
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x409136
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x409121
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x4091ef
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 0x40915f
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.00408bd4
cmp dword [ebp - 0x220], 0
je 0x409197
push ebp
mov eax, dword [ebp - 0x220]
call fcn.00408f78
pop ecx
mov ebx, eax
jmp 0x4091ef
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.004087b0
mov eax, dword [ebp - 0x224]
call fcn.00408f78
pop ecx
mov ebx, eax
test bl, bl
jne 0x4091e2
cmp byte [0x4b2b54], 0
jne 0x4091e2
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.004087b0
mov eax, dword [ebp - 0x228]
call fcn.00408f78
pop ecx
mov ebx, eax
test bl, bl
jne 0x4091ef
push ebp
call fcn.00409028
pop ecx
mov ebx, eax
test bl, bl
je 0x409205
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40922a
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00406874
ret

Function at 0x40c9d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4b2c54
push 0xa
push 0x40ca64
mov eax, dword [0x4b2c3c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40c9f4
call fcn.00417658
push ebx
mov eax, dword [0x4b2c3c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40ca0b
call fcn.00417658
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40ca1d
call fcn.00417658
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4b2c58], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4b2c5c], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4b2c60], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4b2c64], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4b2c68], ecx
add edx, dword [eax + 0x14]
mov dword [0x4b2c6c], edx
pop esi
pop ebx
ret
Function at 0x410344
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4103ed
test eax, edx
je 0x4103f0
push 0
push 0
cmp word [eax - 0xa], 2
je 0x41036d
push edx
mov edx, eax
mov eax, esp
call fcn.00406a80
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x410383
push eax
lea eax, [esp + 8]
call fcn.00406a80
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x410392
movzx eax, word [eax]
sub eax, ecx
jmp 0x4103b9
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 0x4103d3
add ecx, 4
js 0x4103aa
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x4103d0
push eax
mov eax, ecx
mov edx, 2
call fcn.004060cc
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4103b7
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4103b9
xor eax, eax
ret
test eax, eax
je 0x410400
test edx, edx
jne 0x410354
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x414b28
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 0x414b61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004069b8
jmp 0x414b6a
mov eax, ebx
mov edx, esi
call fcn.0040687c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414b74
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 0x414b96
movzx eax, word [esp]
jmp 0x414b98
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x415328
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 0x41544d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00415138
mov esi, eax
mov eax, dword [0x4af20c]
cmp byte [eax], 0
je 0x4153f5
mov eax, dword [0x4aefc8]
call fcn.004046cc
call fcn.0040435c
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 [0x415300]
call fcn.00408040
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 0x415468
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x415431
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4aef64]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b2c3c]
call fcn.00408134
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 0x415454
lea eax, [ebp - 4]
mov edx, dword [0x415300]
call fcn.0040804c
ret

Function at 0x416604
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 0x4166da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004068d0
lea eax, [ebp - 4]
call fcn.00407268
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406908
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4166c4
mov eax, ebx
call fcn.004041f4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4166bd
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.00406908
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4166a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4166ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4166a7
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 0x4166c4
mov eax, dword [ebp - 0x10]
call fcn.00404210
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4166e1
lea eax, [ebp - 4]
call fcn.0040686c
ret