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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0x10075710
push 0x968180
push 0xe9
call fcn.100d0420
push 0x10009080
push 0x4fcb58
push 0xe9
mov dword [0x1032c3dc], 0
mov dword [0x1032c3e0], 0
mov dword [0x1032c3e4], 0
mov dword [0x1032c3ec], 0
mov dword [0x1032c3e8], 0
call fcn.100d0420
push 0x100090a0
push 0x4fd0b9
push 0xe9
call fcn.100d0420
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x24
cmp dword [0x1025e20c], 1
mov dword [0x10335514], 0
mov dword [0x10335518], 0
mov byte [0x1033551c], 0
jne 0x100486dd
push 0x100b0680
push 0x853950
push 0xe9
call fcn.100d0420
push 0x100b0a60
push 0x8533a0
push 0xe9
call fcn.100d0420
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 0x10048560
push 0x8350e9
push 0xe8
call fcn.100d0420
add esp, 0xc
cmp dword [0x1025e214], 1
jne 0x10048728
push 0x1000d830
push 0x5bafab
push 0xe8
call fcn.100d0420
push 0x1000d790
push 0x7c5db0
push 0xe8
call fcn.100d0420
add esp, 0x18
cmp dword [0x1025e210], 1
jne 0x10048757
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 [0x1035a51c], 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 [0x1035a520], xmm0
imul dword [0xe61e5c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [0x1025e224], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x1035a524], xmm0
jne 0x1004883b
mov byte [0x1032c450], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1003a930
sub eax, 0x1388
mov byte [0x1032c458], 0
push 0x7d2bc0
push 0xe9
mov dword [0x1032c454], eax
call fcn.100d0420
push method.std::codecvt_char__char__struct__Mbstatet_.virtual_12
push 0x80b8e0
push 0xe9
call fcn.100d0420
push 0x1003b5b0
push 0x7d26b5
push 0xe9
call fcn.100d0420
push 0x1003b750
push 0x7d2751
push 0xe9
call fcn.100d0420
push 0x1003b8f0
push 0x7d27fc
push 0xe9
call fcn.100d0420
add esp, 0x3c
mov eax, dword [0x1025e22c]
sub eax, 1
je 0x100489f2
sub eax, 1
je 0x1004891f
sub eax, 1
jne 0x10048ae8
push 0x100bd8c0
push 0x848cb6
push 0xe8
mov dword [0x103354a8], eax
call fcn.100d0420
push 0x100bd9a0
push 0x8491ae
push 0xe8
call fcn.100d0420
push 0x100bdc80
push 0x8491b6
push 0xe8
call fcn.100d0420
push 0x100be4c0
push 0x8491be
push 0xe8
call fcn.100d0420
push 0x100bf710
push 0x849087
push 0xe8
call fcn.100d0420
push 0x100bf690
push 0x848f07
push 0xe8
call fcn.100d0420
add esp, 0x48
push 0x100bf610
push 0x848e5d
push 0xe8
call fcn.100d0420
push 0x100bf650
push 0x848eb2
push 0xe8
call fcn.100d0420
push 0x100bf6d0
push 0x848f4b
push 0xe8
call fcn.100d0420
add esp, 0x24
jmp 0x10048ae8
push 0x1000e990
push 0x848cb6
push 0xe8
call fcn.100d0420
push 0x1000ea50
push 0x8491ae
push 0xe8
call fcn.100d0420
push 0x1000ec00
push 0x8491b6
push 0xe8
call fcn.100d0420
push 0x1000f090
push 0x8491be
push 0xe8
call fcn.100d0420
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x849087
push 0xe8
call fcn.100d0420
push 0x10010600
push 0x848f07
push 0xe8
call fcn.100d0420
add esp, 0x48
push 0x100105a0
push 0x848e5d
push 0xe8
call fcn.100d0420
push 0x100105d0
push 0x848eb2
push 0xe8
call fcn.100d0420
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x848f4b
push 0xe8
call fcn.100d0420
push 0x10010640
push 0x8490f5
push 0xe8
call fcn.100d0420
add esp, 0x30
jmp 0x10048ae8
push 0x10055470
push 0x848cb6
push 0xe8
call fcn.100d0420
push 0x10055530
push 0x8491ae
push 0xe8
call fcn.100d0420
push 0x100557f0
push 0x8491b6
push 0xe8
call fcn.100d0420
push 0x10055be0
push 0x8491be
push 0xe8
call fcn.100d0420
push 0x100584d0
push 0x849087
push 0xe8
call fcn.100d0420
push 0x10058470
push 0x848f07
push 0xe8
call fcn.100d0420
add esp, 0x48
push 0x10058410
push 0x848e5d
push 0xe8
call fcn.100d0420
push 0x10058440
push 0x848eb2
push 0xe8
call fcn.100d0420
push 0x100584a0
push 0x848f4b
push 0xe8
call fcn.100d0420
push 0x10058500
push 0x8490f5
push 0xe8
call fcn.100d0420
push 0x10058560
push 0x772960
push 0xe8
call fcn.100d0420
push 0x10058580
push 0x7729b3
push 0xe8
call fcn.100d0420
add esp, 0x48
mov eax, dword [0x1025e238]
sub eax, 1
je 0x10048afe
sub eax, 1
jne 0x10048b03
call fcn.100dcba0
jmp 0x10048b03
call fcn.1003c990
mov eax, dword [0x1025e268]
push esi
sub eax, 1
je 0x10048bb2
sub eax, 1
je 0x10048b2a
sub eax, 2
jne 0x10048c1f
call fcn.10042f60
jmp 0x10048c1f
push 0x10070930
push 0x4d7eb1
push 0xe8
call fcn.100d0420
push 0x10070700
push 0x4d76fb
push 0xe8
call fcn.100d0420
push 0x10070700
push 0x4d79c3
push 0xe8
call fcn.100d0420
mov esi, dword [0x1025e26c]
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 0x10048baa
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 0x10048c1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10048c1f
push 0x10019370
push 0x4d76fb
push 0xe8
call fcn.100d0420
push 0x10019370
push 0x4d79c3
push 0xe8
call fcn.100d0420
mov esi, dword [0x1025e26c]
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 0x10019440
push 0x5edda9
push 0xe8
call fcn.100d0420
add esp, 0xc
mov eax, dword [0x1025e270]
pop esi
sub eax, 1
je 0x10048c47
sub eax, 1
je 0x10048c40
sub eax, 2
jne 0x10048c4c
call fcn.10042f60
call fcn.10044680
jmp 0x10048c4c
call fcn.10070090
jmp 0x10048c4c
call fcn.100198d0
mov eax, dword [0x1025e240]
cmp eax, 1
jne 0x10048dae
push 0x1003c590
push 0x789099
push 0xe9
call fcn.100d0420
push 0x1003c540
push 0x7890e2
push 0xe9
call fcn.100d0420
push 0x1003c080
push 0x78b0cf
push 0xe8
call fcn.100d0420
push 0x1003be30
push 0x78b09a
push 0xe8
call fcn.100d0420
push 0x1003bb80
push 0x787620
push 0xe8
call fcn.100d0420
push method.std::codecvt_char__char__struct__Mbstatet_.virtual_12
push 0x787628
push 0xe8
call fcn.100d0420
add esp, 0x48
push 0x1003bd80
push 0x787748
push 0xe8
call fcn.100d0420
push 0x7867b3
push 0x7867a5
push 0xe9
call fcn.100d0420
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 0x1003baa0
push 0x7864b3
push 0xe8
call fcn.100d0420
push 0x1003baa0
push 0x78641e
push 0xe8
call fcn.100d0420
push 0x1003baa0
push 0x7863a8
push 0xe8
call fcn.100d0420
push 0x1003baa0
push 0x786347
push 0xe8
call fcn.100d0420
push 0x1003baa0
push 0x7862e2
push 0xe8
call fcn.100d0420
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x78628e
push 0xe8
call fcn.100d0420
mov eax, dword [0x1025e240]
add esp, 0x48
cmp eax, 2
jne 0x10048f34
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 0x10035260
push 0x78adcc
push 0xe8
call fcn.100d0420
push 0x10035260
push 0x78ae15
push 0xe8
call fcn.100d0420
push 0x10035260
push 0x78ae5e
push 0xe8
call fcn.100d0420
push 0x10034040
push 0x78b09a
push 0xe8
call fcn.100d0420
push 0x10034290
push 0x78b0cf
push 0xe8
call fcn.100d0420
push 0x10034da0
push 0x787620
push 0xe8
call fcn.100d0420
add esp, 0x48
push 0x10034430
push 0x787628
push 0xe8
call fcn.100d0420
push 0x10035210
push 0x787748
push 0xe8
call fcn.100d0420
push 0x10035100
push 0x7864b3
push 0xe8
call fcn.100d0420
push 0x10035100
push 0x78641e
push 0xe8
call fcn.100d0420
push 0x10035100
push 0x7863a8
push 0xe8
call fcn.100d0420
push 0x10035100
push 0x786347
push 0xe8
call fcn.100d0420
add esp, 0x48
push 0x10035100
push 0x7862e2
push 0xe8
call fcn.100d0420
push 0x10035100
push 0x78628e
push 0xe8
call fcn.100d0420
add esp, 0x18
cmp dword [0x1025e288], 2
jne 0x10048f68
push 0x100de940
push 0x7e020c
push 0xe8
call fcn.100d0420
push 0x100de940
push 0x7e0298
push 0xe8
call fcn.100d0420
add esp, 0x18
call fcn.1003eee0
call fcn.100dc940
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 0x100bd8a0
push 0x556cc6
push 0xe9
call fcn.100d0420
add esp, 0xc
mov ecx, 0x1025dd90
push str.Data__KGData__Lua__CharacterSystem__SkillCroma.lua
call fcn.100b75d0
push dword [0x1025dd94]
call fcn.1009c890
call fcn.100ba160
cmp byte [0x1025e31c], 1
jne 0x1004900b
push 0x100b5cb0
push 0x842ac7
push 0xe8
call fcn.100d0420
push 0x100b5cb0
push 0x842b8d
push 0xe8
call fcn.100d0420
add esp, 0x18
cmp dword [0x1025e200], 1
jne 0x1004907f
mov dword [0x105b4ac4], 0
call fcn.1006fa30
cmp dword [0x1025e200], 1
jne 0x1004907f
push 0x1006e7c0
push 0x40b5a9
push 0xe8
call fcn.100d0420
push 0x1006e140
push 0x40b400
push 0xe8
call fcn.100d0420
push 0x1006e140
push 0x40b44f
push 0xe8
call fcn.100d0420
push 0x1006f9c0
push 0x483711
push 0xe8
call fcn.100d0420
add esp, 0x30
cmp byte [0x1025e320], 1
jne 0x100491ab
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 0x100b72a0
push 0x4d7602
push 0xe8
call fcn.100d0420
push 0x100b70c0
push 0x40b331
push 0xe8
call fcn.100d0420
push 0x100b6f00
push 0x40ada2
push 0xe8
call fcn.100d0420
push 0x100b6fc0
push 0x40b2e2
push 0xe8
call fcn.100d0420
push 0x100b71c0
push 0x40c3af
push 0xe8
call fcn.100d0420
push 0x100b71c0
push 0x40c40b
push 0xe8
call fcn.100d0420
add esp, 0x48
push 0x100b71c0
push 0x40c45f
push 0xe8
call fcn.100d0420
push 0x100b7180
push 0x40b422
push 0xe8
call fcn.100d0420
push 0x100b7180
push 0x40b47c
push 0xe8
call fcn.100d0420
push 0x100b70e0
push 0x40b3f1
push 0xe8
call fcn.100d0420
push 0x100b7160
push 0x40b515
push 0xe8
call fcn.100d0420
push 0x100b7280
push 0x40ab50
push 0xe8
call fcn.100d0420
add esp, 0x48
call fcn.100b2850
pop edi
mov esp, ebp
pop ebp
ret