Function at 0x10003b00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a575
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10036080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1000a61a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push str.hook.ini
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
call fcn.10003170
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.10004440
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x10003bce
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003bc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e63
push ecx
push edx
call fcn.1000a64a
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.DEBUG
push str.GLOBAL
lea ecx, [ebp - 0x1c]
call fcn.100052c0
cmp eax, 1
jne 0x10003c2f
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x10003c2f
push 1
call fcn.1001433b
push eax
push 0x10032d58
lea eax, [ebp - 0x20]
push str.CONOUT_
push eax
call fcn.100147f4
push str.zh_ch
push 2
call fcn.100146b4
add esp, 0x1c
push 0x3a4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.CHANGECHARSET
push str.GLOBAL
lea ecx, [ebp - 0x1c]
call fcn.100052c0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 1
jne 0x10003c78
call fcn.1000ced0
call esi
push eax
call fcn.1000d3a0
push 0x100035a0
push 0x10037ebc
call fcn.1000c930
call fcn.1000cf30
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.CHANGEFONT
push str.GLOBAL
lea ecx, [ebp - 0x1c]
call fcn.100052c0
cmp eax, 1
jne 0x10003cbb
call fcn.1000ced0
call esi
push eax
call fcn.1000d3a0
push 0x10003610
push 0x10037ebc
call fcn.1000c930
call fcn.1000cf30
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.ENABLE
push str.TEXTPROCESS
lea ecx, [ebp - 0x1c]
call fcn.100052c0
cmp eax, 1
jne 0x10003e2a
push 0x10032d28
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push str.MODE
push str.TEXTPROCESS
lea ecx, [ebp - 0x1c]
call fcn.100052c0
cmp eax, 1
jne 0x10003d8d
test edi, edi
je 0x10003d6c
push str.resident.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [eax + 0x4b7f0]
add eax, 0x4b7f5
mov dword [0x10037e88], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push ecx
mov dword [0x10037e8c], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x10037e8c]
mov eax, 0x10008d50
sub eax, ecx
sub eax, 5
mov byte [ecx], 0xe9
mov dword [ecx + 1], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10003d8d
call fcn.1000ced0
call esi
push eax
call fcn.1000d3a0
push 0x100036d0
push 0x10037ec0
call fcn.1000c930
call fcn.1000cf30
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.MODE
push str.TEXTPROCESS
lea ecx, [ebp - 0x1c]
call fcn.100052c0
cmp eax, 2
jne 0x10003e2a
test edi, edi
je 0x10003e09
push str.resident.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [eax + 0x4b7f0]
add eax, 0x4b7f5
mov dword [0x10037e88], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push ecx
mov dword [0x10037e8c], ecx
call esi
mov ecx, dword [0x10037e8c]
mov eax, 0x10008d80
sub eax, ecx
sub eax, 5
mov byte [ecx], 0xe9
mov dword [ecx + 1], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push ecx
call esi
jmp 0x10003e2a
call fcn.1000ced0
call esi
push eax
call fcn.1000d3a0
push 0x100036d0
push 0x10037ec0
call fcn.1000c930
call fcn.1000cf30
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.10003900
push 0x30
push dword [ebp - 0x1c]
call fcn.1000a64a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a607
mov esp, ebp
pop ebp
ret
call fcn.10014222
int3