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

Disassembly:
jmp 0x10048d60
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0xcccc
push dword [esp + 0x18]
call fcn.1000424b
add esp, 0x18
test eax, eax
je 0x10048d8b
inc eax
cmp byte [eax], 0xcc
je 0x10048d85
ret

Function at 0x100060cd
Capabilities:
Write file on windows

Disassembly:
jmp 0x100114c0
sub esp, 0x5dc
mov eax, dword [0x100e2f80]
xor eax, esp
mov dword [esp + 0x5d8], eax
push ebx
mov ebx, dword [esp + 0x7cc]
lea eax, [esp + 0x1f4]
push esi
push edi
push 0x3e8
mov dword [esp + 0x10], 2
lea esi, [esp + 0x5f0]
mov ecx, 0x7a
lea edi, [esp + 0x18]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10002e5f
push 0x1f3
push ebx
lea eax, [esp + 0x210]
push 0x1f4
push eax
call fcn.10005407
add esp, 0x1c
lea eax, [esp + 0xc]
push 0
push 0x100e4448
push 0x5d8
push eax
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x5e4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10002da1
add esp, 0x5dc
ret
Function at 0x10019ff0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x254
mov eax, dword [0x100e2f80]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
push 0
push 0x80
push 3
push 0
push 1
push 1
push str.RIO.INI
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001a0a3
mov ecx, dword [0x10ea2650]
mov edx, ecx
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1001a040
sub edx, esi
sar edx, 1
cmp edx, 3
jbe 0x1001a101
lea esi, [esp + 0x4c]
sub esi, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x1001a060
push 0
push 0x80
push 3
push 0
push 1
push 1
lea eax, [esp + 0x64]
mov dword [esp + edx*2 + 0x60], 0x69006e
mov ecx, 0x69
push eax
mov word [esp + edx*2 + 0x62], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001a101
push 0x40
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10002e5f
add esp, 0xc
lea eax, [esp + 8]
push 0
push eax
push 0x40
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xc]
mov byte [esp + 0x4b], 0
push 0x100c6980
push eax
call fcn.10003fee
add esp, 8
test eax, eax
je 0x1001a101
lea ecx, [esp + 4]
add eax, 3
push ecx
push 0x100c6984
push eax
call fcn.1000553d
add esp, 0xc
mov ecx, dword [esp + 0x254]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.10002da1
add esp, 0x254
ret

Function at 0x1001dd40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1e8
push esi
mov esi, dword [esp + 0x1f0]
push edi
test esi, esi
je 0x1001dd6a
lea edx, [esi + 0x100]
mov ecx, esi
cmp esi, edx
jae 0x1001dd6a
nop
cmp byte [ecx], 0xe8
je 0x1001dd7f
inc ecx
cmp ecx, edx
jb 0x1001dd60
pop edi
pop esi
add esp, 0x1e8
mov dword [esp + 4], str.vnreng:AliceHook1:_failed
jmp fcn.10003a08
mov edi, dword [ecx + 1]
add ecx, 5
push esi
add edi, ecx
call fcn.100052cc
add esp, 4
cmp eax, 1
je 0x1001dda5
add esi, eax
push esi
call fcn.100052cc
add esp, 4
cmp eax, 1
jne 0x1001dd95
push 0x1e8
lea eax, [esp + 0xc]
push 0
push eax
call fcn.10002e5f
movzx ecx, byte [esi]
mov eax, 0xfffffff8
and ecx, 0xf
mov dword [esp + 0x14], edi
shl ecx, 2
sub eax, ecx
mov dword [esp + 0x18], 0
push str.vnreng:_INSERT_AliceHook1
mov dword [esp + 0x20], 0xfffffff8
mov dword [esp + 0x28], eax
mov dword [esp + 0x19c], 0x11
call fcn.10003a08
add esp, 0x10
lea esi, [esp + 8]
mov ecx, 0x7a
push 0x8000
push str.System40
sub esp, 0x1e8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10002a68
add esp, 0x1f0
pop edi
pop esi
add esp, 0x1e8
ret
Function at 0x1001df50
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1e8
push esi
mov esi, dword [esp + 0x1f0]
push edi
test esi, esi
jne 0x1001df78
pop edi
pop esi
add esp, 0x1e8
mov dword [esp + 4], str.vnreng:AliceHook2:_failed
jmp fcn.10003a08
push 0x174
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10002e5f
push 0x5a
lea eax, [esp + 0x1a6]
mov dword [esp + 0x1a0], 0
push 0
push eax
call fcn.10002e5f
mov eax, 1
mov dword [esp + 0x20], esi
push str.vnreng:_INSERT_AliceHook2
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xfffffff8
mov dword [esp + 0x30], 8
mov word [esp + 0x1b0], ax
mov dword [esp + 0x1a8], 8
call fcn.10003a08
add esp, 0x1c
lea esi, [esp + 8]
mov ecx, 0x7a
push 0x8000
push str.System40
sub esp, 0x1e8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10002a68
add esp, 0x1f0
pop edi
pop esi
add esp, 0x1e8
ret

