joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000336e
Capabilities:
Query environment variable

Disassembly:
jmp 0x10098c1e
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10098c2f
pop esi
ret
push ebx
push edi
push esi
call fcn.10098b05
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10003b4d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10098c57
push ebx
push esi
push edi
call fcn.10004fde
add esp, 0xc
push 0
call fcn.100059b6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1000337d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x10016a60
sub esp, 0x24
mov eax, dword [0x100d3e14]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x1c]
movsx eax, byte [ecx + 1]
movsx bp, byte [ecx]
mov word [esp + 0x1e], ax
movsx eax, byte [ecx + 2]
mov word [esp + 0x20], ax
movsx eax, byte [ecx + 3]
mov word [esp + 0x22], ax
movsx eax, byte [ecx + 4]
mov word [esp + 0x24], ax
movsx eax, byte [ecx + 5]
mov word [esp + 0x26], ax
movsx eax, byte [ecx + 6]
mov word [esp + 0x28], ax
movsx eax, byte [ecx + 7]
mov word [esp + 0x2a], ax
movsx eax, byte [ecx + 8]
mov word [esp + 0x2c], ax
movsx eax, byte [ecx + 9]
lea ecx, [edx + 2]
mov word [esp + 0x1c], bp
mov word [esp + 0x2e], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10016ad7
mov eax, dword [esp + 0x3c]
sub edx, ecx
sar edx, 1
mov dword [esp + 0x18], edx
cmp edx, eax
ja 0x10016bb4
mov ecx, dword [esp + 0x38]
test edx, edx
jne 0x10016b16
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10002cf7
add esp, 0x24
ret
sub eax, edx
inc eax
lea ebx, [ecx + eax*2]
mov eax, ecx
mov dword [esp + 0x10], ebx
mov ecx, ebx
mov esi, 0
sub ecx, eax
sar ecx, 1
je 0x10016b44
cmp word [eax], bp
je 0x10016b42
cmp ecx, 1
je 0x10016b44
add eax, 2
dec ecx
cmp word [eax], bp
jne 0x10016b34
mov esi, eax
mov eax, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x10016bb4
mov edi, edx
movzx esi, bp
movzx edx, word [eax]
lea ecx, [esp + 0x1c]
cmp dx, si
jb 0x10016b88
mov ebx, eax
mov eax, ecx
sub ebx, eax
mov eax, dword [esp + 0x14]
cmp dx, si
ja 0x10016b84
cmp edi, 1
je 0x10016b91
movzx edx, word [ebx + ecx + 2]
add ecx, 2
dec edi
movzx esi, word [ecx]
cmp dx, si
jae 0x10016b6c
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add eax, 2
jmp 0x10016b22
mov ecx, dword [esp + 0x38]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x10016bb4
pop edi
pop esi
pop ebp
lea eax, [ecx + eax*2]
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10002cf7
add esp, 0x24
ret
mov ecx, dword [esp + 0x30]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10002cf7
add esp, 0x24
ret

Function at 0x10003828
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x1003e660
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0xcccc
push dword [esp + 0x18]
call fcn.10004755
add esp, 0x18
test eax, eax
je 0x1003e68b
inc eax
cmp byte [eax], 0xcc
je 0x1003e685
ret
Function at 0x1000392c
Capabilities:
Write file on windows

Disassembly:
jmp 0x10010690
sub esp, 0x214
mov eax, dword [0x100d3e14]
xor eax, esp
mov dword [esp + 0x210], eax
push 0x1f8
lea eax, [esp + 0x1c]
mov dword [esp + 4], 0
push 0
push eax
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
call fcn.10002db0
push 0x1f3
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push 0x1f4
push eax
call fcn.100026e4
mov edx, dword [esp + 0x30]
add esp, 0x1c
cmp edx, 0x10
jb 0x1001071a
mov ecx, dword [esp]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010710
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001077d
push edx
push ecx
call fcn.100018fc
add esp, 8
lea eax, [esp + 0x21c]
push eax
push 0
push dword [esp + 0x220]
lea eax, [esp + 0x28]
push 0x1f4
push eax
call fcn.100050d8
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.10003530
add esp, 0x1c
lea eax, [esp + 0x18]
push 0
push 0x100d5458
push 0x1f8
push eax
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.10002cf7
add esp, 0x214
ret
call fcn.1000425a
int3

