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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a415
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.1000a4ba
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.10004470
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x10003bfe
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003bf4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e93
push ecx
push edx
call fcn.1000a4ea
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.100052f0
cmp eax, 1
jne 0x10003c5f
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x10003c5f
push 1
call fcn.100141db
push eax
push 0x10032d58
lea eax, [ebp - 0x20]
push str.CONOUT_
push eax
call fcn.10014694
push str.zh_ch
push 2
call fcn.10014554
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.100052f0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 1
jne 0x10003ca8
call fcn.1000cd70
call esi
push eax
call fcn.1000d240
push 0x100035d0
push 0x10037ebc
call fcn.1000c7d0
call fcn.1000cdd0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.CHANGEFONT
push str.GLOBAL
lea ecx, [ebp - 0x1c]
call fcn.100052f0
cmp eax, 1
jne 0x10003ceb
call fcn.1000cd70
call esi
push eax
call fcn.1000d240
push 0x10003640
push 0x10037ebc
call fcn.1000c7d0
call fcn.1000cdd0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.ENABLE
push str.TEXTPROCESS
lea ecx, [ebp - 0x1c]
call fcn.100052f0
cmp eax, 1
jne 0x10003e5a
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.100052f0
cmp eax, 1
jne 0x10003dbd
test edi, edi
je 0x10003d9c
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, 0x10008d60
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 0x10003dbd
call fcn.1000cd70
call esi
push eax
call fcn.1000d240
push 0x10003700
push 0x10037ec0
call fcn.1000c7d0
call fcn.1000cdd0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.MODE
push str.TEXTPROCESS
lea ecx, [ebp - 0x1c]
call fcn.100052f0
cmp eax, 2
jne 0x10003e5a
test edi, edi
je 0x10003e39
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, 0x10008d90
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 0x10003e5a
call fcn.1000cd70
call esi
push eax
call fcn.1000d240
push 0x10003700
push 0x10037ec0
call fcn.1000c7d0
call fcn.1000cdd0
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.10003930
push 0x30
push dword [ebp - 0x1c]
call fcn.1000a4ea
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.1000a4a7
mov esp, ebp
pop ebp
ret
call fcn.100140c2
int3