Function at 0x10039f60
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1e8
push esi
push edi
push 0x170
lea eax, [esp + 0x20]
push 0
push eax
call fcn.10002e5f
push 0x5a
lea eax, [esp + 0x1a6]
mov dword [esp + 0x1a0], 0
push 0
push eax
call fcn.10002e5f
mov eax, dword [esp + 0x20c]
mov dword [esp + 0x20], eax
mov eax, 1
push str.vnreng:_INSERT_KiriKiriZ
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xfffffff4
mov dword [esp + 0x34], 0xfffffff4
mov dword [esp + 0x30], 0x14
mov word [esp + 0x1b0], ax
mov dword [esp + 0x1a8], 0x3a
call fcn.10003a08
add esp, 0x1c
lea esi, [esp + 8]
mov ecx, 0x7a
push 0x8000
push str.KiriKiriZ
sub esp, 0x1e8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10002a68
add esp, 0x1f0
pop edi
pop esi
add esp, 0x1e8
mov dword [esp + 4], str.vnreng:KiriKiriZ:_disable_GDI_hooks
jmp fcn.10003a08
Function at 0x100401e0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x238
push 0xffffffffffffffff
push 0x100c051d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100e2f80]
xor eax, ebp
mov dword [ebp + 0x234], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0x10ea2658
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x10ea2658
call fcn.10002743
push 0x103
add eax, 2
push 0x10ea2658
mov dword [0x10ea2650], eax
lea eax, [ebp]
push 0x119
push eax
call fcn.10005407
mov esi, dword [str.TextractorConfig.txt]
lea eax, [ebp]
push 0x5c
push eax
call fcn.10002743
push esi
add eax, 2
push 0x15
push eax
call fcn.100035e4
add esp, 0x2c
lea eax, [ebp]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10040364
cmp esi, 0xffffffff
je 0x10040364
push 0
push 0x100e4448
push 0x3e7
push 0x10ea2860
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 7
push str.Engine:
push 0x10ea2860
call fcn.10005fa6
add esp, 0xc
test eax, eax
jne 0x10040326
push 0xa
push 0x10ea2860
call fcn.10001e0b
add esp, 8
mov dword [0x100e2620], eax
test eax, eax
je 0x100402ff
mov byte [eax], 0
inc dword [0x100e2620]
push 0x10ea2867
push str.Textractor:_Engine___s
mov dword [0x100e28c0], 0x10ea2867
call fcn.10003a08
mov eax, dword [0x100e2620]
add esp, 8
test eax, eax
je 0x10040335
jmp 0x10040330
mov eax, 0x10ea2860
mov dword [0x100e2620], eax
cmp byte [eax], 0
je 0x1004035a
push str.https:__
push 0x10ea2860
call fcn.10003fee
add esp, 8
test eax, eax
jne 0x1004035a
push str.Textractor:_game_configuration_loaded
call fcn.10003a08
add esp, 4
jmp 0x10040364
mov dword [0x100e2620], 0
mov dword [ebp - 4], 1
test esi, esi
je 0x1004037b
cmp esi, 0xffffffff
je 0x1004037b
push esi
call dword [0x100c4fb4]
push 0
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, eax
mov dword [0x10ea264c], ecx
mov dword [0x10ea2648], ecx
nop
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push ecx
call esi
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
add ecx, edx
cmp dword [ebp - 0x18], 1
mov dword [0x10ea264c], ecx
ja 0x100403a0
mov eax, dword [0x10ea2648]
sub ecx, edx
push ecx
push eax
push str.Textractor:_hijacking_process_located_from_0x_p_to_0x_p
mov dword [0x10ea264c], ecx
mov dword [0x100e2078], eax
mov dword [0x100e207c], ecx
call fcn.10003a08
add esp, 0xc
call fcn.100047a5
mov eax, dword [0x10ea2648]
add eax, 0x40000
cmp eax, dword [0x10ea264c]
jbe 0x10040408
push str.Textractor:_WARNING_injected_process_is_very_small__possibly_a_dummy_
call fcn.10003a08
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
call fcn.10002da1
lea esp, [ebp + 0x238]
pop ebp
ret
Function at 0x1004a180
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push esi
imul esi, dword [esp + 0xc], 0x2c
push edi
add esi, dword [0x10ea4d20]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1004a1c2
pop edi
pop esi
mov eax, 0xa
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1004a1e8
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1004a209
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1004a209
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1004a203
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1004a209
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x1004a2e0
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x20
mov eax, dword [0x100e2f80]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov esi, dword [esp + 0x2c]
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1004a3cf
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1004a3c8
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
nop dword [eax + eax]
cmp dword [esp + 0x10], 0x10
jb 0x1004a3ab
call ebp
cmp dword [esp + 0x1c], eax
jne 0x1004a3ab
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x18], eax
je 0x1004a3ab
mov eax, dword [esi]
test eax, eax
jne 0x1004a375
push 0x200
push eax
mov dword [esi + 4], 0x80
push dword [0x10ea33b4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x1004a3c6
lea edi, [esi + 8]
jmp 0x1004a3a0
mov ecx, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], ecx
jb 0x1004a3a0
shl ecx, 3
push ecx
push eax
push 0
push dword [0x10ea33b4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x1004a3c6
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [eax + edx*4], ecx
inc dword [edi]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1004a330
pop edi
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop esi
pop ebx
xor ecx, esp
call fcn.10002da1
add esp, 0x20
ret
Function at 0x1004a510
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1004a2e0
add esp, 4
cmp dword [esi], 0
je 0x1004a57f
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1004a57e
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1004a576
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push ebp
push dword [esp + 0x1c]
push ebx
call fcn.1004acb0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1004a545
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x1004adf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
xor ebp, ebp
call fcn.1004a280
cmp dword [0x10ea33b4], ebp
je 0x1004ae8e
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x1004ae4d
xor esi, esi
cmp dword [0x10ea4d28], esi
jbe 0x1004ae93
push ebx
mov bl, byte [esp + 0x14]
push edi
shl bl, 2
xor edi, edi
mov edx, dword [0x10ea4d20]
lea edi, [edi + 0x2c]
inc esi
mov cl, byte [edx + edi - 0x18]
xor cl, bl
and cl, 4
xor byte [edx + edi - 0x18], cl
cmp esi, dword [0x10ea4d28]
jb 0x1004ae22
pop edi
pop ebx
call fcn.1004a5a0
pop esi
mov eax, ebp
pop ebp
ret
push eax
call fcn.1004a420
add esp, 4
cmp eax, 0xffffffff
je 0x1004ae7f
mov cl, byte [esp + 0x10]
imul edx, eax, 0x2c
mov eax, dword [0x10ea4d20]
shl cl, 2
xor cl, byte [edx + eax + 0x14]
and cl, 4
xor byte [edx + eax + 0x14], cl
call fcn.1004a5a0
pop esi
mov eax, ebp
pop ebp
ret
mov ebp, 4
call fcn.1004a5a0
pop esi
mov eax, ebp
pop ebp
ret
mov ebp, 2
call fcn.1004a5a0
pop esi
mov eax, ebp
pop ebp
ret

Function at 0x1004aed0
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi], 0
je 0x1004af28
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1004af17
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1004af0f
push ebx
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1004aef0
pop ebp
pop ebx
push dword [edi]
push 0
push dword [0x10ea33b4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
ret

Function at 0x1004aff0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10ea4d10]
test eax, eax
je 0x1004b00c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1004b05f
mov eax, dword [eax]
test eax, eax
jne 0x1004b000
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x1004b05d
push esi
push edi
xor edi, edi
mov dword [edx + 8], 0
lea ecx, [edx + 0x20]
lea esi, [edi + 0x20]
mov dword [ecx], edi
mov eax, ecx
mov dword [edx + 4], ecx
add esi, 0x20
add ecx, 0x20
mov edi, eax
cmp esi, 0xfe0
jbe 0x1004b037
mov eax, dword [0x10ea4d10]
pop edi
mov dword [edx], eax
pop esi
mov dword [0x10ea4d10], edx
mov eax, edx
ret
Function at 0x1004b4e0
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [esp + 4]
push esi
mov cl, byte [edx]
test cl, cl
je 0x1004b4f5
cmp cl, 0x90
je 0x1004b4f5
cmp cl, 0xcc
jne 0x1004b513
mov esi, dword [esp + 0xc]
mov eax, 1
cmp esi, eax
jbe 0x1004b50c
cmp byte [eax + edx], cl
jne 0x1004b513
inc eax
cmp eax, esi
jb 0x1004b502
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x100921e8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10092227
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10092227
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10092227
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10092227
cmp dword [ecx + 0x74], 0xe
jbe 0x10092227
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100a1ba4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x100e2f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x100a1bef
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.100a20a5
test al, al
jne 0x100a1be9
sub edx, 2
cmp edx, edi
jne 0x100a1bcf
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x100a1c11
lea eax, [edi + 2]
cmp edx, eax
je 0x100a1c11
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.100a179d
add esp, 0x10
jmp 0x100a1d0b
push esi
lea ecx, [ebp - 0x255]
call fcn.100a20a5
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100a1c54
push dword [ebp - 0x25c]
jmp 0x100a1c01
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x100a1c91
cmp word [ebp - 0x226], 0
je 0x100a1cb2
cmp word [ebp - 0x226], ax
jne 0x100a1c91
cmp word [ebp - 0x224], 0
je 0x100a1cb2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.100a179d
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x100a1cfe
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x100a1c6b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x100a1ce6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x100a1d0b
push 0x100a1083
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.10004fd4
add esp, 0x10
jmp 0x100a1cdb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002da1
leave
ret

