joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70bad4d0
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x70bd60cc]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
test eax, eax
jne 0x70bad518
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x70bad4f8
mov eax, 1
jmp 0x70bad513
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x70bad5e9
mov eax, 2
mov dword [0x70bd60cc], eax
cmp eax, 1
jne 0x70bad538
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x70bad5fb
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x70bad553
mov ecx, dword [0x70bd5bc8]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, eax
test esi, esi
jne 0x70bad572
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.70baa990
mov edi, eax
add esp, 4
test edi, edi
jne 0x70bad586
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x70bad5e0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x70bad5c4
mov edx, dword [esp + 0x24]
push eax
push eax
push 0xffffffffffffffff
push edi
push 1
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
je 0x70bad5e0
push edi
call fcn.70ba9110
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push edi
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jne 0x70bad5f0
push edi
call fcn.70ba9110
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call fcn.70ba9110
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x70bad600
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x70bd60d0]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push edi
test eax, eax
jne 0x70bad648
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x70bad62c
mov eax, 1
jmp 0x70bad643
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x70bad728
mov eax, 2
mov dword [0x70bd60d0], eax
cmp eax, 2
jne 0x70bad668
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 1
jne 0x70bad73a
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x70bad683
mov ecx, dword [0x70bd5bc8]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x70bad6a2
pop edi
pop esi
pop ebp
pop ebx
ret
lea edx, [edi + edi]
push edx
call fcn.70baa990
mov esi, eax
add esp, 4
test esi, esi
jne 0x70bad6b9
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x70bad71f
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push 0
jne 0x70bad700
mov eax, dword [esp + 0x2c]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x70bad71f
push esi
call fcn.70ba9110
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push 0xffffffffffffffff
push esi
push 0x220
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x70bad72f
push esi
call fcn.70ba9110
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.70ba9110
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x404998
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00406d34
test esi, esi
jne 0x4049ce
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.00406ebc
jmp 0x4049ec
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004048dc
mov edi, eax
test esi, esi
je 0x4049ec
cmp dword [ebx], 0
je 0x4049ec
dec esi
jmp 0x4049d5
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405a74
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405e6c
mov byte [esp], al
cmp byte [esp], 0
jne 0x405c00
test edi, edi
je 0x405c00
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405b37
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405b12
cmp edi, 0xffffffff
je 0x405ad3
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405ad3
mov byte [esp], 0
jmp 0x405c00
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405b12
test ebx, ebx
jne 0x405b08
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.0040289c
test eax, eax
jne 0x405b08
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405c00
call 0x405f90
dec ebp
test ebp, ebp
jg 0x405ab8
cmp edi, 0xffffffff
je 0x405b37
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405b35
mov byte [esp], 0
jmp 0x405c00
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405a82
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.0040289c
cmp ebx, eax
jne 0x405b37
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405c70
mov edx, eax
mov ebx, dword [0x5968f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405b9e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405b9c
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405b9e
xor edi, edi
cmp byte [esp], 0
je 0x405bc7
mov ebx, dword [esi]
test bl, 1
jne 0x405be0
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.0040289c
cmp ebx, eax
jne 0x405ba4
mov byte [esp + 1], 1
jmp 0x405be0
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.0040289c
cmp ebx, eax
jne 0x405bc7
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405b51
cmp byte [esp], 0
je 0x405c00
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406990
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x596058], 0
je 0x4069f7
cmp word [0x596344], 0xd7b2
jne 0x4069b9
cmp dword [0x59634c], 0
jbe 0x4069b9
mov eax, 0x596340
call dword [0x59635c]
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
mov eax, 0x406a24
call fcn.0040777c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x58c032], 0
jne 0x406a13
push 0
push 0x58c9c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406bf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x58c034], 0
je 0x406c1b
mov edx, edi
mov eax, esi
call dword [0x58c034]
mov ebx, eax
jmp 0x406c2c
mov eax, 8
call fcn.00404618
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x596059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x406bb8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x406c61
mov edx, 8
mov eax, ebx
call fcn.00404634
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x409838
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40999d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406d34
cmp si, word [0x58ca00]
jb 0x4098d0
cmp si, word [0x58cc00]
ja 0x4098d0
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4098d0
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x58ca00]
jae 0x4098aa
mov edi, ebx
dec edi
jmp 0x4098cb
cmp si, word [ebx*8 + 0x58ca00]
jbe 0x4098ba
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4098cb
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x58ca04]
call fcn.00409748
jmp 0x4098d0
cmp edi, dword [ebp - 8]
jae 0x409894
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40997f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40997f
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407be0
push dword [ebp - 0x160]
push 0x4099b8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407be0
push dword [ebp - 0x164]
push 0x4099c8
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407be0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4099a4
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406d94
ret
Function at 0x409b50
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 0x409c53
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x598b88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x598ba0]
jne 0x409b9c
mov eax, esi
mov edx, 0x598ba2
mov ecx, 0x55
call fcn.00407be0
push 0x598b88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409c3d
push 0x598b88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406d34
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409c0b
cmp byte [0x598b84], 0
je 0x409bd0
mov edx, esi
mov eax, ebx
call fcn.00409a34
jmp 0x409c0b
mov edx, esi
mov eax, ebx
call fcn.00409838
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409c0b
cmp dword [esi], 0
je 0x409bf4
mov eax, esi
mov edx, 0x409c6c
call fcn.00407d38
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409838
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407d38
push 0x598b88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x598ba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407b24
push eax
push 0x598ba2
call sub.kernel32.dll_lstrcpynW
push 0x598b88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409c5a
lea eax, [ebp - 4]
call fcn.00406d34
ret
Function at 0x409e88
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.00406e18
xor eax, eax
push ebp
push 0x40a0ad
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409ec8
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x409ee2
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407b24
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40a097
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a0bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409fb1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a0bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409fb1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a0f8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409fb1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a0f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409fb1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a12c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409fb1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a160
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40a097
xor eax, eax
push ebp
push 0x40a090
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409c94
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 0x40a020
mov eax, dword [ebp - 0x10]
call fcn.00404618
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.00407b8c
jmp 0x40a06b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40a1a0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a06b
mov eax, dword [ebp - 0x10]
call fcn.00404618
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40a1a0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407b8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a097
cmp dword [ebp - 8], 0
je 0x40a086
mov eax, dword [ebp - 8]
call fcn.00404634
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 0x40a0b4
lea eax, [ebp - 4]
call fcn.00406d34
ret
Function at 0x40a390
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406e18
xor eax, eax
push ebp
push 0x40a450
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407be0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407d90
mov eax, dword [ebx]
call fcn.0040a258
test al, al
jne 0x40a42d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407be0
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407d90
mov eax, dword [ebx]
call fcn.0040a258
test al, al
jne 0x40a42d
mov eax, ebx
call fcn.00406d34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a457
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406d94
lea eax, [ebp - 4]
call fcn.00406d34
ret

