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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002baf5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100390c0]
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.1000b84f
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.10003340
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.10004610
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x10003d9e
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003d94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004033
push ecx
push edx
call fcn.1000b87f
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.10005730
cmp eax, 1
jne 0x10003dff
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x10003dff
push 1
call fcn.1001563b
push eax
push 0x10034e88
lea eax, [ebp - 0x20]
push str.CONOUT_
push eax
call fcn.10015af4
push str.zh_ch
push 2
call fcn.100159b4
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.10005730
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 1
jne 0x10003e48
call fcn.1000e1d0
call esi
push eax
call fcn.1000e6a0
push 0x10003770
push 0x1003b0a0
call fcn.1000dc30
call fcn.1000e230
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.CHANGEFONT
push str.GLOBAL
lea ecx, [ebp - 0x1c]
call fcn.10005730
cmp eax, 1
jne 0x10003e8b
call fcn.1000e1d0
call esi
push eax
call fcn.1000e6a0
push 0x100037e0
push 0x1003b0a0
call fcn.1000dc30
call fcn.1000e230
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.ENABLE
push str.TEXTPROCESS
lea ecx, [ebp - 0x1c]
call fcn.10005730
cmp eax, 1
jne 0x10003ffa
push 0x10034e58
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.10005730
cmp eax, 1
jne 0x10003f5d
test edi, edi
je 0x10003f3c
push str.resident.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [eax + 0x4b7f0]
add eax, 0x4b7f5
mov dword [0x1003b098], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push ecx
mov dword [0x1003b09c], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x1003b09c]
mov eax, 0x100091c0
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 0x10003f5d
call fcn.1000e1d0
call esi
push eax
call fcn.1000e6a0
push 0x100038a0
push 0x1003b0a4
call fcn.1000dc30
call fcn.1000e230
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.MODE
push str.TEXTPROCESS
lea ecx, [ebp - 0x1c]
call fcn.10005730
cmp eax, 2
jne 0x10003ffa
test edi, edi
je 0x10003fd9
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 [0x1003b098], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push ecx
mov dword [0x1003b09c], ecx
call esi
mov ecx, dword [0x1003b09c]
mov eax, 0x100091f0
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 0x10003ffa
call fcn.1000e1d0
call esi
push eax
call fcn.1000e6a0
push 0x100038a0
push 0x1003b0a4
call fcn.1000dc30
call fcn.1000e230
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.10003ad0
push 0x30
push dword [ebp - 0x1c]
call fcn.1000b87f
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.1000b83c
mov esp, ebp
pop ebp
ret
call fcn.10015522
int3