joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487aa0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x487ace
mov eax, ebx
call fcn.00488554
cmp dword [ebx + 0x40], 0
je 0x487ac7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x487b3f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x487b31
cmp dword [ebx + 8], 0
je 0x487af0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x487b02
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x487b31
cmp dword [ebx + 8], 0
je 0x487ae3
cmp eax, 3
je 0x487b15
dec eax
jne 0x487ae3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x487ae3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x487ae3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x487b5d
cmp dword [ebx + 0x14], 0xcc
je 0x487b5d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00487b68
pop ebx
ret

Function at 0x498848
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404594
xor eax, eax
push ebp
push 0x498914
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
lea ebx, [ebp - 0x40c]
mov eax, ecx
mov edx, 8
test al, 1
je 0x49888e
shr eax, 1
xor eax, 0xedb88320
jmp 0x498890
shr eax, 1
dec edx
jne 0x498881
mov dword [ebx], eax
inc ecx
add ebx, 4
cmp ecx, 0x100
jne 0x49887a
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004043a4
mov esi, eax
test esi, esi
jle 0x4988ed
mov ecx, 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ecx - 1]
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
and eax, 0xff
mov eax, dword [ebp + eax*4 - 0x40c]
shr ebx, 8
and ebx, 0xffffff
xor eax, ebx
mov ebx, eax
inc ecx
dec esi
jne 0x4988b7
mov ecx, dword [ebp - 0xc]
mov eax, ebx
not eax
mov edx, 8
call fcn.004084f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49891b
lea eax, [ebp - 4]
call fcn.004040e4
ret