Function at 0x40ae28
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 0x41e43c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41e495
test eax, edx
je 0x41e498
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41e453
movzx eax, word [eax]
sub eax, ecx
jmp 0x41e47a
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 0x41e47b
add ecx, 4
js 0x41e46b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41e478
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41e47a
xor eax, eax
ret
test eax, eax
je 0x41e4a4
test edx, edx
jne 0x41e444
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41eb64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x41eb7c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41eb84
mov al, 1
jmp 0x41eba1
movzx esi, word [ebp]
mov eax, esi
call fcn.0040fc34
test al, al
jne 0x41eb9d
cmp si, 0x5f
je 0x41eb9d
xor eax, eax
jmp 0x41eb9f
mov al, 1
xor al, 1
test al, al
jne 0x41ec31
test bl, bl
je 0x41ebf1
mov eax, ebp
test eax, eax
je 0x41ebb8
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41ec2d
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040fcc0
test al, al
jne 0x41ebe5
cmp di, 0x5f
je 0x41ebe5
cmp di, 0x2e
je 0x41ebe5
xor eax, eax
jmp 0x41ebe7
mov al, 1
test al, al
je 0x41ec31
inc esi
dec ebx
jne 0x41ebc5
jmp 0x41ec2d
mov eax, ebp
test eax, eax
je 0x41ebfc
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41ec2d
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040fcc0
test al, al
jne 0x41ec23
cmp di, 0x5f
je 0x41ec23
xor eax, eax
jmp 0x41ec25
mov al, 1
test al, al
je 0x41ec31
inc esi
dec ebx
jne 0x41ec09
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00407b24
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41f87a
test ah, 4
je 0x41f873
test bl, bl
jne 0x41f838
mov al, 1
jmp 0x41f8a1
test al, 0x10
je 0x41f840
xor eax, eax
jmp 0x41f8a1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41f864
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x41f8a1
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41f8a1
test al, 0x10
sete al
jmp 0x41f8a1
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x41f89b
cmp ebx, 3
je 0x41f89b
cmp ebx, 0x7b
je 0x41f89b
mov eax, esi
call fcn.0041f7d0
test al, al
jne 0x41f89f
xor eax, eax
jmp 0x41f8a1
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x42371c
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
test eax, eax
jle 0x423755
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406ebc
jmp 0x42375e
mov eax, ebx
mov edx, esi
call fcn.00407114
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423768
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
test eax, eax
jle 0x42378a
movzx eax, word [esp]
jmp 0x42378c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x424460
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 0x424585
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00424268
mov esi, eax
mov eax, dword [0x59574c]
cmp byte [eax], 0
je 0x42452d
mov eax, dword [0x595418]
call fcn.00404b5c
call fcn.0040478c
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
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x424430]
call fcn.00409098
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
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4245a0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x424569
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x595394]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x598c50]
call fcn.0040937c
push eax
call sub.user32.dll_LoadStringW
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 0x42458c
lea eax, [ebp - 4]
mov edx, dword [0x424430]
call fcn.004091bc
ret

Function at 0x4255e4
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 0x4256ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040715c
lea eax, [ebp - 4]
call fcn.004072fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407b24
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4256a4
mov eax, ebx
call fcn.00404618
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42569d
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.00407b24
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x425687
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4256cc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x425687
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 0x4256a4
mov eax, dword [ebp - 0x10]
call fcn.00404634
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4256c1
lea eax, [ebp - 4]
call fcn.00406d34
ret