Function at 0x10003fb7
Capabilities:
Write file on windows

Disassembly:
jmp 0x10010fa0
push esi
mov esi, dword [esp + 0x2c]
test esi, esi
js 0x10010fb1
cmp esi, 0xc330
jbe 0x10010fc7
push dword [esp + 0x14]
push dword [esp + 0x14]
push esi
push str.Textractor:_something_went_very_wrong__invalid_length__d_at_hook_address__I64d_
call fcn.1000392c
add esp, 0x10
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0x20]
movups xmm0, xmmword [esp + 8]
push 0
push 0x100d5458
movups xmmword [ecx], xmm0
push eax
movups xmm0, xmmword [esp + 0x24]
push ecx
movups xmmword [ecx + 0x10], xmm0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
ret
Function at 0x100042d7
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x10024df0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10e9477c]
push esi
mov esi, dword [esp + 8]
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10e935e4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, dword [ecx + 0xeb68]
jg 0x10024ef2
push str.mono_assembly_get_image
push esi
call edi
push str.mono_image_get_name
push esi
mov dword [0x10e92f38], eax
call edi
push str.mono_class_from_name
push esi
mov dword [0x10e92f3c], eax
call edi
push str.mono_class_get_property_from_name
push esi
mov dword [0x10e92f40], eax
call edi
push str.mono_property_get_set_method
push esi
mov dword [0x10e92f44], eax
call edi
push str.mono_compile_method
push esi
mov dword [0x10e92f48], eax
call edi
push str.mono_get_root_domain
push esi
mov dword [0x10e92f4c], eax
call edi
push str.mono_thread_attach
push esi
mov dword [0x10e92f50], eax
call edi
cmp dword [0x10e935e0], 0
pop edi
mov dword [0x10e92f54], eax
pop esi
je 0x10024eef
cmp dword [0x10e92f38], 0
je 0x10024eef
cmp dword [0x10e92f3c], 0
je 0x10024eef
cmp dword [0x10e92f40], 0
je 0x10024eef
cmp dword [0x10e92f44], 0
je 0x10024eef
cmp dword [0x10e92f48], 0
je 0x10024eef
cmp dword [0x10e92f4c], 0
je 0x10024eef
cmp dword [0x10e92f50], 0
je 0x10024eef
test eax, eax
je 0x10024eef
push str.Mono_X86:_If_the_following_hooks_dont_work__create_the_TextractorConfig.txt_file_via_the__Configure_game__button_to_activate_the_brute_force_mode
call fcn.1000392c
push 0
push 0x10003062
call dword [0x10e935e0]
add esp, 0xc
mov al, 1
ret
xor al, al
ret
push 0x10e935e4
call fcn.1000545c
add esp, 4
cmp dword [0x10e935e4], 0xffffffff
jne 0x10024e1c
push str.mono_assembly_foreach
push esi
call edi
push 0x10e935e4
mov dword [0x10e935e0], eax
call fcn.100054e8
add esp, 4
jmp 0x10024e1c

Function at 0x1000494e
Capabilities:
Get system information on windows

