joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011c6
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call fcn.0040114f
call section..text
movzx eax, al
cmp eax, 1
jne 0x4011e9
push 5
pop eax
jmp 0x4013b8
and dword [ebp - 0x40], 0
and dword [ebp - 0xc], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x44], 0
and dword [ebp - 8], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x330
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, eax
add ebx, 0xc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x30]
mov ecx, 0x18
xor esi, esi
xor ebx, ebx
add bl, byte [edi + ecx - 1]
add esi, ebx
loop 0x401234
cmp esi, dword [ebp - 0x2c]
je 0x401249
mov eax, dword [eax]
cmp eax, ebx
jne 0x40122a
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
nop
popal
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x414740
push dword [0x414720]
push 0x414724
push dword [0x414740]
push 0x414744
call fcn.0040102b
add esp, 0x14
push 0x414744
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
push 0x414760
push dword [0x414720]
push 0x414724
push dword [0x414760]
push 0x414764
call fcn.0040102b
add esp, 0x14
push 0x414764
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x414780
push dword [0x414720]
push 0x414724
push dword [0x414780]
push 0x414784
call fcn.0040102b
add esp, 0x14
push 0x414784
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [0x40403c]
mov dword [ebp - 0x10], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
call dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x404040
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
push eax
push dword [section..data]
push 0x404004
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0x20
push dword [0x40403c]
push dword [ebp - 4]
call dword [ebp - 0x24]
push 0x40471c
push dword [0x4046e0]
push 0x4046e4
push dword [0x40471c]
push 0x404720
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [0x4147dc], eax
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [0x4147dc]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5dd3cf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5dd3ea
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124a260f]
pop edx
test eax, eax
je 0x5dd4bc
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5dd4ab
test dword [ebp - 0x2a8], 1
jne 0x5dd4ab
and dword [ebp - 0x2a8], 0x100
jne 0x5dd4ab
push esi
push edx
push 4
push esi
call dword [edx + 0x122d2cf9]
pop edx
pop esi
test eax, eax
je 0x5dd44e
jmp 0x5dd4ab
cmp word [esi], 0x5a4d
jne 0x5dd4ab
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5dd4ab
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d2ab1]
pop edx
test eax, eax
je 0x5dd4ab
lea eax, [ebp - 0x28c]
push eax
call fcn.005dd32b
test eax, eax
jne 0x5dd4a4
jmp 0x5dd4ab
mov eax, esi
jmp 0x5dd4bc
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5dd3ea
pop esi
leave
ret 4
Function at 0x141071ec
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.14109ca0
test esi, esi
jne 0x14107222
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.14109e28
jmp 0x14107240
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.14107130
mov edi, eax
test esi, esi
je 0x14107240
cmp dword [ebx], 0
je 0x14107240
dec esi
jmp 0x14107229
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x141088d0
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.14108d4c
mov byte [esp], al
cmp byte [esp], 0
jne 0x14108a59
test edi, edi
je 0x14108a59
mov byte [esp + 1], 0
test ebp, ebp
jle 0x14108999
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x14108974
cmp edi, 0xffffffff
je 0x14108935
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x14108935
mov byte [esp], 0
jmp 0x14108a59
cmp dword [esi], 1
jg 0x14108974
cmp dword [esi], 0
jne 0x14108966
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x14108966
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x14108a59
lea eax, [esp + 0xc]
call fcn.14108590
dec ebp
test ebp, ebp
jg 0x1410891a
cmp edi, 0xffffffff
je 0x14108999
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x14108997
mov byte [esp], 0
jmp 0x14108a59
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x141088de
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x14108999
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.14108ac8
mov edx, eax
mov ebx, dword [0x142f58fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x141089fd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x141089fb
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x141089fd
xor edi, edi
cmp byte [esp], 0
je 0x14108a23
mov ebx, dword [esi]
test bl, 1
jne 0x14108a39
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x14108a03
mov byte [esp + 1], 1
jmp 0x14108a39
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x14108a23
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x141089b0
cmp byte [esp], 0
je 0x14108a59
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 0x1410968c
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, 0x142f7b1c
cmp dword [ebp + 0xc], 2
jl 0x141096a0
mov ebx, 0x142f7b4c
mov esi, ebx
lea edi, [ebp - 0x40]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop dword [ebx + 0x20]
pop dword [ebx + 0x1c]
pop dword [ebx + 0x18]
mov dword [ebx + 0x14], ebp
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], edx
lea ecx, [ebp - 0x40]
mov dword [ebx], ecx
call sub.kernel32.dll_GetCurrentThreadId
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x141096d8
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, 0x14105138
mov dword [0x142f501c], eax
mov eax, 0x14105140
mov dword [0x142f5020], eax
mov eax, ebx
call fcn.14109570
mov eax, dword [ebp + 0xc]
inc eax
mov byte [ebx + 0x28], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [ebx + 0x24], edx
je 0x1410970d
cmp al, 3
jge 0x1410970d
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x1410971e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x14109729
call dword [ecx + eax*4]
cmp dword [0x142f5040], 0
jne 0x1410973f
mov byte [0x142f5048], 1
fnstcw word [0x142ef028]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.141099d0
call fcn.14109620
ret 4

