joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101008f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x101009ac
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x101009a8
mov eax, dword [eax + 0x20]
test eax, eax
je 0x101009a8
cmp dword [ebx], eax
jne 0x101009a8
mov eax, dword [ebx + 4]
sub eax, 1
je 0x10100977
sub eax, 1
je 0x10100945
sub eax, 1
jne 0x101009a8
mov edi, 0x428e
jmp 0x1010097c
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1010097c
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x101a49d0]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x1010097c
add edi, 3
jmp 0x1010097c
mov edi, 0x3ea0
push edi
call fcn.10020ef5
test eax, eax
je 0x101009ac
push edi
push eax
mov ecx, 0x10209db0
call fcn.10003fa0
test eax, eax
je 0x101009ac
mov eax, dword [0x10209db0]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x101009a1
call fcn.10020cc8
int3

Function at 0x1010a7ac
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.1017bf06
pop ecx
test eax, eax
jne 0x1010a7ee
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.1000a850
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1010a7b4
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret
Function at 0x10111d98
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x101972ba
call fcn.10152ea6
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x10111e78
mov edi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x10111e78
cmp edi, 0x43
je 0x10111ddd
cmp edi, 0x2d
jne 0x10111e78
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10111e78
call dword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.100212a7
push eax
lea ecx, [ebp - 0x10]
call fcn.10003ea0
movzx eax, byte [esi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 0xe5]
push eax
movzx eax, byte [esi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.10014c40
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov eax, dword [esi - 0xc]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.10004410
mov esi, dword [ebp - 0x14]
push ebx
mov ecx, esi
call fcn.1010f20a
call fcn.10152e6f
ret 4
Function at 0x10184aaa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10184920
Function at 0xf06d18
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.00f095e4
test esi, esi
jne 0xf06d4e
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.00f0976c
jmp 0xf06d6c
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00f06c5c
mov edi, eax
test esi, esi
je 0xf06d6c
cmp dword [ebx], 0
je 0xf06d6c
dec esi
jmp 0xf06d55
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0xf06d78
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xfd2008], 0x8088405
inc edx
mov dword [ebx + 0xfd2008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0xf06d94
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xfd2008], 0x8088405
inc edx
mov dword [ebx + 0xfd2008], edx
fld qword [ebx + 0xfd2790]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret
Function at 0xf082c0
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.00f08708
mov byte [esp], al
cmp byte [esp], 0
jne 0xf0844a
test edi, edi
je 0xf0844a
mov byte [esp + 1], 0
test ebp, ebp
jle 0xf0838a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0xf08365
cmp edi, 0xffffffff
je 0xf08325
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0xf08325
mov byte [esp], 0
jmp 0xf0844a
mov ebx, dword [esi]
cmp ebx, 1
jg 0xf08365
test ebx, ebx
jne 0xf08357
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0xf08357
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0xf0844a
lea eax, [esp + 0xc]
call fcn.00f07fa0
dec ebp
test ebp, ebp
jg 0xf0830a
cmp edi, 0xffffffff
je 0xf0838a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0xf08388
mov byte [esp], 0
jmp 0xf0844a
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0xf082ce
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0xf0838a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00f084b8
mov edx, eax
mov ebx, dword [0x140e8f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0xf083ee
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0xf083ec
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0xf083ee
xor edi, edi
cmp byte [esp], 0
je 0xf08414
mov ebx, dword [esi]
test bl, 1
jne 0xf0842a
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0xf083f4
mov byte [esp + 1], 1
jmp 0xf0842a
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0xf08414
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0xf083a1
cmp byte [esp], 0
je 0xf0844a
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 0xf09274
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x140e058], 0
je 0xf092db
cmp word [0x140e344], 0xd7b2
jne 0xf0929d
cmp dword [0x140e34c], 0
jbe 0xf0929d
mov eax, 0x140e340
call dword [0x140e35c]
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, 0xf09308
call fcn.00f09e14
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0xfd2032], 0
jne 0xf092f7
push 0
push 0xfd29ca
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0xf094a4
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 [0xfd2034], 0
je 0xf094cf
mov edx, edi
mov eax, esi
call dword [0xfd2034]
mov ebx, eax
jmp 0xf094e0
mov eax, 8
call fcn.00f069b8
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x140e059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0xf0946c
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 0xf09510
mov eax, ebx
call fcn.00f069d4
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0xf0bd5c
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 0xf0bec1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00f095e4
cmp si, word [0xfd2a08]
jb 0xf0bdf4
cmp si, word [0xfd2c08]
ja 0xf0bdf4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0xf0bdf4
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0xfd2a08]
jae 0xf0bdce
mov edi, ebx
dec edi
jmp 0xf0bdef
cmp si, word [ebx*8 + 0xfd2a08]
jbe 0xf0bdde
inc ebx
mov dword [ebp - 8], ebx
jmp 0xf0bdef
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0xfd2a0c]
call fcn.00f0bc7c
jmp 0xf0bdf4
cmp edi, dword [ebp - 8]
jae 0xf0bdb8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0xf0bea3
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0xf0bea3
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.00f0a278
push dword [ebp - 0x160]
push 0xf0bedc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00f0a278
push dword [ebp - 0x164]
push 0xf0beec
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00f0a278
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00f0a4b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf0bec8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00f09644
ret
Function at 0xf0c074
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 0xf0c178
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1410b88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x1410ba0]
jne 0xf0c0c0
mov eax, esi
mov edx, 0x1410ba2
mov ecx, 0x55
call fcn.00f0a278
push 0x1410b88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0xf0c162
push 0x1410b88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00f095e4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0xf0c12f
cmp byte [0x1410b84], 0
je 0xf0c0f4
mov edx, esi
mov eax, ebx
call fcn.00f0bf58
jmp 0xf0c12f
mov edx, esi
mov eax, ebx
call fcn.00f0bd5c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0xf0c12f
cmp dword [esi], 0
je 0xf0c118
mov eax, esi
mov edx, 0xf0c190
call fcn.00f0a3d0
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00f0bd5c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00f0a3d0
push 0x1410b88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x1410ba0], bx
mov eax, dword [esi]
call fcn.00f0a1d4
mov ecx, eax
mov eax, 0x1410ba2
mov edx, 0xaa
call fcn.00f0bbdc
push 0x1410b88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf0c17f
lea eax, [ebp - 4]
call fcn.00f095e4
ret
Function at 0xf0c3a8
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.00f096c8
xor eax, eax
push ebp
push 0xf0c5cd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0xf0c3e8
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0xf0c402
mov eax, dword [ebp - 4]
call fcn.00f0a1d4
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00f0bbdc
cmp word [ebp - 0x21a], 0
je 0xf0c5b7
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0xf0c5dc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0xf0c4d1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0xf0c5dc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0xf0c4d1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0xf0c618
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0xf0c4d1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0xf0c618
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0xf0c4d1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0xf0c64c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0xf0c4d1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0xf0c680
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0xf0c5b7
xor eax, eax
push ebp
push 0xf0c5b0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00f0c1b8
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 0xf0c540
mov eax, dword [ebp - 0x10]
call fcn.00f069b8
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.00f0a23c
jmp 0xf0c58b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0xf0c6c0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0xf0c58b
mov eax, dword [ebp - 0x10]
call fcn.00f069b8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0xf0c6c0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00f0a23c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf0c5b7
cmp dword [ebp - 8], 0
je 0xf0c5a6
mov eax, dword [ebp - 8]
call fcn.00f069d4
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 0xf0c5d4
lea eax, [ebp - 4]
call fcn.00f095e4
ret
Function at 0xf0c8bc
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.00f096c8
xor eax, eax
push ebp
push 0xf0c97c
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.00f0a278
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00f0a428
mov eax, dword [ebx]
call fcn.00f0c784
test al, al
jne 0xf0c959
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00f0a278
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00f0a428
mov eax, dword [ebx]
call fcn.00f0c784
test al, al
jne 0xf0c959
mov eax, ebx
call fcn.00f095e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf0c983
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00f09644
lea eax, [ebp - 4]
call fcn.00f095e4
ret

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

