joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2b80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x70000]
push edi
jmp 0x4b2b9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b2ba1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2b90
mov eax, 1
add ebx, ebx
jne 0x4b2bb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b2bc4
jne 0x4b2be3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2be3
dec eax
add ebx, ebx
jne 0x4b2bd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b2ba8
add ebx, ebx
jne 0x4b2bdf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b2c35
xor ecx, ecx
sub eax, 3
jb 0x4b2bfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b2c6a
sar eax, 1
mov ebp, eax
jmp 0x4b2c06
add ebx, ebx
jne 0x4b2c06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2bd4
inc ecx
add ebx, ebx
jne 0x4b2c14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2bd4
add ebx, ebx
jne 0x4b2c21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b2c16
jne 0x4b2c32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b2c16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b2c54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b2c46
jmp 0x4b2b96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b2c54
add edi, ecx
jmp 0x4b2b96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b2c72
cmp byte [edi], 0x11
jne 0x4b2c72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b2c77
lea edi, [esi + 0xae000]
mov eax, dword [edi]
or eax, eax
je 0x4b2cef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb395c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb3ab0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b2ca4
mov ecx, edi
jns 0x4b2cd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb3ab4]
or eax, eax
je 0x4b2ce9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b2cc1
call dword [esi + 0xb3ac4]
mov ebp, dword [esi + 0xb3ab8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b2d23
sub esp, 0xffffff80
jmp 0x416310
Function at 0x704d60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a8000]
push edi
or ebp, 0xffffffff
jmp 0x704d82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x704d89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x704d78
mov eax, 1
add ebx, ebx
jne 0x704d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x704dac
jne 0x704dcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x704dcb
dec eax
add ebx, ebx
jne 0x704db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x704d90
add ebx, ebx
jne 0x704dc7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x704e1d
xor ecx, ecx
sub eax, 3
jb 0x704de3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x704e52
sar eax, 1
mov ebp, eax
jmp 0x704dee
add ebx, ebx
jne 0x704dee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x704dbc
inc ecx
add ebx, ebx
jne 0x704dfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x704dbc
add ebx, ebx
jne 0x704e09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x704dfe
jne 0x704e1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x704dfe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x704e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x704e2e
jmp 0x704d7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x704e3c
add edi, ecx
jmp 0x704d7e
pop esi
mov edi, esi
mov ecx, 0x1445
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x704e5a
cmp byte [edi], 0x1b
jne 0x704e5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x704e5f
lea edi, [esi + 0x302000]
mov eax, dword [edi]
or eax, eax
je 0x704ed7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x304840]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30487c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x704e8c
mov ecx, edi
jns 0x704ebb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x304880]
or eax, eax
je 0x704ed1
mov dword [ebx], eax
add ebx, 4
jmp 0x704ea9
call dword [esi + 0x304890]
mov ebp, dword [esi + 0x304884]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x704f0b
sub esp, 0xffffff80
jmp 0x4094dc

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x4045a8
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.004068fc
test esi, esi
jne 0x4045e0
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.00406a38
jmp 0x4045fe
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040448c
mov edi, eax
test esi, esi
je 0x4045fe
cmp dword [ebx], 0
je 0x4045fe
dec esi
jmp 0x4045e7
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405e28
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4bb050], 0
je 0x405e89
cmp word [0x4bb32c], 0xd7b2
jne 0x405e51
cmp dword [0x4bb334], 0
jbe 0x405e51
mov eax, 0x4bb328
call dword [0x4bb344]
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 0x405eb4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b8030], 0
jne 0x405ea5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406014
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 [0x4b8034], 0
je 0x40603a
mov edx, esi
mov eax, ebx
call dword [0x4b8034]
jmp 0x406049
mov eax, 8
call fcn.004041d4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4bb051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405fdc
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 0x4086cc
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 0x408833
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004068fc
cmp si, word [0x4b87dc]
jb 0x408766
cmp si, word [0x4b89dc]
ja 0x408766
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x408766
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4b87dc]
jae 0x408740
mov edi, ebx
dec edi
jmp 0x408761
cmp si, word [ebx*8 + 0x4b87dc]
jbe 0x408750
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408761
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4b87e0]
call fcn.004085dc
jmp 0x408766
cmp edi, dword [ebp - 0xc]
jae 0x40872a
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408815
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408815
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.00406ae4
push dword [ebp - 0x164]
push 0x408850
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406ae4
push dword [ebp - 0x168]
push 0x408860
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406ae4
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406e9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40883a
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.004068f4
ret
Function at 0x4089ec
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 0x408af1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4bdb58
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4bdb70]
jne 0x408a38
mov eax, esi
mov edx, 0x4bdb74
mov ecx, 0x55
call fcn.00406ae4
push 0x4bdb58
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408adb
push 0x4bdb58
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.004068fc
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408aa9
cmp byte [0x4bdb54], 0
je 0x408a6e
mov edx, esi
mov eax, ebx
call fcn.004088cc
jmp 0x408aa9
mov edx, esi
mov eax, ebx
call fcn.004086cc
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408aa9
cmp dword [esi], 0
je 0x408a92
mov eax, esi
mov edx, 0x408b0c
call fcn.00406cf8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004086cc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406cf8
push 0x4bdb58
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4bdb70], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406988
push eax
push 0x4bdb74
call sub.kernel32.dll_lstrcpynW
push 0x4bdb58
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408af8
lea eax, [ebp - 4]
call fcn.004068ec
ret
Function at 0x408d30
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.004068e4
xor eax, eax
push ebp
push 0x408f15
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x408d70
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x408d8a
push 0x105
mov eax, dword [ebp - 4]
call fcn.00406988
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x408eff
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408f24
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e19
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408f24
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e19
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408f58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e19
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408f8c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x408eff
xor eax, eax
push ebp
push 0x408ef8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408b34
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 0x408e88
mov eax, dword [ebp - 0x10]
call fcn.004041d4
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.00406aa8
jmp 0x408ed3
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x408fcc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x408ed3
mov eax, dword [ebp - 0x10]
call fcn.004041d4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x408fcc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408eff
cmp dword [ebp - 8], 0
je 0x408eee
mov eax, dword [ebp - 8]
call fcn.004041f0
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 0x408f1c
lea eax, [ebp - 4]
call fcn.004068ec
ret
Function at 0x4091e0
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.004068e4
mov eax, dword [ebp - 0x21c]
call fcn.004068e4
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x40937f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.004068fc
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00406988
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 0x409280
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x409292
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x40927d
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40934b
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 0x4092bb
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.00408d30
cmp dword [ebp - 0x220], 0
je 0x4092f3
push ebp
mov eax, dword [ebp - 0x220]
call fcn.004090d4
pop ecx
mov ebx, eax
jmp 0x40934b
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.004089ec
mov eax, dword [ebp - 0x224]
call fcn.004090d4
pop ecx
mov ebx, eax
test bl, bl
jne 0x40933e
cmp byte [0x4bdb54], 0
jne 0x40933e
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.004089ec
mov eax, dword [ebp - 0x228]
call fcn.004090d4
pop ecx
mov ebx, eax
test bl, bl
jne 0x40934b
push ebp
call fcn.00409184
pop ecx
mov ebx, eax
test bl, bl
je 0x409361
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409386
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.004068f4
ret

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

