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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101ac06c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x10075330
push 0x968180
push 0xe9
call fcn.100cf570
push 0x10007e80
push 0x4fcb58
push 0xe9
mov dword [0x10327a3c], 0
mov dword [0x10327a40], 0
mov dword [0x10327a44], 0
mov dword [0x10327a4c], 0
mov dword [0x10327a48], 0
call fcn.100cf570
push 0x10007ea0
push 0x4fd0b9
push 0xe9
call fcn.100cf570
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x24
cmp dword [0x1025997c], 1
mov dword [0x10330b48], 0
mov dword [0x10330b4c], 0
mov byte [0x10330b50], 0
jne 0x10048e27
push 0x100b0630
push 0x853950
push 0xe9
call fcn.100cf570
push 0x100b0a10
push 0x8533a0
push 0xe9
call fcn.100cf570
add esp, 0x18
lea eax, [ebp - 8]
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 - 8]
push eax
push dword [ebp - 8]
push 5
push 0x85375b
call edi
lea eax, [ebp - 8]
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 - 8]
push eax
push dword [ebp - 8]
push 5
push 0x85374b
call edi
push 0x10048ca0
push 0x8350e9
push 0xe8
call fcn.100cf570
add esp, 0xc
cmp dword [0x10259984], 1
jne 0x10048e72
push 0x1000c1d0
push 0x5bafab
push 0xe8
call fcn.100cf570
push 0x1000c130
push 0x7c5db0
push 0xe8
call fcn.100cf570
add esp, 0x18
cmp dword [0x10259980], 1
jne 0x10048ea1
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x81c03fa
call edi
lea eax, [ebp - 8]
mov byte [0x81c03fa], 1
push eax
push dword [ebp - 8]
push 1
push 0x81c03fa
call edi
mov dword [0x10355c0c], 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 [0x10355c10], xmm0
imul dword [0xe61e5c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [0x10259994], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x10355c14], xmm0
jne 0x10048f85
mov byte [0x10327aac], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1003a170
sub eax, 0x1388
mov byte [0x10327ab4], 0
push 0x7d2bc0
push 0xe9
mov dword [0x10327ab0], eax
call fcn.100cf570
push method.std::codecvt_char__char__struct__Mbstatet_.virtual_12
push 0x80b8e0
push 0xe9
call fcn.100cf570
push 0x1003ae50
push 0x7d26b5
push 0xe9
call fcn.100cf570
push 0x1003aff0
push 0x7d2751
push 0xe9
call fcn.100cf570
push 0x1003b190
push 0x7d27fc
push 0xe9
call fcn.100cf570
add esp, 0x3c
mov eax, dword [0x1025999c]
sub eax, 1
je 0x1004913c
sub eax, 1
je 0x10049069
sub eax, 1
jne 0x10049232
push 0x100bccb0
push 0x848cb6
push 0xe8
mov dword [0x10330ad4], eax
call fcn.100cf570
push 0x100bcd90
push 0x8491ae
push 0xe8
call fcn.100cf570
push 0x100bd070
push 0x8491b6
push 0xe8
call fcn.100cf570
push 0x100bd8b0
push 0x8491be
push 0xe8
call fcn.100cf570
push 0x100beb70
push 0x849087
push 0xe8
call fcn.100cf570
push 0x100beaf0
push 0x848f07
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x100bea70
push 0x848e5d
push 0xe8
call fcn.100cf570
push 0x100beab0
push 0x848eb2
push 0xe8
call fcn.100cf570
push 0x100beb30
push 0x848f4b
push 0xe8
call fcn.100cf570
add esp, 0x24
jmp 0x10049232
push 0x1000e2e0
push 0x848cb6
push 0xe8
call fcn.100cf570
push 0x1000e3a0
push 0x8491ae
push 0xe8
call fcn.100cf570
push 0x1000e550
push 0x8491b6
push 0xe8
call fcn.100cf570
push 0x1000e9e0
push 0x8491be
push 0xe8
call fcn.100cf570
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x849087
push 0xe8
call fcn.100cf570
push 0x1000fee0
push 0x848f07
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x1000fe80
push 0x848e5d
push 0xe8
call fcn.100cf570
push 0x1000feb0
push 0x848eb2
push 0xe8
call fcn.100cf570
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x848f4b
push 0xe8
call fcn.100cf570
push 0x1000ff20
push 0x8490f5
push 0xe8
call fcn.100cf570
add esp, 0x30
jmp 0x10049232
push 0x10055ed0
push 0x848cb6
push 0xe8
call fcn.100cf570
push 0x10055f90
push 0x8491ae
push 0xe8
call fcn.100cf570
push 0x10056250
push 0x8491b6
push 0xe8
call fcn.100cf570
push 0x10056640
push 0x8491be
push 0xe8
call fcn.100cf570
push 0x10058bb0
push 0x849087
push 0xe8
call fcn.100cf570
push 0x10058b50
push 0x848f07
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x10058af0
push 0x848e5d
push 0xe8
call fcn.100cf570
push 0x10058b20
push 0x848eb2
push 0xe8
call fcn.100cf570
push 0x10058b80
push 0x848f4b
push 0xe8
call fcn.100cf570
push 0x10058be0
push 0x8490f5
push 0xe8
call fcn.100cf570
push 0x10058c40
push 0x772960
push 0xe8
call fcn.100cf570
push 0x10058c60
push 0x7729b3
push 0xe8
call fcn.100cf570
add esp, 0x48
mov eax, dword [0x102599a8]
sub eax, 1
je 0x10049248
sub eax, 1
jne 0x1004924d
call fcn.100dbb50
jmp 0x1004924d
call fcn.1003c310
mov eax, dword [0x102599d8]
push esi
sub eax, 1
je 0x100492fd
sub eax, 1
je 0x10049274
sub eax, 2
jne 0x1004936a
call fcn.10042ca0
jmp 0x1004936a
push 0x10070ba0
push 0x4d7eb1
push 0xe8
call fcn.100cf570
push 0x100709b0
push 0x4d76fb
push 0xe8
call fcn.100cf570
push 0x100709b0
push 0x4d79c3
push 0xe8
call fcn.100cf570
mov esi, dword [0x102599dc]
lea eax, [ebp - 8]
add esp, 0x24
mov dword [ebp - 8], 0
push eax
push 0x40
push 4
push 0x4d75f0
call edi
test eax, eax
je 0x100492f5
mov eax, 0x4d75f0
mov dword [eax], esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 4
push 0x4d75f0
call edi
test eax, eax
jne 0x1004936a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1004936a
push 0x10018690
push 0x4d76fb
push 0xe8
call fcn.100cf570
push 0x10018690
push 0x4d79c3
push 0xe8
call fcn.100cf570
mov esi, dword [0x102599dc]
lea eax, [ebp - 8]
add esp, 0x18
push eax
push 0x40
push 4
push 0x4d75f0
call edi
lea eax, [ebp - 8]
mov dword [0x4d75f0], esi
push eax
push dword [ebp - 8]
push 4
push 0x4d75f0
call edi
push 0x10018770
push 0x5edda9
push 0xe8
call fcn.100cf570
add esp, 0xc
mov eax, dword [0x102599e0]
pop esi
sub eax, 1
je 0x10049392
sub eax, 1
je 0x1004938b
sub eax, 2
jne 0x10049397
call fcn.10042ca0
call fcn.10044420
jmp 0x10049397
call fcn.10070550
jmp 0x10049397
call fcn.10018c00
mov eax, dword [0x102599b0]
cmp eax, 1
jne 0x1004950d
push 0x1003be80
push 0x7d2b3d
push 0xe8
call fcn.100cf570
push 0x1003be30
push 0x789099
push 0xe9
call fcn.100cf570
push 0x1003bde0
push 0x7890e2
push 0xe9
call fcn.100cf570
push 0x1003b920
push 0x78b0cf
push 0xe8
call fcn.100cf570
push 0x1003b6d0
push 0x78b09a
push 0xe8
call fcn.100cf570
push 0x1003b420
push 0x787620
push 0xe8
call fcn.100cf570
add esp, 0x48
push method.std::codecvt_char__char__struct__Mbstatet_.virtual_12
push 0x787628
push 0xe8
call fcn.100cf570
push 0x1003b620
push 0x787748
push 0xe8
call fcn.100cf570
push 0x7867b3
push 0x7867a5
push 0xe9
call fcn.100cf570
add esp, 0x24
lea eax, [ebp - 8]
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 - 8]
push eax
push dword [ebp - 8]
push 5
push 0x787c7d
call edi
push 0x1003b340
push 0x7864b3
push 0xe8
call fcn.100cf570
push 0x1003b340
push 0x78641e
push 0xe8
call fcn.100cf570
push 0x1003b340
push 0x7863a8
push 0xe8
call fcn.100cf570
push 0x1003b340
push 0x786347
push 0xe8
call fcn.100cf570
push 0x1003b340
push 0x7862e2
push 0xe8
call fcn.100cf570
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x78628e
push 0xe8
call fcn.100cf570
mov eax, dword [0x102599b0]
add esp, 0x48
cmp eax, 2
jne 0x10049693
lea eax, [ebp - 8]
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 - 8]
push eax
push dword [ebp - 8]
push 5
push 0x785b44
call edi
lea eax, [ebp - 8]
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 - 8]
push eax
push dword [ebp - 8]
push 5
push 0x787630
call edi
push 0x10034c20
push 0x78adcc
push 0xe8
call fcn.100cf570
push 0x10034c20
push 0x78ae15
push 0xe8
call fcn.100cf570
push 0x10034c20
push 0x78ae5e
push 0xe8
call fcn.100cf570
push 0x10033a30
push 0x78b09a
push 0xe8
call fcn.100cf570
push 0x10033c80
push 0x78b0cf
push 0xe8
call fcn.100cf570
push 0x10034760
push 0x787620
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x10033e20
push 0x787628
push 0xe8
call fcn.100cf570
push 0x10034bd0
push 0x787748
push 0xe8
call fcn.100cf570
push 0x10034ac0
push 0x7864b3
push 0xe8
call fcn.100cf570
push 0x10034ac0
push 0x78641e
push 0xe8
call fcn.100cf570
push 0x10034ac0
push 0x7863a8
push 0xe8
call fcn.100cf570
push 0x10034ac0
push 0x786347
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x10034ac0
push 0x7862e2
push 0xe8
call fcn.100cf570
push 0x10034ac0
push 0x78628e
push 0xe8
call fcn.100cf570
add esp, 0x18
cmp dword [0x102599f8], 2
jne 0x100496c7
push 0x100dd9d0
push 0x7e020c
push 0xe8
call fcn.100cf570
push 0x100dd9d0
push 0x7e0298
push 0xe8
call fcn.100cf570
add esp, 0x18
call fcn.1003e940
call fcn.100db900
lea eax, [ebp - 8]
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 - 8]
push eax
push dword [ebp - 8]
push 6
push 0x556cc6
call edi
push 0x100bcc90
push 0x556cc6
push 0xe9
call fcn.100cf570
add esp, 0xc
mov ecx, 0x102594fc
push str.Data__KGData__Lua__CharacterSystem__SkillCroma.lua
call fcn.100b7410
push dword [0x10259500]
call fcn.1009bff0
call fcn.100b8660
cmp byte [0x10259a8c], 1
jne 0x1004976a
push 0x100b5960
push 0x842ac7
push 0xe8
call fcn.100cf570
push 0x100b5960
push 0x842b8d
push 0xe8
call fcn.100cf570
add esp, 0x18
cmp dword [0x10259970], 1
jne 0x100497de
mov dword [0x105b1604], 0
call fcn.10070100
cmp dword [0x10259970], 1
jne 0x100497de
push 0x1006ee10
push 0x40b5a9
push 0xe8
call fcn.100cf570
push 0x1006e820
push 0x40b400
push 0xe8
call fcn.100cf570
push 0x1006e820
push 0x40b44f
push 0xe8
call fcn.100cf570
push 0x10070090
push 0x483711
push 0xe8
call fcn.100cf570
add esp, 0x30
cmp byte [0x10259a90], 1
jne 0x1004990a
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x40c98c
call edi
lea eax, [ebp - 8]
mov dword [0x40c98c], 2
push eax
push dword [ebp - 8]
push 4
push 0x40c98c
call edi
push 0x100b70a0
push 0x4d7602
push 0xe8
call fcn.100cf570
push 0x100b6ec0
push 0x40b331
push 0xe8
call fcn.100cf570
push 0x100b6cf0
push 0x40ada2
push 0xe8
call fcn.100cf570
push 0x100b6dc0
push 0x40b2e2
push 0xe8
call fcn.100cf570
push 0x100b6fc0
push 0x40c3af
push 0xe8
call fcn.100cf570
push 0x100b6fc0
push 0x40c40b
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x100b6fc0
push 0x40c45f
push 0xe8
call fcn.100cf570
push 0x100b6f80
push 0x40b422
push 0xe8
call fcn.100cf570
push 0x100b6f80
push 0x40b47c
push 0xe8
call fcn.100cf570
push 0x100b6ee0
push 0x40b3f1
push 0xe8
call fcn.100cf570
push 0x100b6f60
push 0x40b515
push 0xe8
call fcn.100cf570
push 0x100b7080
push 0x40ab50
push 0xe8
call fcn.100cf570
add esp, 0x48
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100f4653
mov esp, ebp
pop ebp
ret