joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64d0b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov esi, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0xfffffffb
test esi, esi
je 0x64d275
cmp dword [ebp - 0x10], 0
je 0x64d275
cmp dword [ebp + 0x10], 0
je 0x64d275
mov word [ebp - 0x1a], 0
mov word [ebp - 0x18], 1
mov word [ebp - 0x16], 1
lea eax, [ebp - 0x2a]
xor ecx, ecx
mov edx, 0x10
call fcn.0040740c
mov edi, esi
mov eax, edi
movzx edx, byte [eax + 4]
mov byte [ebp - 0x2a], dl
movzx edx, byte [eax + 8]
mov byte [ebp - 0x29], dl
movzx edx, word [eax + 0xe]
mov word [ebp - 0x28], dx
mov dword [ebp - 0x1e], 0x16
mov edx, dword [eax + 0x14]
add edx, dword [ebp + 0xc]
add edx, dword [ebp + 8]
mov dword [ebp - 0x22], edx
movzx edx, byte [ebp - 0x29]
add edx, edx
mov dword [eax + 8], edx
push 0
push 0x8000080
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x64d16b
mov dword [ebp - 4], 0xfffffffa
jmp 0x64d275
xor eax, eax
push ebp
push 0x64d26e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x14]
push eax
push 6
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x64d1a3
push ebp
call fcn.0064d088
pop ecx
call fcn.00409068
jmp 0x64d275
mov ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
push 0x10
lea eax, [ebp - 0x2a]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x64d1d0
push ebp
call fcn.0064d088
pop ecx
call fcn.00409068
jmp 0x64d275
add ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x64d1f9
push ebp
call fcn.0064d088
pop ecx
call fcn.00409068
jmp 0x64d275
add ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x64d225
push ebp
call fcn.0064d088
pop ecx
call fcn.00409068
jmp 0x64d275
add ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x64d251
push ebp
call fcn.0064d088
pop ecx
call fcn.00409068
jmp 0x64d275
add ebx, dword [ebp - 0x14]
mov dword [ebp - 4], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64d275
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x64e670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x64e6ea
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
lea edx, [ebp - 0x214]
lea eax, [ebp - 0x20e]
call fcn.00425a78
mov edx, dword [ebp - 0x214]
mov eax, ebx
mov ecx, 0x64e704
call fcn.0040a900
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64e6f1
lea eax, [ebp - 0x214]
call fcn.004098f4
ret