Disassembly:
push ebx
push esi
mov esi, 0x4bdc4c
push 0xa
push 0x40cb2c
mov eax, dword [0x4bdc3c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40cabc
call fcn.00417938
push ebx
mov eax, dword [0x4bdc3c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40cad3
call fcn.00417938
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40cae5
call fcn.00417938
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4bdc50], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4bdc54], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4bdc58], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4bdc5c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4bdc60], ecx
add edx, dword [eax + 0x14]
mov dword [0x4bdc64], edx
pop esi
pop ebx
ret

Function at 0x4103dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x410485
test eax, edx
je 0x410488
push 0
push 0
cmp word [eax - 0xa], 2
je 0x410405
push edx
mov edx, eax
mov eax, esp
call fcn.00406b00
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x41041b
push eax
lea eax, [esp + 8]
call fcn.00406b00
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41042a
movzx eax, word [eax]
sub eax, ecx
jmp 0x410451
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 0x41046b
add ecx, 4
js 0x410442
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x410468
push eax
mov eax, ecx
mov edx, 2
call fcn.004060b4
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41044f
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x410451
xor eax, eax
ret
test eax, eax
je 0x410498
test edx, edx
jne 0x4103ec
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x414ce4
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 0x414d1d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406a38
jmp 0x414d26
mov eax, ebx
mov edx, esi
call fcn.004068fc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414d30
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 0x414d52
movzx eax, word [esp]
jmp 0x414d54
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4154e4
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 0x415609
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004152f4
mov esi, eax
mov eax, dword [0x4ba27c]
cmp byte [eax], 0
je 0x4155b1
mov eax, dword [0x4ba03c]
call fcn.004046dc
call fcn.0040433c
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 [0x4154bc]
call fcn.004080c8
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 0x415624
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4155ed
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4b9fd8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4bdc3c]
call fcn.004081bc
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 0x415610
lea eax, [ebp - 4]
mov edx, dword [0x4154bc]
call fcn.004080d4
ret

Function at 0x4167c0
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 0x416896
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406950
lea eax, [ebp - 4]
call fcn.004072e8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406988
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x416880
mov eax, ebx
call fcn.004041d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x416879
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.00406988
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x416863
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4168a8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x416863
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 0x416880
mov eax, dword [ebp - 0x10]
call fcn.004041f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41689d
lea eax, [ebp - 4]
call fcn.004068ec
ret