Function at 0x499044
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
xor edx, edx
mov al, 2
call fcn.00406db4
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x499074
mov ecx, 0x4990ac
mov dl, 1
mov eax, dword [0x4073dc]
call fcn.0040bac4
call fcn.00403a9c
call sub.ICMP.dll_IcmpCreateFile
mov dword [0x4b4dc4], eax
cmp dword [0x4b4dc4], 0xffffffff
jne 0x49909d
mov ecx, 0x4990c8
mov dl, 1
mov eax, dword [0x4073dc]
call fcn.0040bac4
call fcn.00403a9c
add esp, 0x190
ret
Function at 0x4990f0
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404594
xor eax, eax
push ebp
push 0x499329
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043a4
inc eax
call fcn.004026f4
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004043a4
mov edx, eax
inc edx
mov eax, ebx
call fcn.00406de8
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00408bcc
push ebx
call sub.wsock32.dll_inet_addr
mov esi, eax
mov eax, ebx
call fcn.00402714
mov eax, esi
xor edx, edx
cmp edx, 0xffffffff
jne 0x499191
cmp eax, 0xffffffff
jne 0x499191
mov eax, dword [ebp - 0xc]
mov edx, 0x499340
call fcn.00404138
jmp 0x4992f3
mov eax, 0x28
lea edx, [eax + 0x1c]
mov dword [ebp - 0x24], edx
call fcn.004026f4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
call fcn.004026f4
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402ce4
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x1c]
mov edx, 0x499358
call fcn.0040417c
mov eax, dword [ebp - 0x1c]
call fcn.004045a4
mov edi, eax
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 8
call fcn.00402ce4
mov byte [ebp - 0x14], 0x40
movzx eax, word [ebp - 6]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004043a4
push eax
push edi
push esi
mov eax, dword [0x4b4dc4]
push eax
call sub.ICMP.dll_IcmpSendEcho
test eax, eax
jne 0x49923e
push 0x499374
push dword [ebp - 4]
push 0x499380
push 0x49938c
mov eax, dword [ebp - 0xc]
mov edx, 4
call fcn.00404464
jmp 0x4992f3
mov al, byte [edi]
mov edx, dword [ebx + 0x18]
cmp al, byte [edx]
jne 0x4992e4
push 0x499374
mov eax, dword [ebp - 4]
call fcn.004045a4
mov edx, eax
lea eax, [ebp - 0x128]
call fcn.00402dd8
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x28]
call fcn.00404348
push dword [ebp - 0x28]
push 0x499380
push 0x4993a0
lea edx, [ebp - 0x12c]
movzx eax, word [ebx + 0xc]
call fcn.004083e0
push dword [ebp - 0x12c]
push 0x4993b0
push 0x4993bc
mov eax, dword [ebx + 8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x130]
call fcn.004084cc
push dword [ebp - 0x130]
push 0x4993cc
push 0x4993d8
lea edx, [ebp - 0x134]
xor eax, eax
mov al, byte [ebx + 0x14]
call fcn.004083e0
push dword [ebp - 0x134]
mov eax, dword [ebp - 0xc]
mov edx, 0xb
call fcn.00404464
mov eax, dword [ebp - 0x18]
call fcn.00402714
mov eax, ebx
call fcn.00402714
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499330
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.00404108
lea eax, [ebp - 0x28]
call fcn.004040e4
lea eax, [ebp - 0x1c]
call fcn.004040e4
lea eax, [ebp - 4]
call fcn.004040e4
ret
Function at 0x404578
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.00406dd0
test esi, esi
jne 0x4045b0
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.00406f0c
jmp 0x4045ce
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004044bc
mov edi, eax
test esi, esi
je 0x4045ce
cmp dword [ebx], 0
je 0x4045ce
dec esi
jmp 0x4045b7
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x406288
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ac054], 0
je 0x4062e9
cmp word [0x4ac330], 0xd7b2
jne 0x4062b1
cmp dword [0x4ac338], 0
jbe 0x4062b1
mov eax, 0x4ac32c
call dword [0x4ac348]
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 0x406314
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a9030], 0
jne 0x406305
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406474
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 [0x4a9038], 0
je 0x40649a
mov edx, esi
mov eax, ebx
call dword [0x4a9038]
jmp 0x4064a9
mov eax, 8
call fcn.00404204
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4ac055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40643c
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 0x408ca0
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 0x408e07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406dd0
cmp si, word [0x4a97e0]
jb 0x408d3a
cmp si, word [0x4a99e0]
ja 0x408d3a
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x408d3a
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4a97e0]
jae 0x408d14
mov edi, ebx
dec edi
jmp 0x408d35
cmp si, word [ebx*8 + 0x4a97e0]
jbe 0x408d24
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408d35
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4a97e4]
call fcn.00408bb0
jmp 0x408d3a
cmp edi, dword [ebp - 0xc]
jae 0x408cfe
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408de9
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408de9
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.00406fb8
push dword [ebp - 0x164]
push 0x408e24
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406fb8
push dword [ebp - 0x168]
push 0x408e34
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406fb8
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00407370
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408e0e
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406dc8
ret
Function at 0x408fc0
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 0x4090c5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4aeb5c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4aeb74]
jne 0x40900c
mov eax, esi
mov edx, 0x4aeb78
mov ecx, 0x55
call fcn.00406fb8
push 0x4aeb5c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4090af
push 0x4aeb5c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406dd0
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40907d
cmp byte [0x4aeb58], 0
je 0x409042
mov edx, esi
mov eax, ebx
call fcn.00408ea0
jmp 0x40907d
mov edx, esi
mov eax, ebx
call fcn.00408ca0
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40907d
cmp dword [esi], 0
je 0x409066
mov eax, esi
mov edx, 0x4090e0
call fcn.004071cc
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408ca0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004071cc
push 0x4aeb5c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4aeb74], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406e5c
push eax
push 0x4aeb78
call sub.kernel32.dll_lstrcpynW
push 0x4aeb5c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4090cc
lea eax, [ebp - 4]
call fcn.00406dc0
ret
Function at 0x409304
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.00406db8
xor eax, eax
push ebp
push 0x4094e9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409344
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40935e
push 0x105
mov eax, dword [ebp - 4]
call fcn.00406e5c
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x4094d3
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4094f8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4093ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4094f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4093ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40952c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4093ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409560
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4094d3
xor eax, eax
push ebp
push 0x4094cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409108
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 0x40945c
mov eax, dword [ebp - 0x10]
call fcn.00404204
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.00406f7c
jmp 0x4094a7
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x4095a0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4094a7
mov eax, dword [ebp - 0x10]
call fcn.00404204
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x4095a0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4094d3
cmp dword [ebp - 8], 0
je 0x4094c2
mov eax, dword [ebp - 8]
call fcn.00404220
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 0x4094f0
lea eax, [ebp - 4]
call fcn.00406dc0
ret
Function at 0x4097b4
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.00406db8
mov eax, dword [ebp - 0x21c]
call fcn.00406db8
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x409953
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406dd0
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00406e5c
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 0x409854
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x409866
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x409851
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40991f
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 0x40988f
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.00409304
cmp dword [ebp - 0x220], 0
je 0x4098c7
push ebp
mov eax, dword [ebp - 0x220]
call fcn.004096a8
pop ecx
mov ebx, eax
jmp 0x40991f
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00408fc0
mov eax, dword [ebp - 0x224]
call fcn.004096a8
pop ecx
mov ebx, eax
test bl, bl
jne 0x409912
cmp byte [0x4aeb58], 0
jne 0x409912
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00408fc0
mov eax, dword [ebp - 0x228]
call fcn.004096a8
pop ecx
mov ebx, eax
test bl, bl
jne 0x40991f
push ebp
call fcn.00409758
pop ecx
mov ebx, eax
test bl, bl
je 0x409935
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406fb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40995a
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00406dc8
ret

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