Disassembly:
jmp 0x10018640
sub esp, 0x40
push ebx
push esi
lea eax, [esp + 0x24]
xor bl, bl
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor esi, esi
cmp dword [esp + 0x30], esi
jbe 0x10018708
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push 0x1c
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x1001867c
add esi, dword [esp + 0x2c]
jmp 0x100186fd
mov eax, dword [esp + 0x18]
cmp eax, 0x1f00000
jne 0x100186fb
cmp dword [esp + 0x20], 4
jne 0x100186fb
cmp dword [esp + 0x24], 0x40000
jne 0x100186fb
push str.Textractor:_PPSSPP_memory_found:_searching_for_hooks_should_yield_working_hook_codes
mov bl, 1
call fcn.1000392c
lea eax, [esi - 0x8000000]
mov dword [0x100d3060], 6
mov dword [0x100d3074], eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [0x100d3040], 0x360ad83
mov word [0x100d3044], 0
mov dword [0x100d3064], 0
mov dword [0x100d3078], 0
mov dword [0x100d307c], 0xffffffff
mov dword [0x100d329c], 0x10015e20
add esi, eax
cmp esi, dword [esp + 0x34]
jb 0x10018665
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40
ret
Function at 0x10004e76
Capabilities:
Parse pe header

Disassembly:
jmp 0x1003c830
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x1003c8b6
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x1003c8b6
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x1003c8b6
add eax, ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 4]
mov dword [esp + 4], eax
push ecx
push eax
call fcn.10004831
add esp, 0xc
test eax, eax
je 0x1003c8b6
mov edx, dword [esp + 0xc]
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003c883
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
mov eax, dword [esp + 0xc]
push edx
add eax, 0xfffffffc
push eax
push dword [esp + 0x10]
call fcn.10003ada
add esp, 0x10
pop esi
test eax, eax
je 0x1003c8b6
mov al, 1
add esp, 8
ret
xor al, al
add esp, 8
ret

Function at 0x10004f6b
Capabilities:
Write file on windows