Function at 0x64eee8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004099d8
xor eax, eax
push ebp
push 0x64f0e0
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.005d53c0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x64f0b5
cmp dword [ebp - 0xc], 0
je 0x64f0b5
xor edx, edx
push ebp
push 0x64f0ae
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x238]
xor ecx, ecx
mov edx, 0x22c
call fcn.0040740c
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0xc]
call fcn.005d53e0
test eax, eax
je 0x64f097
xor edx, edx
push ebp
push 0x64f05b
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 0x230]
call fcn.0064ebe4
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.00423d04
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 8]
call fcn.00423984
mov eax, dword [ebp - 8]
test eax, eax
je 0x64efdd
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x64f051
push 0x64f0fc
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 4]
call fcn.00423984
push dword [ebp - 0x248]
push 0x64f0fc
lea eax, [ebp - 0x244]
mov edx, 3
call fcn.0040a988
mov eax, dword [ebp - 0x244]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 8]
call fcn.00423984
mov eax, dword [ebp - 0x24c]
mov ecx, 1
pop edx
call fcn.0040ace0
test eax, eax
jle 0x64f051
mov eax, dword [ebp - 0x230]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64f065
lea eax, [ebp - 0x238]
xor ecx, ecx
mov edx, 0x22c
call fcn.0040740c
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0xc]
call fcn.005d5400
test eax, eax
jne 0x64ef93
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64f0b5
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64f0e7
lea eax, [ebp - 0x24c]
mov edx, 5
call fcn.00409954
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409954
ret
Function at 0x650ee8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004099d8
xor eax, eax
push ebp
push 0x651008
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x651024
call fcn.00409cd4
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00424ff0
test al, al
je 0x650fe4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a694
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x650fe4
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4046e8]
call fcn.0040bc60
add esp, 4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x650fe4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x651028
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x650fe4
push ebx
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0xa]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0xe]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x34]
mov ecx, 3
mov eax, 0x651038
call fcn.00425c60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65100f
lea eax, [ebp - 8]
mov edx, dword [0x4046e8]
call fcn.0040bd84
lea eax, [ebp - 4]
call fcn.004098f4
ret
Function at 0x408018
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004083fc
mov byte [esp], al
cmp byte [esp], 0
jne 0x4081a2
test edi, edi
je 0x4081a2
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4080e2
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x4080bd
cmp edi, 0xffffffff
je 0x40807d
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40807d
mov byte [esp], 0
jmp 0x4081a2
mov ebx, dword [esi]
cmp ebx, 1
jg 0x4080bd
test ebx, ebx
jne 0x4080af
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4080af
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4081a2
lea eax, [esp + 0xc]
call fcn.00407cf8
dec ebp
test ebp, ebp
jg 0x408062
cmp edi, 0xffffffff
je 0x4080e2
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4080e0
mov byte [esp], 0
jmp 0x4081a2
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408026
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4080e2
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00408210
mov edx, eax
mov ebx, dword [0x5df8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408146
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408144
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408146
xor edi, edi
cmp byte [esp], 0
je 0x40816c
mov ebx, dword [esi]
test bl, 1
jne 0x408182
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40814c
mov byte [esp + 1], 1
jmp 0x408182
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40816c
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4080f9
cmp byte [esp], 0
je 0x4081a2
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408f48
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5df05c], 0
je 0x408faf
cmp word [0x5df348], 0xd7b2
jne 0x408f71
cmp dword [0x5df350], 0
jbe 0x408f71
mov eax, 0x5df344
call dword [0x5df360]
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, 0x408fdc
call fcn.00409af0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5d9032], 0
jne 0x408fcb
push 0
push 0x5d99c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40916c
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 [0x5d9034], 0
je 0x409197
mov edx, edi
mov eax, esi
call dword [0x5d9034]
mov ebx, eax
jmp 0x4091a8
mov eax, 8
call fcn.004066e0
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5df05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409134
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 0x4091d8
mov eax, ebx
call fcn.004066fc
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40b964
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 0x40bac9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004092ac
cmp si, word [0x5d9a00]
jb 0x40b9fc
cmp si, word [0x5d9c00]
ja 0x40b9fc
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40b9fc
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x5d9a00]
jae 0x40b9d6
mov edi, ebx
dec edi
jmp 0x40b9f7
cmp si, word [ebx*8 + 0x5d9a00]
jbe 0x40b9e6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40b9f7
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x5d9a04]
call fcn.0040b884
jmp 0x40b9fc
cmp edi, dword [ebp - 8]
jae 0x40b9c0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40baab
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40baab
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.00409e94
push dword [ebp - 0x160]
push 0x40bae4
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00409e94
push dword [ebp - 0x164]
push 0x40baf4
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409e94
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040a0cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bad0
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040930c
ret
Function at 0x40bc7c
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 0x40bd80
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5e1b8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x5e1ba4]
jne 0x40bcc8
mov eax, esi
mov edx, 0x5e1ba6
mov ecx, 0x55
call fcn.00409e94
push 0x5e1b8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40bd6a
push 0x5e1b8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004092ac
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40bd37
cmp byte [0x5e1b88], 0
je 0x40bcfc
mov edx, esi
mov eax, ebx
call fcn.0040bb60
jmp 0x40bd37
mov edx, esi
mov eax, ebx
call fcn.0040b964
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40bd37
cmp dword [esi], 0
je 0x40bd20
mov eax, esi
mov edx, 0x40bd98
call fcn.00409fec
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040b964
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00409fec
push 0x5e1b8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x5e1ba4], bx
mov eax, dword [esi]
call fcn.00409df0
mov ecx, eax
mov eax, 0x5e1ba6
mov edx, 0xaa
call fcn.0040b7e4
push 0x5e1b8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bd87
lea eax, [ebp - 4]
call fcn.004092ac
ret
Function at 0x40c4c4
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.00409390
xor eax, eax
push ebp
push 0x40c584
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.00409e94
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a044
mov eax, dword [ebx]
call fcn.0040c38c
test al, al
jne 0x40c561
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409e94
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a044
mov eax, dword [ebx]
call fcn.0040c38c
test al, al
jne 0x40c561
mov eax, ebx
call fcn.004092ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c58b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040930c
lea eax, [ebp - 4]
call fcn.004092ac
ret

Function at 0x420b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x420b89
test eax, edx
je 0x420b8c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420b47
movzx eax, word [eax]
sub eax, ecx
jmp 0x420b6e
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 0x420b6f
add ecx, 4
js 0x420b5f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420b6c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420b6e
xor eax, eax
ret
test eax, eax
je 0x420b98
test edx, edx
jne 0x420b38
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x421e94
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x421ec1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x425c38
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 0x425c71
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409434
jmp 0x425c7a
mov eax, ebx
mov edx, esi
call fcn.0040968c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425c84
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 0x425ca6
movzx eax, word [esp]
jmp 0x425ca8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x426d34
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 0x426e59
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00426b3c
mov esi, eax
mov eax, dword [0x5dde74]
cmp byte [eax], 0
je 0x426e01
mov eax, dword [0x5ddb6c]
call fcn.00406f64
call fcn.00406854
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 [0x426d04]
call fcn.0040b270
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 0x426e74
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x426e3d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5ddae8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5e1c54]
call fcn.0040b484
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 0x426e60
lea eax, [ebp - 4]
mov edx, dword [0x426d04]
call fcn.0040b394
ret
Function at 0x427e98
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 0x427f6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004096d4
lea eax, [ebp - 4]
call fcn.00409834
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409df0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x427f58
mov eax, ebx
call fcn.004066e0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x427f51
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.00409df0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x427f3b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x427f80
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x427f3b
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 0x427f58
mov eax, dword [ebp - 0x10]
call fcn.004066fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427f75
lea eax, [ebp - 4]
call fcn.004092ac
ret

Function at 0x4288d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040977c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ceb4
mov edi, eax
cmp edi, 0x104
jbe 0x42887b
mov eax, edi
add eax, eax
call fcn.004066e0
mov esi, eax
jmp 0x42887d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ceb4
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4288b8
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4288a2
mov eax, esp
cmp esi, eax
je 0x4288c5
mov eax, esi
call fcn.004066fc
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x428900
cmp bl, 0
je 0x4288fc
cmp bl, 0x41
jl 0x4288f7
cmp bl, 0x5a
jg 0x4288f7
or bl, 0x20
xor al, bl
inc esi
jmp 0x4288db
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42883c

Function at 0x42917c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00409e94
add esp, 0x800
pop ebx
ret