Function at 0x100a7dfc
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10003f26
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a7e6b
cmp esi, dword [ebp - 4]
je 0x100a7e66
cmp dword [ebp + 0xc], 0
je 0x100a7e66
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100a7e43
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100a7824
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100a7e6d
xor eax, eax
inc eax
jmp 0x100a7e6d
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100b2764
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10ea4178]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b27a4
cmp byte [ebx], 0xa
jne 0x100b27a4
or byte [edi + eax + 0x28], 4
jmp 0x100b27a9
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100b28a8
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100b288b
inc eax
cmp dl, 0xd
je 0x100b27d5
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100b27fb
cmp eax, ecx
jae 0x100b2809
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100b27bd
jmp 0x100b28a8
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b2886
cmp dword [ebp - 0x10], 0
je 0x100b2886
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10ea4178]
test byte [eax + edi + 0x28], 0x48
je 0x100b2860
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100b284b
mov byte [esi], dl
jmp 0x100b285c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10ea4178]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100b28a8
cmp byte [ebp - 1], 0xa
jne 0x100b286f
cmp esi, ebx
jne 0x100b286f
mov byte [esi], 0xa
jmp 0x100b28a7
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10001884
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100b28a8
mov byte [esi], 0xd
jmp 0x100b28a7
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10ea4178]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100b28a5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100b28a8
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100b2904
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10ea4178]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b294a
cmp word [ebx], dx
jne 0x100b294a
or byte [eax + edi + 0x28], 4
jmp 0x100b294f
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100b2ab2
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100b2a92
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100b2990
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100b29c6
cmp eax, edx
jae 0x100b29d4
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100b296b
jmp 0x100b2ab2
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b2a8d
cmp dword [ebp - 0x18], 0
je 0x100b2a8d
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10ea4178]
test byte [eax + edi + 0x28], 0x48
je 0x100b2a63
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100b2a27
mov word [esi], cx
jmp 0x100b2a5e
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10ea4178]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10ea4178]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10ea4178]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100b2ab2
pop eax
cmp word [ebp - 4], ax
jne 0x100b2a73
cmp esi, ebx
jne 0x100b2a73
mov word [esi], ax
jmp 0x100b2aaf
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10001884
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100b2ab2
push 0xd
pop eax
jmp 0x100b2a6e
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10ea4178]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100b2aac
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100b2ab2
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret