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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002212d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x100290c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x6a
xor edx, edx
mov al, byte [edx + 0x100262dc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x78], al
and ecx, 0x800000ff
jns 0x1001d3fe
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x1001d3e1
mov byte [ebp - 0x6a], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001d454
call esi
push 0xc
lea ecx, [ebp - 0x20]
mov dword [0x10041fdc], 0x11dd6a5c
push ecx
push dword [ebp - 0x14]
push eax
mov eax, 0x11dd6a5c
call eax
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
mov eax, dword [ebp - 0x20]
mov dword [0x10042700], eax
mov eax, dword [ebp - 0x1c]
push 0x100243e4
mov dword [0x1004265c], eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call edi
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001d4a5
call esi
push 0xc
lea ecx, [ebp - 0x20]
mov dword [0x10041fdc], 0x11dd6a5c
push ecx
push dword [ebp - 0x14]
push eax
mov eax, 0x11dd6a5c
call eax
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [0x10042304], eax
mov eax, dword [ebp - 0x1c]
push 0x100262ec
mov dword [0x11dd6a98], eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call edi
mov edi, eax
test edi, edi
je 0x1001d4ec
call esi
push 0xc
lea ecx, [ebp - 0x20]
mov dword [0x10041fdc], 0x11dd6a5c
push ecx
push edi
push eax
mov eax, 0x11dd6a5c
call eax
mov edi, dword [0x10042304]
mov esi, edi
mov ecx, dword [0x11dd6a98]
mov dword [ebp - 0x14], ecx
lea eax, [edi + ecx]
cmp edi, eax
jae 0x1001d53c
mov edx, edi
sub edx, esi
push 0x100243dc
add edx, ecx
mov ecx, esi
push 0x100243e0
call fcn.10002150
add esp, 8
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
je 0x1001d53c
test esi, esi
je 0x1001d53c
mov ecx, dword [ebp - 0x14]
add esi, 2
lea eax, [edi + ecx]
cmp esi, eax
jb 0x1001d504
cmp dword [0x10042418], 0
jne 0x1001d587
mov ecx, 0xf8
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x100262f4]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x58], al
and ecx, 0x800000ff
jns 0x1001d56d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x32
jl 0x1001d550
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x26], 0
call fcn.10002ca0
mov eax, dword [eax + 7]
mov dword [0x10042418], eax
cmp dword [0x10042628], 0
jne 0x1001d5d3
mov ecx, 0x1e
xor edx, edx
mov al, byte [edx + 0x10024508]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x68], al
and ecx, 0x800000ff
jns 0x1001d5b4
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x44
jl 0x1001d597
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x24], 0
call fcn.10002ca0
mov ecx, dword [eax + 0x30]
add eax, 0x34
add eax, ecx
mov dword [0x10042628], eax
cmp dword [0x10042210], 0
jne 0x1001d61f
mov ecx, 0x1e
xor edx, edx
mov al, byte [edx + 0x10024508]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x68], al
and ecx, 0x800000ff
jns 0x1001d600
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x44
jl 0x1001d5e3
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x24], 0
call fcn.10002ca0
mov ecx, dword [eax + 0x42]
add eax, 0x46
add eax, ecx
mov dword [0x10042210], eax
cmp dword [0x1004260c], 0
jne 0x1001d667
mov ecx, 0x1e
xor edx, edx
nop
mov al, byte [edx + 0x10024508]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x68], al
and ecx, 0x800000ff
jns 0x1001d64d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x44
jl 0x1001d630
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x24], 0
call fcn.10002ca0
mov eax, dword [eax + 0x25]
mov dword [0x1004260c], eax
cmp dword [0x1004225c], 0
jne 0x1001d6ae
mov ecx, 0x1e
xor edx, edx
mov al, byte [edx + 0x10024508]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x68], al
and ecx, 0x800000ff
jns 0x1001d694
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x44
jl 0x1001d677
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x24], 0
call fcn.10002ca0
mov eax, dword [eax + 0x2b]
mov dword [0x1004225c], eax
push str.__________________________________________________________n
call fcn.10002080
push dword [0x10042628]
push str.g_pProjectMatrix_:__p_n
call fcn.10002080
push dword [0x10042210]
push str.g_pViewMatrix_:__p_n
call fcn.10002080
push dword [0x1004260c]
push str.g_pRenderContext1_:__p_n
call fcn.10002080
push dword [0x1004225c]
push str.g_pRenderContext2_:__p_n
call fcn.10002080
add esp, 0x24
cmp dword [0x10042688], 0
jne 0x1001d779
mov ecx, 0xf1
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x10025488]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x68], al
and ecx, 0x800000ff
jns 0x1001d72d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x44
jl 0x1001d710
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x24], 0
call fcn.10002ca0
mov esi, eax
test esi, esi
je 0x1001d76e
mov edx, dword [0x1004265c]
xor ecx, ecx
test edx, edx
je 0x1001d764
mov edi, dword [0x10042700]
cmp dword [ecx + edi], esi
lea eax, [ecx + edi]
je 0x1001d769
inc ecx
cmp ecx, edx
jb 0x1001d757
or eax, 0xffffffff
jmp 0x1001d771
add eax, 0xffffffff
jne 0x1001d771
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0x30]
mov dword [0x10042688], eax
cmp dword [0x11dd67ac], 0
jne 0x1001d795
mov ecx, str.55_8B_EC_56_8B_______EB____8B_______8B
call fcn.10002ca0
movzx eax, byte [eax + 6]
mov dword [0x11dd67ac], eax
cmp dword [0x10041fd4], 0
jne 0x1001d7dc
mov ecx, 0xfa
xor edx, edx
mov al, byte [edx + 0x100254f8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x64], al
and ecx, 0x800000ff
jns 0x1001d7c2
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x3e
jl 0x1001d7a5
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x26], 0
call fcn.10002ca0
sub eax, 0x3e
mov dword [0x10041fd4], eax
push str.__________________________________________________________n
call fcn.10002080
push dword [0x10042688]
push str.g_pPlayer_:__p_n
call fcn.10002080
push dword [0x10041fd4]
push str.SetCharaWeapon_:__p_n
call fcn.10002080
push dword [0x11dd67ac]
push str.getPTRFirst1_:__p_n
call fcn.10002080
add esp, 0x1c
call fcn.10004710
call fcn.10004bb0
call fcn.10005d60
mov esi, dword [0x10042210]
mov al, byte [esi]
cmp al, 0x6a
je 0x1001d871
cmp al, 0x55
je 0x1001d871
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x100424fc
call edi
mov eax, dword [esi]
mov dword [0x100424fc], eax
mov al, byte [esi + 4]
sub esi, 0x10042501
mov byte [0x10042500], al
mov byte [0x10042501], 0xe9
mov dword [0x10042502], esi
jmp 0x1001d8b5
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xc
push 0x100424fc
call edi
mov eax, dword [esi]
mov dword [0x100424fc], eax
mov ax, word [esi + 4]
mov word [0x10042500], ax
mov al, byte [esi + 6]
sub esi, 0x10042503
add esi, 2
mov byte [0x10042502], al
mov byte [0x10042503], 0xe9
mov dword [0x10042504], esi
mov esi, dword [0x10042628]
mov al, byte [esi]
cmp al, 0x6a
je 0x1001d8f8
cmp al, 0x55
je 0x1001d8f8
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x100425bc
call edi
mov eax, dword [esi]
mov dword [0x100425bc], eax
mov al, byte [esi + 4]
sub esi, 0x100425c1
mov byte [0x100425c0], al
mov byte [0x100425c1], 0xe9
mov dword [0x100425c2], esi
jmp 0x1001d936
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xc
push 0x100425bc
call edi
mov eax, dword [esi]
mov dword [0x100425bc], eax
mov ax, word [esi + 4]
mov word [0x100425c0], ax
mov al, byte [esi + 6]
sub esi, 0x100425c3
add esi, 2
mov byte [0x100425c2], al
mov byte [0x100425c3], 0xe9
mov dword [0x100425c4], esi
mov esi, dword [0x10042198]
mov al, byte [esi]
cmp al, 0x6a
je 0x1001d979
cmp al, 0x55
je 0x1001d979
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x100424bc
call edi
mov eax, dword [esi]
mov dword [0x100424bc], eax
mov al, byte [esi + 4]
sub esi, 0x100424c1
mov byte [0x100424c0], al
mov byte [0x100424c1], 0xe9
mov dword [0x100424c2], esi
jmp 0x1001d9b7
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xc
push 0x100424bc
call edi
mov eax, dword [esi]
mov dword [0x100424bc], eax
mov ax, word [esi + 4]
mov word [0x100424c0], ax
mov al, byte [esi + 6]
sub esi, 0x100424c3
add esi, 2
mov byte [0x100424c2], al
mov byte [0x100424c3], 0xe9
mov dword [0x100424c4], esi
mov esi, dword [0x10042188]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xb
push 0x1004247c
call edi
mov eax, dword [esi]
mov dword [0x1004247c], eax
movzx eax, word [esi + 4]
sub esi, 0x10042482
mov word [0x10042480], ax
inc esi
lea eax, [ebp - 0x14]
mov dword [0x10042483], esi
mov esi, dword [0x10042158]
push eax
push 0x40
push 0xb
push 0x1004243c
mov byte [0x10042482], 0xe9
call edi
mov eax, dword [esi]
mov dword [0x1004243c], eax
movzx eax, word [esi + 4]
sub esi, 0x10042442
mov word [0x10042440], ax
inc esi
lea eax, [ebp - 0x14]
mov dword [0x10042443], esi
mov esi, dword [0x11dd6774]
push eax
push 0x40
push 0x23
push 0x1004255c
mov byte [0x10042442], 0xe9
add esi, 6
call edi
movups xmm0, xmmword [esi]
movups xmmword [0x1004255c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x1004256c], xmm0
mov eax, dword [esi + 0x18]
mov dword [0x10042574], eax
movzx eax, word [esi + 0x1c]
sub esi, 0x1004257a
mov word [0x10042578], ax
add esi, 0x19
lea eax, [ebp - 0x14]
mov dword [0x1004257b], esi
mov esi, dword [0x10042164]
push eax
push 0x40
push 0xd
push 0x1004245c
mov byte [0x1004257a], 0xe9
call edi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub esi, 0x10042464
mov dword [0x1004245c], eax
add esi, 3
lea eax, [ebp - 0x14]
mov dword [0x10042465], esi
mov esi, dword [0x10042158]
push eax
push 0x40
push 0xb
push 0x1004249c
mov dword [0x10042460], ecx
mov byte [0x10042464], 0xe9
call edi
mov eax, dword [esi]
mov dword [0x1004249c], eax
movzx eax, word [esi + 4]
mov esi, dword [0x1004270c]
mov word [0x100424a0], ax
mov byte [0x100424a2], 0xc3
mov al, byte [esi]
cmp al, 0x6a
je 0x1001db2d
cmp al, 0x55
je 0x1001db2d
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x1004253c
call edi
mov eax, dword [esi]
mov dword [0x1004253c], eax
mov al, byte [esi + 4]
sub esi, 0x10042541
mov byte [0x10042540], al
mov byte [0x10042541], 0xe9
mov dword [0x10042542], esi
jmp 0x1001db6b
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xc
push 0x1004253c
call edi
mov eax, dword [esi]
mov dword [0x1004253c], eax
mov ax, word [esi + 4]
mov word [0x10042540], ax
mov al, byte [esi + 6]
sub esi, 0x10042543
add esi, 2
mov byte [0x10042542], al
mov byte [0x10042543], 0xe9
mov dword [0x10042544], esi
mov esi, dword [0x10042294]
mov al, byte [esi]
cmp al, 0x6a
je 0x1001dbae
cmp al, 0x55
je 0x1001dbae
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x1004251c
call edi
mov eax, dword [esi]
mov dword [0x1004251c], eax
mov al, byte [esi + 4]
sub esi, 0x10042521
mov byte [0x10042520], al
mov byte [0x10042521], 0xe9
mov dword [0x10042522], esi
jmp 0x1001dbec
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xc
push 0x1004251c
call edi
mov eax, dword [esi]
mov dword [0x1004251c], eax
mov ax, word [esi + 4]
mov word [0x10042520], ax
mov al, byte [esi + 6]
sub esi, 0x10042523
add esi, 2
mov byte [0x10042522], al
mov byte [0x10042523], 0xe9
mov dword [0x10042524], esi
mov esi, dword [0x10041fd4]
mov al, byte [esi]
cmp al, 0x6a
je 0x1001dc2f
cmp al, 0x55
je 0x1001dc2f
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x1004241c
call edi
mov eax, dword [esi]
mov dword [0x1004241c], eax
mov al, byte [esi + 4]
sub esi, 0x10042421
mov byte [0x10042420], al
mov byte [0x10042421], 0xe9
mov dword [0x10042422], esi
jmp 0x1001dc6d
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xc
push 0x1004241c
call edi
mov eax, dword [esi]
mov dword [0x1004241c], eax
mov ax, word [esi + 4]
mov word [0x10042420], ax
mov al, byte [esi + 6]
sub esi, 0x10042423
add esi, 2
mov byte [0x10042422], al
mov byte [0x10042423], 0xe9
mov dword [0x10042424], esi
mov esi, dword [0x1004214c]
mov al, byte [esi]
cmp al, 0x6a
je 0x1001dcb0
cmp al, 0x55
je 0x1001dcb0
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x100424dc
call edi
mov eax, dword [esi]
mov dword [0x100424dc], eax
mov al, byte [esi + 4]
sub esi, 0x100424e1
mov byte [0x100424e0], al
mov byte [0x100424e1], 0xe9
mov dword [0x100424e2], esi
jmp 0x1001dcee
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xc
push 0x100424dc
call edi
mov eax, dword [esi]
mov dword [0x100424dc], eax
mov ax, word [esi + 4]
mov word [0x100424e0], ax
mov al, byte [esi + 6]
sub esi, 0x100424e3
add esi, 2
mov byte [0x100424e2], al
mov byte [0x100424e3], 0xe9
mov dword [0x100424e4], esi
mov esi, dword [0x10041fd0]
mov al, byte [esi]
cmp al, 0x6a
je 0x1001dd31
cmp al, 0x55
je 0x1001dd31
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x1004257c
call edi
mov eax, dword [esi]
mov dword [0x1004257c], eax
mov al, byte [esi + 4]
sub esi, 0x10042581
mov byte [0x10042580], al
mov byte [0x10042581], 0xe9
mov dword [0x10042582], esi
jmp 0x1001dd6f
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xc
push 0x1004257c
call edi
mov eax, dword [esi]
mov dword [0x1004257c], eax
mov ax, word [esi + 4]
mov word [0x10042580], ax
mov al, byte [esi + 6]
sub esi, 0x10042583
add esi, 2
mov byte [0x10042582], al
mov byte [0x10042583], 0xe9
mov dword [0x10042584], esi
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.10020ae5
mov esp, ebp
pop ebp
ret