Disassembly:
cmp eax, edx
je 0xf1bfbd
test eax, edx
je 0xf1bfc0
movzx ecx, word [edx]
cmp cx, word [eax]
je 0xf1bf7b
movzx eax, word [eax]
sub eax, ecx
jmp 0xf1bfa2
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 0xf1bfa3
add ecx, 4
js 0xf1bf93
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0xf1bfa0
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0xf1bfa2
xor eax, eax
ret
test eax, eax
je 0xf1bfcc
test edx, edx
jne 0xf1bf6c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0xf1cddc
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 0xf1ce09
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0xf208c8
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 0xf20901
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00f0976c
jmp 0xf2090a
mov eax, ebx
mov edx, esi
call fcn.00f099c4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0xf20914
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 0xf20936
movzx eax, word [esp]
jmp 0xf20938
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0xf21c30
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 0xf21d55
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00f21a38
mov esi, eax
mov eax, dword [0x140d574]
cmp byte [eax], 0
je 0xf21cfd
mov eax, dword [0x140d3d0]
call fcn.00f07288
call fcn.00f06b0c
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 [0xf21c00]
call fcn.00f0b48c
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 0xf21d70
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0xf21d39
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x140d398]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x1410c50]
call fcn.00f0b87c
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 0xf21d5c
lea eax, [ebp - 4]
mov edx, dword [0xf21c00]
call fcn.00f0b5b0
ret
Function at 0xf22dcc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0xf22ecc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00f09a0c
lea eax, [ebp - 4]
call fcn.00f09b74
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00f0a1d4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0xf22eb6
mov eax, ebx
call fcn.00f069b8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0xf22eaf
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00f0a1d4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0xf22e99
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xf22ee0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xf22e99
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf22eb6
mov eax, dword [ebp - 0x10]
call fcn.00f069d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf22ed3
lea eax, [ebp - 4]
call fcn.00f095e4
ret

Function at 0xf23808
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.00f09abc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00f0d204
mov edi, eax
cmp edi, 0x104
jbe 0xf237b3
mov eax, edi
add eax, eax
call fcn.00f069b8
mov esi, eax
jmp 0xf237b5
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00f0d204
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0xf237ee
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 0xf237d8
mov eax, esp
cmp esi, eax
je 0xf237fb
mov eax, esi
call fcn.00f069d4
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 0xf23834
cmp bl, 0
je 0xf23830
cmp bl, 0x41
jl 0xf2382b
cmp bl, 0x5a
jg 0xf2382b
or bl, 0x20
xor al, bl
inc esi
jmp 0xf2380f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0xf23774

Function at 0xf24080
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.00f0a278
add esp, 0x800
pop ebx
ret
Function at 0xf323f8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0xf3244a
test eax, edx
je 0xf3244d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0xf3240d
movzx eax, byte [eax]
sub eax, ecx
ret
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]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0xf32433
add ecx, 4
js 0xf32423
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0xf32430
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0xf32459
test edx, edx
jne 0xf32400
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret