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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0x10074bd0
push 0x968180
push 0xe9
call fcn.100cd930
push 0x10009160
push 0x4fcb58
push 0xe9
mov dword [0x103281bc], 0
mov dword [0x103281c0], 0
mov dword [0x103281c4], 0
mov dword [0x103281cc], 0
mov dword [0x103281c8], 0
call fcn.100cd930
push 0x10009180
push 0x4fd0b9
push 0xe9
call fcn.100cd930
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x24
cmp dword [0x1025a22c], 1
mov dword [0x103312f4], 0
mov dword [0x103312f8], 0
mov byte [0x103312fc], 0
jne 0x10047d8d
push 0x100ad350
push 0x853950
push 0xe9
call fcn.100cd930
push 0x100ad730
push 0x8533a0
push 0xe9
call fcn.100cd930
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 0x10047c10
push 0x8350e9
push 0xe8
call fcn.100cd930
add esp, 0xc
cmp dword [0x1025a234], 1
jne 0x10047dd8
push 0x1000d850
push 0x5bafab
push 0xe8
call fcn.100cd930
push 0x1000d7b0
push 0x7c5db0
push 0xe8
call fcn.100cd930
add esp, 0x18
cmp dword [0x1025a230], 1
jne 0x10047e07
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 [0x103563c8], 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 [0x103563cc], xmm0
imul dword [0xe61e5c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [0x1025a244], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x103563d0], xmm0
jne 0x10047eeb
mov byte [0x10328230], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1003a260
sub eax, 0x1388
mov byte [0x10328238], 0
push 0x7d2bc0
push 0xe9
mov dword [0x10328234], eax
call fcn.100cd930
push method.std::codecvt_char__char__struct__Mbstatet_.virtual_12
push 0x80b8e0
push 0xe9
call fcn.100cd930
push 0x1003aef0
push 0x7d26b5
push 0xe9
call fcn.100cd930
push 0x1003b090
push 0x7d2751
push 0xe9
call fcn.100cd930
push 0x1003b230
push 0x7d27fc
push 0xe9
call fcn.100cd930
add esp, 0x3c
mov eax, dword [0x1025a24c]
sub eax, 1
je 0x100480a2
sub eax, 1
je 0x10047fcf
sub eax, 1
jne 0x10048198
push 0x100bb110
push 0x848cb6
push 0xe8
mov dword [0x10331288], eax
call fcn.100cd930
push 0x100bb1f0
push 0x8491ae
push 0xe8
call fcn.100cd930
push 0x100bb4d0
push 0x8491b6
push 0xe8
call fcn.100cd930
push 0x100bbd10
push 0x8491be
push 0xe8
call fcn.100cd930
push 0x100bcf60
push 0x849087
push 0xe8
call fcn.100cd930
push 0x100bcee0
push 0x848f07
push 0xe8
call fcn.100cd930
add esp, 0x48
push 0x100bce60
push 0x848e5d
push 0xe8
call fcn.100cd930
push 0x100bcea0
push 0x848eb2
push 0xe8
call fcn.100cd930
push 0x100bcf20
push 0x848f4b
push 0xe8
call fcn.100cd930
add esp, 0x24
jmp 0x10048198
push 0x1000e9b0
push 0x848cb6
push 0xe8
call fcn.100cd930
push 0x1000ea70
push 0x8491ae
push 0xe8
call fcn.100cd930
push 0x1000ec20
push 0x8491b6
push 0xe8
call fcn.100cd930
push 0x1000f0b0
push 0x8491be
push 0xe8
call fcn.100cd930
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x849087
push 0xe8
call fcn.100cd930
push 0x10010620
push 0x848f07
push 0xe8
call fcn.100cd930
add esp, 0x48
push 0x100105c0
push 0x848e5d
push 0xe8
call fcn.100cd930
push 0x100105f0
push 0x848eb2
push 0xe8
call fcn.100cd930
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x848f4b
push 0xe8
call fcn.100cd930
push 0x10010660
push 0x8490f5
push 0xe8
call fcn.100cd930
add esp, 0x30
jmp 0x10048198
push 0x10054b90
push 0x848cb6
push 0xe8
call fcn.100cd930
push 0x10054c50
push 0x8491ae
push 0xe8
call fcn.100cd930
push 0x10054f10
push 0x8491b6
push 0xe8
call fcn.100cd930
push 0x10055300
push 0x8491be
push 0xe8
call fcn.100cd930
push 0x10057bf0
push 0x849087
push 0xe8
call fcn.100cd930
push 0x10057b90
push 0x848f07
push 0xe8
call fcn.100cd930
add esp, 0x48
push 0x10057b30
push 0x848e5d
push 0xe8
call fcn.100cd930
push 0x10057b60
push 0x848eb2
push 0xe8
call fcn.100cd930
push 0x10057bc0
push 0x848f4b
push 0xe8
call fcn.100cd930
push 0x10057c20
push 0x8490f5
push 0xe8
call fcn.100cd930
push 0x10057c80
push 0x772960
push 0xe8
call fcn.100cd930
push 0x10057ca0
push 0x7729b3
push 0xe8
call fcn.100cd930
add esp, 0x48
mov eax, dword [0x1025a258]
sub eax, 1
je 0x100481ae
sub eax, 1
jne 0x100481b3
call fcn.100da0a0
jmp 0x100481b3
call fcn.1003c2d0
mov eax, dword [0x1025a288]
push esi
sub eax, 1
je 0x10048262
sub eax, 1
je 0x100481da
sub eax, 2
jne 0x100482cf
call fcn.10042770
jmp 0x100482cf
push 0x1006fe80
push 0x4d7eb1
push 0xe8
call fcn.100cd930
push 0x1006fca0
push 0x4d76fb
push 0xe8
call fcn.100cd930
push 0x1006fca0
push 0x4d79c3
push 0xe8
call fcn.100cd930
mov esi, dword [0x1025a28c]
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 0x1004825a
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 0x100482cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100482cf
push 0x10018ac0
push 0x4d76fb
push 0xe8
call fcn.100cd930
push 0x10018ac0
push 0x4d79c3
push 0xe8
call fcn.100cd930
mov esi, dword [0x1025a28c]
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 0x10018b90
push 0x5edda9
push 0xe8
call fcn.100cd930
add esp, 0xc
mov eax, dword [0x1025a290]
pop esi
sub eax, 1
je 0x100482f7
sub eax, 1
je 0x100482f0
sub eax, 2
jne 0x100482fc
call fcn.10042770
call fcn.10043e80
jmp 0x100482fc
call fcn.1006f630
jmp 0x100482fc
call fcn.10019020
mov eax, dword [0x1025a260]
cmp eax, 1
jne 0x1004845e
push 0x1003bed0
push 0x789099
push 0xe9
call fcn.100cd930
push 0x1003be80
push 0x7890e2
push 0xe9
call fcn.100cd930
push 0x1003b9c0
push 0x78b0cf
push 0xe8
call fcn.100cd930
push 0x1003b770
push 0x78b09a
push 0xe8
call fcn.100cd930
push 0x1003b4c0
push 0x787620
push 0xe8
call fcn.100cd930
push method.std::codecvt_char__char__struct__Mbstatet_.virtual_12
push 0x787628
push 0xe8
call fcn.100cd930
add esp, 0x48
push 0x1003b6c0
push 0x787748
push 0xe8
call fcn.100cd930
push 0x7867b3
push 0x7867a5
push 0xe9
call fcn.100cd930
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 0x1003b3e0
push 0x7864b3
push 0xe8
call fcn.100cd930
push 0x1003b3e0
push 0x78641e
push 0xe8
call fcn.100cd930
push 0x1003b3e0
push 0x7863a8
push 0xe8
call fcn.100cd930
push 0x1003b3e0
push 0x786347
push 0xe8
call fcn.100cd930
push 0x1003b3e0
push 0x7862e2
push 0xe8
call fcn.100cd930
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x78628e
push 0xe8
call fcn.100cd930
mov eax, dword [0x1025a260]
add esp, 0x48
cmp eax, 2
jne 0x100485e4
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 0x10034bc0
push 0x78adcc
push 0xe8
call fcn.100cd930
push 0x10034bc0
push 0x78ae15
push 0xe8
call fcn.100cd930
push 0x10034bc0
push 0x78ae5e
push 0xe8
call fcn.100cd930
push 0x100339a0
push 0x78b09a
push 0xe8
call fcn.100cd930
push 0x10033bf0
push 0x78b0cf
push 0xe8
call fcn.100cd930
push 0x10034700
push 0x787620
push 0xe8
call fcn.100cd930
add esp, 0x48
push 0x10033d90
push 0x787628
push 0xe8
call fcn.100cd930
push 0x10034b70
push 0x787748
push 0xe8
call fcn.100cd930
push 0x10034a60
push 0x7864b3
push 0xe8
call fcn.100cd930
push 0x10034a60
push 0x78641e
push 0xe8
call fcn.100cd930
push 0x10034a60
push 0x7863a8
push 0xe8
call fcn.100cd930
push 0x10034a60
push 0x786347
push 0xe8
call fcn.100cd930
add esp, 0x48
push 0x10034a60
push 0x7862e2
push 0xe8
call fcn.100cd930
push 0x10034a60
push 0x78628e
push 0xe8
call fcn.100cd930
add esp, 0x18
cmp dword [0x1025a2a8], 2
jne 0x10048618
push 0x100dbe40
push 0x7e020c
push 0xe8
call fcn.100cd930
push 0x100dbe40
push 0x7e0298
push 0xe8
call fcn.100cd930
add esp, 0x18
call fcn.1003e820
call fcn.100d9e50
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 0x100bb0f0
push 0x556cc6
push 0xe9
call fcn.100cd930
add esp, 0xc
mov ecx, 0x10259db0
push str.Data__KGData__Lua__CharacterSystem__SkillCroma.lua
call fcn.100b43d0
push dword [0x10259db4]
call fcn.10098a30
call fcn.100b6ee0
cmp byte [0x1025a33c], 1
jne 0x100486bb
push 0x100b2a20
push 0x842ac7
push 0xe8
call fcn.100cd930
push 0x100b2a20
push 0x842b8d
push 0xe8
call fcn.100cd930
add esp, 0x18
cmp dword [0x1025a220], 1
jne 0x1004872f
mov dword [0x105b0974], 0
call fcn.1006efe0
cmp dword [0x1025a220], 1
jne 0x1004872f
push 0x1006dd70
push 0x40b5a9
push 0xe8
call fcn.100cd930
push 0x1006d6f0
push 0x40b400
push 0xe8
call fcn.100cd930
push 0x1006d6f0
push 0x40b44f
push 0xe8
call fcn.100cd930
push 0x1006ef70
push 0x483711
push 0xe8
call fcn.100cd930
add esp, 0x30
cmp byte [0x1025a340], 1
jne 0x1004885b
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 0x100b4060
push 0x4d7602
push 0xe8
call fcn.100cd930
push 0x100b3e80
push 0x40b331
push 0xe8
call fcn.100cd930
push 0x100b3cc0
push 0x40ada2
push 0xe8
call fcn.100cd930
push 0x100b3d80
push 0x40b2e2
push 0xe8
call fcn.100cd930
push 0x100b3f80
push 0x40c3af
push 0xe8
call fcn.100cd930
push 0x100b3f80
push 0x40c40b
push 0xe8
call fcn.100cd930
add esp, 0x48
push 0x100b3f80
push 0x40c45f
push 0xe8
call fcn.100cd930
push 0x100b3f40
push 0x40b422
push 0xe8
call fcn.100cd930
push 0x100b3f40
push 0x40b47c
push 0xe8
call fcn.100cd930
push 0x100b3ea0
push 0x40b3f1
push 0xe8
call fcn.100cd930
push 0x100b3f20
push 0x40b515
push 0xe8
call fcn.100cd930
push 0x100b4040
push 0x40ab50
push 0xe8
call fcn.100cd930
add esp, 0x48
call fcn.100af5d0
pop edi
mov esp, ebp
pop ebp
ret