Function at 0x14109938
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x142f505c], 0
je 0x1410999f
cmp word [0x142f5348], 0xd7b2
jne 0x14109961
cmp dword [0x142f5350], 0
jbe 0x14109961
mov eax, 0x142f5344
call dword [0x142f5360]
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, 0x141099cc
call fcn.1410a460
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x142ef032], 0
jne 0x141099bb
push 0
push 0x142ef9c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x14109b60
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 [0x142ef034], 0
je 0x14109b8b
mov edx, edi
mov eax, esi
call dword [0x142ef034]
mov ebx, eax
jmp 0x14109b9c
mov eax, 8
call fcn.14106e6c
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x142f505d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x14109b28
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 0x14109bcc
mov eax, ebx
call fcn.14106e88
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x1410c9a8
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 0x1410cb0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.14109ca0
cmp si, word [0x142efa00]
jb 0x1410ca40
cmp si, word [0x142efc00]
ja 0x1410ca40
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x1410ca40
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x142efa00]
jae 0x1410ca1a
mov edi, ebx
dec edi
jmp 0x1410ca3b
cmp si, word [ebx*8 + 0x142efa00]
jbe 0x1410ca2a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x1410ca3b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x142efa04]
call fcn.1410c8c8
jmp 0x1410ca40
cmp edi, dword [ebp - 8]
jae 0x1410ca04
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1410caef
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x1410caef
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.1410a800
push dword [ebp - 0x160]
push 0x1410cb28
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.1410a800
push dword [ebp - 0x164]
push 0x1410cb38
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.1410a800
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.1410aa38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1410cb14
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.14109d00
ret
Function at 0x1410ccc0
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 0x1410cdc4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x142f7b8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x142f7ba4]
jne 0x1410cd0c
mov eax, esi
mov edx, 0x142f7ba6
mov ecx, 0x55
call fcn.1410a800
push 0x142f7b8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x1410cdae
push 0x142f7b8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.14109ca0
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x1410cd7b
cmp byte [0x142f7b88], 0
je 0x1410cd40
mov edx, esi
mov eax, ebx
call fcn.1410cba4
jmp 0x1410cd7b
mov edx, esi
mov eax, ebx
call fcn.1410c9a8
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x1410cd7b
cmp dword [esi], 0
je 0x1410cd64
mov eax, esi
mov edx, 0x1410cddc
call fcn.1410a958
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.1410c9a8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.1410a958
push 0x142f7b8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x142f7ba4], bx
mov eax, dword [esi]
call fcn.1410a75c
mov ecx, eax
mov eax, 0x142f7ba6
mov edx, 0xaa
call fcn.1410c828
push 0x142f7b8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1410cdcb
lea eax, [ebp - 4]
call fcn.14109ca0
ret
Function at 0x1410cff4
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.14109d84
xor eax, eax
push ebp
push 0x1410d219
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x1410d034
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x1410d04e
mov eax, dword [ebp - 4]
call fcn.1410a75c
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.1410c828
cmp word [ebp - 0x21a], 0
je 0x1410d203
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1410d228
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1410d11d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1410d228
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1410d11d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1410d264
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1410d11d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1410d264
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1410d11d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1410d298
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1410d11d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1410d2cc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x1410d203
xor eax, eax
push ebp
push 0x1410d1fc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.1410ce04
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 0x1410d18c
mov eax, dword [ebp - 0x10]
call fcn.14106e6c
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.1410a7c4
jmp 0x1410d1d7
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x1410d30c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x1410d1d7
mov eax, dword [ebp - 0x10]
call fcn.14106e6c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x1410d30c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.1410a7c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1410d203
cmp dword [ebp - 8], 0
je 0x1410d1f2
mov eax, dword [ebp - 8]
call fcn.14106e88
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 0x1410d220
lea eax, [ebp - 4]
call fcn.14109ca0
ret
Function at 0x1410d508
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.14109d84
xor eax, eax
push ebp
push 0x1410d5c8
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.1410a800
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.1410a9b0
mov eax, dword [ebx]
call fcn.1410d3d0
test al, al
jne 0x1410d5a5
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.1410a800
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.1410a9b0
mov eax, dword [ebx]
call fcn.1410d3d0
test al, al
jne 0x1410d5a5
mov eax, ebx
call fcn.14109ca0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1410d5cf
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.14109d00
lea eax, [ebp - 4]
call fcn.14109ca0
ret

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

Disassembly:
cmp eax, edx
je 0x14122509
test eax, edx
je 0x1412250c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x141224c7
movzx eax, word [eax]
sub eax, ecx
jmp 0x141224ee
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 0x141224ef
add ecx, 4
js 0x141224df
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x141224ec
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x141224ee
xor eax, eax
ret
test eax, eax
je 0x14122518
test edx, edx
jne 0x141224b8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.1410a75c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x141238af
test esi, 0x400
jne 0x14123844
test esi, 0x10
setne bl
jmp 0x141238df
cmp byte [esp], 0
je 0x14123878
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x141238df
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x141238df
test esi, 0x10
je 0x14123884
mov bl, 1
jmp 0x141238df
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x141238ab
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x141238df
mov bl, 1
jmp 0x141238df
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x141238d9
cmp eax, 3
je 0x141238d9
cmp eax, 0xa1
je 0x141238d9
cmp eax, 0x7b
je 0x141238d9
cmp eax, 0x35
je 0x141238d9
cmp eax, 0x15
je 0x141238d9
cmp eax, 0x43
jne 0x141238dd
xor ebx, ebx
jmp 0x141238df
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x14127884
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 0x141278bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.14109e28
jmp 0x141278c6
mov eax, ebx
mov edx, esi
call fcn.1410a080
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x141278d0
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 0x141278f2
movzx eax, word [esp]
jmp 0x141278f4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x14128bf0
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 0x14128d15
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.141289f8
mov esi, eax
mov eax, dword [0x142f412c]
cmp byte [eax], 0
je 0x14128cbd
mov eax, dword [0x142f3dd4]
call fcn.14107794
call fcn.14106fe0
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 [0x14128bc0]
call fcn.1410bf70
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 0x14128d30
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x14128cf9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x142f3d4c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x142f85a0]
call fcn.1410c4cc
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 0x14128d1c
lea eax, [ebp - 4]
mov edx, dword [0x14128bc0]
call fcn.1410c094
ret