Disassembly:
push ebx
push esi
mov esi, 0x4aec50
push 0xa
push 0x40d1e0
mov eax, dword [0x4aec40]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40d170
call fcn.00417d1c
push ebx
mov eax, dword [0x4aec40]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40d187
call fcn.00417d1c
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40d199
call fcn.00417d1c
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4aec54], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4aec58], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4aec5c], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4aec60], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4aec64], ecx
add edx, dword [eax + 0x14]
mov dword [0x4aec68], edx
pop esi
pop ebx
ret

Function at 0x410a90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x410b39
test eax, edx
je 0x410b3c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x410ab9
push edx
mov edx, eax
mov eax, esp
call fcn.00406fd4
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x410acf
push eax
lea eax, [esp + 8]
call fcn.00406fd4
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x410ade
movzx eax, word [eax]
sub eax, ecx
jmp 0x410b05
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 0x410b1f
add ecx, 4
js 0x410af6
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x410b1c
push eax
mov eax, ecx
mov edx, 2
call fcn.00406514
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x410b03
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x410b05
xor eax, eax
ret
test eax, eax
je 0x410b4c
test edx, edx
jne 0x410aa0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4151ec
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 0x415225
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406f0c
jmp 0x41522e
mov eax, ebx
mov edx, esi
call fcn.00406dd0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x415238
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 0x41525a
movzx eax, word [esp]
jmp 0x41525c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4159ec
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 0x415b11
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004157fc
mov esi, eax
mov eax, dword [0x4ab1f4]
cmp byte [eax], 0
je 0x415ab9
mov eax, dword [0x4aafac]
call fcn.004049d4
call fcn.0040436c
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 [0x4159c4]
call fcn.0040869c
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 0x415b2c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x415af5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4aaf48]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4aec40]
call fcn.00408790
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 0x415b18
lea eax, [ebp - 4]
mov edx, dword [0x4159c4]
call fcn.004086a8
ret

Function at 0x416cc8
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 0x416d9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406e24
lea eax, [ebp - 4]
call fcn.00407814
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406e5c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x416d88
mov eax, ebx
call fcn.00404204
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x416d81
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.00406e5c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x416d6b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x416db0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x416d6b
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 0x416d88
mov eax, dword [ebp - 0x10]
call fcn.00404220
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416da5
lea eax, [ebp - 4]
call fcn.00406dc0
ret