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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0x10075360
push 0x968180
push 0xe9
call fcn.100cfb50
push 0x10008f90
push 0x4fcb58
push 0xe9
mov dword [0x1032a23c], 0
mov dword [0x1032a240], 0
mov dword [0x1032a244], 0
mov dword [0x1032a24c], 0
mov dword [0x1032a248], 0
call fcn.100cfb50
push 0x10008fb0
push 0x4fd0b9
push 0xe9
call fcn.100cfb50
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x24
cmp dword [0x1025c20c], 1
mov dword [0x10333374], 0
mov dword [0x10333378], 0
mov byte [0x1033337c], 0
jne 0x1004834d
push 0x100afdd0
push 0x853950
push 0xe9
call fcn.100cfb50
push 0x100b01b0
push 0x8533a0
push 0xe9
call fcn.100cfb50
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x85375b
call edi
mov eax, 0x85375b
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x85375b
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x85374b
call edi
mov eax, 0x85374b
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x85374b
call edi
push 0x100481d0
push 0x8350e9
push 0xe8
call fcn.100cfb50
add esp, 0xc
cmp dword [0x1025c214], 1
jne 0x10048398
push 0x1000d730
push 0x5bafab
push 0xe8
call fcn.100cfb50
push 0x1000d690
push 0x7c5db0
push 0xe8
call fcn.100cfb50
add esp, 0x18
cmp dword [0x1025c210], 1
jne 0x100483c7
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x81c03fa
call edi
lea eax, [ebp - 4]
mov byte [0x81c03fa], 1
push eax
push dword [ebp - 4]
push 1
push 0x81c03fa
call edi
mov dword [0x1035837c], 0x42f6e9df
mov eax, 0x51eb851f
imul dword [0xe61e58]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
movd xmm0, eax
mov eax, 0x1b4e81b5
cvtdq2ps xmm0, xmm0
movss dword [0x10358380], xmm0
imul dword [0xe61e5c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [0x1025c224], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x10358384], xmm0
jne 0x100484ab
mov byte [0x1032a2b0], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1003a5a0
sub eax, 0x1388
mov byte [0x1032a2b8], 0
push 0x7d2bc0
push 0xe9
mov dword [0x1032a2b4], eax
call fcn.100cfb50
push method.std::codecvt_char__char__struct__Mbstatet_.virtual_12
push 0x80b8e0
push 0xe9
call fcn.100cfb50
push 0x1003b220
push 0x7d26b5
push 0xe9
call fcn.100cfb50
push 0x1003b3c0
push 0x7d2751
push 0xe9
call fcn.100cfb50
push 0x1003b560
push 0x7d27fc
push 0xe9
call fcn.100cfb50
add esp, 0x3c
mov eax, dword [0x1025c22c]
sub eax, 1
je 0x10048662
sub eax, 1
je 0x1004858f
sub eax, 1
jne 0x10048758
push 0x100bcff0
push 0x848cb6
push 0xe8
mov dword [0x10333308], eax
call fcn.100cfb50
push 0x100bd0d0
push 0x8491ae
push 0xe8
call fcn.100cfb50
push 0x100bd3b0
push 0x8491b6
push 0xe8
call fcn.100cfb50
push 0x100bdbf0
push 0x8491be
push 0xe8
call fcn.100cfb50
push 0x100bee40
push 0x849087
push 0xe8
call fcn.100cfb50
push 0x100bedc0
push 0x848f07
push 0xe8
call fcn.100cfb50
add esp, 0x48
push 0x100bed40
push 0x848e5d
push 0xe8
call fcn.100cfb50
push 0x100bed80
push 0x848eb2
push 0xe8
call fcn.100cfb50
push 0x100bee00
push 0x848f4b
push 0xe8
call fcn.100cfb50
add esp, 0x24
jmp 0x10048758
push 0x1000e890
push 0x848cb6
push 0xe8
call fcn.100cfb50
push 0x1000e950
push 0x8491ae
push 0xe8
call fcn.100cfb50
push 0x1000eb00
push 0x8491b6
push 0xe8
call fcn.100cfb50
push 0x1000ef90
push 0x8491be
push 0xe8
call fcn.100cfb50
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x849087
push 0xe8
call fcn.100cfb50
push 0x10010500
push 0x848f07
push 0xe8
call fcn.100cfb50
add esp, 0x48
push 0x100104a0
push 0x848e5d
push 0xe8
call fcn.100cfb50
push 0x100104d0
push 0x848eb2
push 0xe8
call fcn.100cfb50
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x848f4b
push 0xe8
call fcn.100cfb50
push 0x10010540
push 0x8490f5
push 0xe8
call fcn.100cfb50
add esp, 0x30
jmp 0x10048758
push 0x100550e0
push 0x848cb6
push 0xe8
call fcn.100cfb50
push 0x100551a0
push 0x8491ae
push 0xe8
call fcn.100cfb50
push 0x10055460
push 0x8491b6
push 0xe8
call fcn.100cfb50
push 0x10055860
push 0x8491be
push 0xe8
call fcn.100cfb50
push 0x10058150
push 0x849087
push 0xe8
call fcn.100cfb50
push 0x100580f0
push 0x848f07
push 0xe8
call fcn.100cfb50
add esp, 0x48
push 0x10058090
push 0x848e5d
push 0xe8
call fcn.100cfb50
push 0x100580c0
push 0x848eb2
push 0xe8
call fcn.100cfb50
push 0x10058120
push 0x848f4b
push 0xe8
call fcn.100cfb50
push 0x10058180
push 0x8490f5
push 0xe8
call fcn.100cfb50
push 0x100581e0
push 0x772960
push 0xe8
call fcn.100cfb50
push 0x10058200
push 0x7729b3
push 0xe8
call fcn.100cfb50
add esp, 0x48
mov eax, dword [0x1025c238]
sub eax, 1
je 0x1004876e
sub eax, 1
jne 0x10048773
call fcn.100dc2b0
jmp 0x10048773
call fcn.1003c600
mov eax, dword [0x1025c268]
push esi
sub eax, 1
je 0x10048822
sub eax, 1
je 0x1004879a
sub eax, 2
jne 0x1004888f
call fcn.10042be0
jmp 0x1004888f
push 0x10070590
push 0x4d7eb1
push 0xe8
call fcn.100cfb50
push 0x10070360
push 0x4d76fb
push 0xe8
call fcn.100cfb50
push 0x10070360
push 0x4d79c3
push 0xe8
call fcn.100cfb50
mov esi, dword [0x1025c26c]
lea eax, [ebp - 4]
add esp, 0x24
mov dword [ebp - 4], 0
push eax
push 0x40
push 4
push 0x4d75f0
call edi
test eax, eax
je 0x1004881a
lea eax, [ebp - 8]
mov dword [0x4d75f0], esi
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 4
push 0x4d75f0
call edi
test eax, eax
jne 0x1004888f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1004888f
push 0x10018fc0
push 0x4d76fb
push 0xe8
call fcn.100cfb50
push 0x10018fc0
push 0x4d79c3
push 0xe8
call fcn.100cfb50
mov esi, dword [0x1025c26c]
lea eax, [ebp - 4]
add esp, 0x18
push eax
push 0x40
push 4
push 0x4d75f0
call edi
lea eax, [ebp - 4]
mov dword [0x4d75f0], esi
push eax
push dword [ebp - 4]
push 4
push 0x4d75f0
call edi
push 0x10019090
push 0x5edda9
push 0xe8
call fcn.100cfb50
add esp, 0xc
mov eax, dword [0x1025c270]
pop esi
sub eax, 1
je 0x100488b7
sub eax, 1
je 0x100488b0
sub eax, 2
jne 0x100488bc
call fcn.10042be0
call fcn.100442f0
jmp 0x100488bc
call fcn.1006fcf0
jmp 0x100488bc
call fcn.10019520
mov eax, dword [0x1025c240]
cmp eax, 1
jne 0x10048a1e
push 0x1003c200
push 0x789099
push 0xe9
call fcn.100cfb50
push 0x1003c1b0
push 0x7890e2
push 0xe9
call fcn.100cfb50
push 0x1003bcf0
push 0x78b0cf
push 0xe8
call fcn.100cfb50
push 0x1003baa0
push 0x78b09a
push 0xe8
call fcn.100cfb50
push 0x1003b7f0
push 0x787620
push 0xe8
call fcn.100cfb50
push method.std::codecvt_char__char__struct__Mbstatet_.virtual_12
push 0x787628
push 0xe8
call fcn.100cfb50
add esp, 0x48
push 0x1003b9f0
push 0x787748
push 0xe8
call fcn.100cfb50
push 0x7867b3
push 0x7867a5
push 0xe9
call fcn.100cfb50
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x787c7d
call edi
mov eax, 0x787c7d
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x787c7d
call edi
push 0x1003b710
push 0x7864b3
push 0xe8
call fcn.100cfb50
push 0x1003b710
push 0x78641e
push 0xe8
call fcn.100cfb50
push 0x1003b710
push 0x7863a8
push 0xe8
call fcn.100cfb50
push 0x1003b710
push 0x786347
push 0xe8
call fcn.100cfb50
push 0x1003b710
push 0x7862e2
push 0xe8
call fcn.100cfb50
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x78628e
push 0xe8
call fcn.100cfb50
mov eax, dword [0x1025c240]
add esp, 0x48
cmp eax, 2
jne 0x10048ba4
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x785b44
call edi
mov eax, 0x785b44
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x785b44
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x787630
call edi
mov eax, 0x787630
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x787630
call edi
push 0x10034ed0
push 0x78adcc
push 0xe8
call fcn.100cfb50
push 0x10034ed0
push 0x78ae15
push 0xe8
call fcn.100cfb50
push 0x10034ed0
push 0x78ae5e
push 0xe8
call fcn.100cfb50
push 0x10033cb0
push 0x78b09a
push 0xe8
call fcn.100cfb50
push 0x10033f00
push 0x78b0cf
push 0xe8
call fcn.100cfb50
push 0x10034a10
push 0x787620
push 0xe8
call fcn.100cfb50
add esp, 0x48
push 0x100340a0
push 0x787628
push 0xe8
call fcn.100cfb50
push 0x10034e80
push 0x787748
push 0xe8
call fcn.100cfb50
push 0x10034d70
push 0x7864b3
push 0xe8
call fcn.100cfb50
push 0x10034d70
push 0x78641e
push 0xe8
call fcn.100cfb50
push 0x10034d70
push 0x7863a8
push 0xe8
call fcn.100cfb50
push 0x10034d70
push 0x786347
push 0xe8
call fcn.100cfb50
add esp, 0x48
push 0x10034d70
push 0x7862e2
push 0xe8
call fcn.100cfb50
push 0x10034d70
push 0x78628e
push 0xe8
call fcn.100cfb50
add esp, 0x18
cmp dword [0x1025c288], 2
jne 0x10048bd8
push 0x100de050
push 0x7e020c
push 0xe8
call fcn.100cfb50
push 0x100de050
push 0x7e0298
push 0xe8
call fcn.100cfb50
add esp, 0x18
call fcn.1003eb50
call fcn.100dc060
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x556cc6
call edi
mov eax, 0x556cc6
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x556cc6
call edi
push 0x100bcfd0
push 0x556cc6
push 0xe9
call fcn.100cfb50
add esp, 0xc
mov ecx, 0x1025bd90
push str.Data__KGData__Lua__CharacterSystem__SkillCroma.lua
call fcn.100b6d30
push dword [0x1025bd94]
call fcn.1009bfd0
call fcn.100b9890
cmp byte [0x1025c31c], 1
jne 0x10048c7b
push 0x100b5410
push 0x842ac7
push 0xe8
call fcn.100cfb50
push 0x100b5410
push 0x842b8d
push 0xe8
call fcn.100cfb50
add esp, 0x18
cmp dword [0x1025c200], 1
jne 0x10048cef
mov dword [0x105b2924], 0
call fcn.1006f6a0
cmp dword [0x1025c200], 1
jne 0x10048cef
push 0x1006e430
push 0x40b5a9
push 0xe8
call fcn.100cfb50
push 0x1006ddb0
push 0x40b400
push 0xe8
call fcn.100cfb50
push 0x1006ddb0
push 0x40b44f
push 0xe8
call fcn.100cfb50
push 0x1006f630
push 0x483711
push 0xe8
call fcn.100cfb50
add esp, 0x30
cmp byte [0x1025c320], 1
jne 0x10048e1b
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x40c98c
call edi
lea eax, [ebp - 4]
mov dword [0x40c98c], 2
push eax
push dword [ebp - 4]
push 4
push 0x40c98c
call edi
push 0x100b6a00
push 0x4d7602
push 0xe8
call fcn.100cfb50
push 0x100b6820
push 0x40b331
push 0xe8
call fcn.100cfb50
push 0x100b6660
push 0x40ada2
push 0xe8
call fcn.100cfb50
push 0x100b6720
push 0x40b2e2
push 0xe8
call fcn.100cfb50
push 0x100b6920
push 0x40c3af
push 0xe8
call fcn.100cfb50
push 0x100b6920
push 0x40c40b
push 0xe8
call fcn.100cfb50
add esp, 0x48
push 0x100b6920
push 0x40c45f
push 0xe8
call fcn.100cfb50
push 0x100b68e0
push 0x40b422
push 0xe8
call fcn.100cfb50
push 0x100b68e0
push 0x40b47c
push 0xe8
call fcn.100cfb50
push 0x100b6840
push 0x40b3f1
push 0xe8
call fcn.100cfb50
push 0x100b68c0
push 0x40b515
push 0xe8
call fcn.100cfb50
push 0x100b69e0
push 0x40ab50
push 0xe8
call fcn.100cfb50
add esp, 0x48
call fcn.100b1fa0
pop edi
mov esp, ebp
pop ebp
ret