Disassembly:
jmp 0x100109f0
mov eax, dword [esp + 0xc]
sub esp, 0x10
test eax, eax
je 0x10010a0a
push eax
push dword [0x100d39dc]
call fcn.1000392c
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push 0x100d5458
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push 0x10
push eax
push dword [section..data]
mov dword [esp + 0x14], 3
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0x10
ret
Function at 0x1000575e
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x100128e0
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x184]
test al, 0x40
je 0x10012923
lea ecx, [esi + 0x1c]
test al, al
jns 0x100129ff
lea eax, [esi + 0x10c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100129ec
add dword [esi + 0x1e8], eax
adc dword [esi + 0x1ec], 0
push edi
push 0x100d5458
push 0x40
push 0xa
push dword [esi + 0x1e8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
lea edi, [esi + 0x1fd]
push edi
push dword [esi + 0x1e8]
call fcn.10002e69
test eax, eax
je 0x10012988
cmp eax, 3
jne 0x10012a2f
push 9
push dword [esi + 0x1ec]
push dword [esi + 0x1e8]
call fcn.100024d2
add esp, 0xc
lea eax, [esp + 8]
push eax
push edi
push dword [esi + 0x1e8]
call fcn.10002e69
test eax, eax
jne 0x10012954
mov eax, dword [0x100d302c]
mov ecx, dword [esp + 8]
mov dword [eax + 0x100d300c], esi
mov eax, dword [0x100d3030]
mov dword [eax + 0x100d300c], 0x10003e3b
mov eax, dword [0x100d3034]
mov dword [eax + 0x100d300c], ecx
movups xmm0, xmmword [0x100d300c]
push dword [esi + 0x1e8]
movups xmmword [edi], xmm0
movq xmm0, qword [0x100d301c]
movq qword [edi + 0x10], xmm0
mov eax, dword [0x100d3024]
mov dword [edi + 0x18], eax
mov al, byte [0x100d3028]
mov byte [edi + 0x1c], al
call fcn.10002eb4
test eax, eax
pop edi
sete al
pop esi
pop ecx
ret
push dword [0x100d3a04]
call fcn.1000392c
add esp, 4
xor al, al
pop esi
pop ecx
ret
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10012a1c
cdq
add dword [esi + 0x1e8], eax
adc dword [esi + 0x1ec], edx
jmp 0x10012923
push dword [0x100d3a08]
call fcn.1000392c
add esp, 4
xor al, al
pop esi
pop ecx
ret
push eax
call fcn.10005d12
push eax
call fcn.1000392c
add esp, 4
xor al, al
pop edi
pop esi
pop ecx
ret
Function at 0x10005e8e
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x1003e300
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0xcccc
push dword [esp + 0x18]
call fcn.1000413d
add esp, 0x18
test eax, eax
je 0x1003e32b
inc eax
cmp byte [eax], 0xcc
je 0x1003e325
ret

Function at 0x10005ec5
Capabilities:
Write file on windows

Disassembly:
jmp 0x10010920
sub esp, 0x5dc
mov eax, dword [0x100d3e14]
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.10002db0
push 0x1f3
push ebx
lea eax, [esp + 0x210]
push 0x1f4
push eax
call fcn.10005263
add esp, 0x1c
lea eax, [esp + 0xc]
push 0
push 0x100d5458
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.10002cf7
add esp, 0x5dc
ret
Function at 0x10018ab0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x254
mov eax, dword [0x100d3e14]
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 0x10018b63
mov ecx, dword [0x10e93a18]
mov edx, ecx
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10018b00
sub edx, esi
sar edx, 1
cmp edx, 3
jbe 0x10018bc1
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 0x10018b20
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 0x10018bc1
push 0x40
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10002db0
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 0x100b8ee4
push eax
call fcn.10003ee0
add esp, 8
test eax, eax
je 0x10018bc1
lea ecx, [esp + 4]
add eax, 3
push ecx
push 0x100b8ee8
push eax
call fcn.10005399
add esp, 0xc
mov ecx, dword [esp + 0x254]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.10002cf7
add esp, 0x254
ret

Function at 0x10019ab0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1e8
push esi
mov esi, dword [esp + 0x1f0]
push edi
test esi, esi
je 0x10019ada
lea edx, [esi + 0x100]
mov ecx, esi
cmp esi, edx
jae 0x10019ada
nop
cmp byte [ecx], 0xe8
je 0x10019aef
inc ecx
cmp ecx, edx
jb 0x10019ad0
pop edi
pop esi
add esp, 0x1e8
mov dword [esp + 4], str.vnreng:AliceHook1:_failed
jmp fcn.1000392c
lea edi, [ecx + 5]
add edi, dword [ecx + 1]
push esi
call fcn.1000512d
add esp, 4
cmp eax, 1
je 0x10019b13
add esi, eax
push esi
call fcn.1000512d
add esp, 4
cmp eax, 1
jne 0x10019b03
push 0x1e8
lea eax, [esp + 0xc]
push 0
push eax
call fcn.10002db0
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.1000392c
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.100029be
add esp, 0x1f0
pop edi
pop esi
add esp, 0x1e8
ret
Function at 0x1001a140
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.10002db0
push 0x5a
lea eax, [esp + 0x1a6]
mov dword [esp + 0x1a0], 0
push 0
push eax
call fcn.10002db0
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.1000392c
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.100029be
add esp, 0x1f0
pop edi
pop esi
add esp, 0x1e8
mov dword [esp + 4], str.vnreng:KiriKiriZ:_disable_GDI_hooks
jmp fcn.1000392c

Function at 0x1001cfa0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1e8
push esi
mov esi, dword [esp + 0x1f0]
push edi
test esi, esi
jne 0x1001cfc8
pop edi
pop esi
add esp, 0x1e8
mov dword [esp + 4], str.vnreng:AliceHook2:_failed
jmp fcn.1000392c
push 0x174
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10002db0
push 0x5a
lea eax, [esp + 0x1a6]
mov dword [esp + 0x1a0], 0
push 0
push eax
call fcn.10002db0
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.1000392c
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.100029be
add esp, 0x1f0
pop edi
pop esi
add esp, 0x1e8
ret
Function at 0x10035cf0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x238
push 0xffffffffffffffff
push 0x100b3c6d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100d3e14]
xor eax, ebp
mov dword [ebp + 0x234], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0x10e93a20
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x10e93a20
call fcn.1000268f
push 0x103
add eax, 2
push 0x10e93a20
mov dword [0x10e93a18], eax
lea eax, [ebp]
push 0x119
push eax
call fcn.10005263
mov esi, dword [str.TextractorConfig.txt]
lea eax, [ebp]
push 0x5c
push eax
call fcn.1000268f
push esi
add eax, 2
push 0x15
push eax
call fcn.10003517
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 0x10035e74
cmp esi, 0xffffffff
je 0x10035e74
push 0
push 0x100d5458
push 0x3e7
push 0x10e93628
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 7
push str.Engine:
push 0x10e93628
call fcn.10005db7
add esp, 0xc
test eax, eax
jne 0x10035e36
push 0xa
push 0x10e93628
call fcn.10001db1
add esp, 8
mov dword [0x10e90f14], eax
test eax, eax
je 0x10035e0f
mov byte [eax], 0
inc dword [0x10e90f14]
push 0x10e9362f
push str.Textractor:_Engine___s
mov dword [0x10e93d5c], 0x10e9362f
call fcn.1000392c
mov eax, dword [0x10e90f14]
add esp, 8
test eax, eax
je 0x10035e45
jmp 0x10035e40
mov eax, 0x10e93628
mov dword [0x10e90f14], eax
cmp byte [eax], 0
je 0x10035e6a
push str.https:__
push 0x10e93628
call fcn.10003ee0
add esp, 8
test eax, eax
jne 0x10035e6a
push str.Textractor:_game_configuration_loaded
call fcn.1000392c
add esp, 4
jmp 0x10035e74
mov dword [0x10e90f14], 0
mov dword [ebp - 4], 1
test esi, esi
je 0x10035e8b
cmp esi, 0xffffffff
je 0x10035e8b
push esi
call dword [0x100b7fc4]
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 [0x10e93a14], ecx
mov dword [0x10e93a10], 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 [0x10e93a14], ecx
ja 0x10035eb0
mov eax, dword [0x10e93a10]
sub ecx, edx
push ecx
push eax
push str.Textractor:_hijacking_process_located_from_0x_p_to_0x_p
mov dword [0x10e93a14], ecx
mov dword [0x100d3078], eax
mov dword [0x100d307c], ecx
call fcn.1000392c
add esp, 0xc
call fcn.10004683
mov eax, dword [0x10e93a10]
add eax, 0x40000
cmp eax, dword [0x10e93a14]
jbe 0x10035f18
push str.Textractor:_WARNING_injected_process_is_very_small__possibly_a_dummy_
call fcn.1000392c
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.10002cf7
lea esp, [ebp + 0x238]
pop ebp
ret
Function at 0x1003f720
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push esi
imul esi, dword [esp + 0xc], 0x2c
push edi
add esi, dword [0x10e95dc0]
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 0x1003f762
pop edi
pop esi
mov eax, 0xa
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1003f788
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 0x1003f7a9
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1003f7a9
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1003f7a3
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1003f7a9
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 al, byte [esi + 0x14]
and bl, 1
mov cl, bl
and al, 0xfd
add cl, cl
shl bl, 2
or cl, al
xor eax, eax
and cl, 0xfb
or cl, bl
pop ebx
pop edi
mov byte [esi + 0x14], cl
pop esi
pop ebp
ret

Function at 0x1003f880
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x20
mov eax, dword [0x100d3e14]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, dword [esp + 0x28]
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1003f96d
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1003f966
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x10], 0x10
jb 0x1003f949
call ebx
cmp dword [esp + 0x1c], eax
jne 0x1003f949
call ebp
cmp dword [esp + 0x18], eax
je 0x1003f949
mov edx, dword [esi]
test edx, edx
jne 0x1003f911
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10e94394]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1003f964
jmp 0x1003f93c
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1003f93c
shl eax, 3
push eax
push edx
push 0
push dword [0x10e94394]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1003f964
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1003f8d1
pop ebp
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.10002cf7
add esp, 0x20
ret