Function at 0x10007d00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065290
mov eax, dword fs:[0]
push eax
mov eax, 0x1564
call fcn.1003cb10
mov eax, dword [0x10082450]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2d
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x10007d4c
cmp byte [0x10082010], 0
sete byte [0x10082010]
call fcn.1002d000
call fcn.1002db20
call fcn.100169e0
cmp byte [0x10082010], 0
je 0x10008365
push 0x20
push 0
push str.DW_6_Mod_Menu
call fcn.1000af90
movss xmm0, dword [0x10082008]
lea eax, [ebp - 0x1560]
movss dword [ebp - 0x1560], xmm0
movss xmm0, dword [0x1008200c]
push 0
push eax
movss dword [ebp - 0x155c], xmm0
call fcn.1001af70
add esp, 0x14
call fcn.100113f0
push eax
lea ecx, [ebp - 0x1558]
call fcn.100076a0
push 0x20
push str.NOTITLE
call fcn.1002f060
add esp, 8
test al, al
je 0x10008342
push 0
push 0
push str.Player
call fcn.1002f420
add esp, 0xc
test al, al
je 0x10008290
push 0x100834e4
push str.Increase_draw_distance
call fcn.1002fd30
mov eax, dword [0x10083490]
add esp, 8
add eax, 0x94786
cmp byte [0x100834e4], 0
push 1
je 0x10007ed5
push 0x74
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x949c1
push 1
push 0x75
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x94743
push 1
push 0xa
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x94bd9
push 1
push 0
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x94bf7
push 1
push 1
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x3152e0
push 1
sub esp, 8
mov ecx, esp
mov dword [esp + 4], 0x46ea6000
push eax
call fcn.10002450
call fcn.10007610
add esp, 0xc
push 1
push 0x96
jmp 0x10007f8f
push 0x75
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x949c1
push 1
push 0x74
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x94743
push 1
push 1
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x94bd9
push 1
push 1
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x94bf7
push 1
push 0
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x3152e0
push 1
sub esp, 8
mov ecx, esp
mov dword [esp + 4], 0x45fa0000
push eax
call fcn.10002450
call fcn.10007610
add esp, 0xc
push 1
push 0x1e
mov eax, dword [0x10083490]
push ecx
add eax, 0x8fb37
mov ecx, esp
push eax
call fcn.10002450
call fcn.10007580
mov eax, dword [0x10083490]
add esp, 0xc
add eax, 0x35c4bc
push 1
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.100012a0
add esp, 8
mov esi, eax
push 1
push ecx
mov ecx, dword [0x10083490]
mov edx, esp
add ecx, 0x35c588
push ecx
mov ecx, edx
call fcn.10002450
call fcn.100012a0
mov eax, dword [0x10083490]
add esp, 8
add eax, 0x35c5ec
push 1
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.100012a0
mov eax, dword [0x10083490]
add esp, 8
add eax, 0x35c5ec
push 1
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.100012a0
add esp, 8
test esi, esi
je 0x1000828b
mov eax, dword [0x10083490]
push 1
push ecx
add eax, 0x35c4bc
mov ecx, esp
push eax
call fcn.10002450
call fcn.100012a0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
add eax, 0xec0
mov ebx, 0x28
mov dword [ebp - 0x155c], eax
nop
mov ecx, dword [0x10083490]
add ecx, 0x35c4bc
push ecx
lea ecx, [ebp - 0x156c]
call fcn.10002450
mov esi, dword [ebp - 0x156c]
lea eax, [ebp - 0x20]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x28], esi
call edi
test eax, eax
setne byte [ebp - 0x1c]
mov esi, dword [esi]
test eax, eax
je 0x100080b2
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x28]
call edi
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x1570]
call fcn.10002450
mov esi, dword [ebp - 0x1570]
lea eax, [ebp - 0x30]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x38], esi
call edi
test eax, eax
setne byte [ebp - 0x2c]
mov esi, dword [esi]
test eax, eax
je 0x100080fb
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x38]
call edi
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x1564]
call fcn.10002450
mov eax, dword [ebp - 0x1564]
lea ecx, [ebp - 0x40]
push ecx
push 0x40
push 4
push eax
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x48], eax
call edi
test eax, eax
setne byte [ebp - 0x3c]
test eax, eax
je 0x10008142
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x48]
call edi
sub ebx, 1
jne 0x10008060
mov ebx, dword [ebp - 0x155c]
test ebx, ebx
je 0x1000828b
push 0
push 0
push 0
push 0
lea esi, [ebx + 0x58]
push esi
push 5
push str.Player_action
call fcn.10031940
push 0
push 0
push 0
push 0
lea eax, [ebx + 0x104]
push eax
push 8
push str.Player_life
call fcn.10031940
push 0
push 0
push 0
push 0
lea eax, [ebx + 0x110]
push eax
push 8
push str.Player_musou
call fcn.10031940
add esp, 0x54
lea eax, [ebx + 0x130]
push 0
push 0
push 0
push 0
push eax
push 8
push str.Player_attack
call fcn.10031940
push 0
push 0
push 0
push 0
lea eax, [ebx + 0x138]
push eax
push 8
push str.Player_speed
call fcn.10031940
push 0
push 0
push 0
push 0
lea eax, [ebx + 0xfc]
push eax
push 1
push str.Player_aura_type
call fcn.10031940
add esp, 0x54
mov dword [ebp - 0x1568], 0
lea eax, [ebp - 0x1568]
mov dword [ebp - 0x1564], 0
push eax
push str.Spawn
call fcn.1002f4a0
add esp, 8
test al, al
je 0x10008245
mov eax, dword [0x10083490]
push ecx
mov dword [esp], 0
add eax, 0x126260
push 0
push 0
call eax
add esp, 0xc
mov eax, dword [esi]
sub eax, 0x141
cmp eax, 0x1c
ja 0x1000828b
mov eax, dword [0x10083490]
push 1
push ecx
add eax, 0x35c434
mov ecx, esp
push eax
call fcn.10002450
call fcn.100012a0
mov eax, dword [0x10083490]
add esp, 8
add eax, 0x35c4e4
push 1
push ecx
mov ecx, esp
push eax
call fcn.10002450
call fcn.100012a0
add esp, 8
call fcn.10031780
push 0
push 0
push str.Battle
call fcn.1002f420
add esp, 0xc
test al, al
je 0x1000833d
mov eax, dword [0x10083490]
push 1
push ecx
add eax, 0x35c430
mov ecx, esp
push eax
call fcn.10002450
call fcn.100012a0
mov esi, eax
add esp, 8
test esi, esi
je 0x10008338
push 0
push 0
push 0
push 0
lea ecx, [esi + 0x10]
push ecx
push 5
push str.Allied_forces_color
call fcn.10031940
push 0
push 0
push 0
push 0
lea eax, [esi + 0x18]
push eax
push 5
push str.Allied_forces_damage_to
call fcn.10031940
push 0
push 0
push 0
push 0
lea eax, [esi + 0xec]
push eax
push 5
push str.Enemy_forces_color
call fcn.10031940
add esp, 0x54
lea eax, [esi + 0xf4]
push 0
push 0
push 0
push 0
push eax
push 5
push str.Enemy_forces_damage_to
call fcn.10031940
add esp, 0x1c
call fcn.10031780
call fcn.10031630
call fcn.1000ed60
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0
test eax, eax
je 0x1000835e
push eax
call fcn.10013920
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.1000f2a0
call fcn.10018190
call fcn.10011230
push eax
call fcn.1002d100
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003cad0
mov esp, ebp
pop ebp
ret