Function at 0x563140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x78ea3c
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov esi, ecx
lea ebp, [esi + 0xe3c]
push 2
push ebp
mov edi, esi
call fcn.005609e0
mov ax, word [eax]
add esp, 8
call fcn.00498200
movsx edi, ax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x24], edi
call fcn.00428920
lea ecx, [esp + 0x68]
xor ebx, ebx
push ecx
mov dword [esp + 0x110], ebx
call fcn.00448d70
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x110], 1
call fcn.00448d70
mov byte [esp + 0x10c], 2
mov byte [esp + 0x17], bl
cmp byte [esi + 0x10], bl
je 0x5631ee
cmp edi, 1
jle 0x5631ee
push 1
push ebp
mov edi, esi
call fcn.005609e0
mov edi, dword [esp + 0x28]
add esp, 8
cmp byte [eax], bl
setne byte [esp + 0x17]
cmp edi, ebx
mov dword [esp + 0x1c], ebx
jle 0x563485
lea ebx, [ebx]
push 4
push str.CKey
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.004016e0
push esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x110], 3
call fcn.00562fe0
mov byte [esp + 0x10c], 2
cmp dword [esp + 0x98], 0x10
jb 0x563263
mov eax, dword [esp + 0x84]
push eax
call fcn.006441c7
add esp, 4
push 4
push ebp
mov edi, esi
call fcn.005609e0
mov eax, dword [eax]
add esp, 8
call fcn.00498200
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
cmp edx, ebx
jne 0x56328f
xor ecx, ecx
jmp 0x563298
mov ecx, dword [esp + 0x38]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x34]
mov edi, eax
sub edi, edx
sar edi, 2
cmp edi, ecx
jae 0x5632b7
fld dword [esp + 0x18]
add eax, 4
fstp dword [eax - 4]
mov dword [esp + 0x34], eax
jmp 0x5632de
mov edi, eax
cmp edx, eax
jbe 0x5632c2
call fcn.006441b7
mov eax, dword [esp + 0x24]
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x34]
call fcn.00421070
push 4
push ebp
mov edi, esi
call fcn.005609e0
fld dword [eax]
add esp, 4
fstp dword [esp]
call fcn.005cb6d0
add esp, 4
fstp qword [esp + 0x3c]
push 4
push ebp
call fcn.005609e0
fld dword [eax]
add esp, 4
fstp dword [esp]
call fcn.005cb6d0
add esp, 4
fstp qword [esp + 0x44]
lea ebx, [esp + 0x3c]
lea eax, [esp + 0x68]
call fcn.00571310
cmp byte [esi + 0x10], 0
je 0x563336
cmp byte [esp + 0x17], 0
je 0x56340d
push 4
push ebp
mov edi, esi
call fcn.005609e0
fld dword [eax]
add esp, 4
fstp dword [esp]
call fcn.005cb6d0
add esp, 4
fstp qword [esp + 0xd4]
push 4
push ebp
call fcn.005609e0
fld dword [eax]
add esp, 4
fstp dword [esp]
call fcn.005cb6d0
add esp, 4
cmp dword [esp + 0x1c], 0
jle 0x5633a5
fld qword [esp + 0xd4]
lea ebx, [esp + 0xac]
fadd qword [esp + 0x3c]
lea eax, [esp + 0x50]
fstp qword [esp + 0xac]
fadd qword [esp + 0x44]
fstp qword [esp + 0xb4]
call fcn.00571310
jmp 0x5633a7
fstp st(0)
push 4
push ebp
mov edi, esi
call fcn.005609e0
fld dword [eax]
add esp, 4
fstp dword [esp]
call fcn.005cb6d0
add esp, 4
fstp qword [esp + 0xec]
push 4
push ebp
call fcn.005609e0
fld dword [eax]
add esp, 4
fstp dword [esp]
call fcn.005cb6d0
fld qword [esp + 0xf0]
add esp, 4
fadd qword [esp + 0x3c]
lea ebx, [esp + 0x9c]
lea eax, [esp + 0x50]
fstp qword [esp + 0x9c]
fadd qword [esp + 0x44]
fstp qword [esp + 0xa4]
call fcn.00571310
cmp byte [esi + 0x10], 0
jne 0x563437
push 4
push ebp
mov edi, esi
call fcn.005609e0
push 4
push ebp
call fcn.005609e0
mov eax, dword [eax]
add esp, 0x10
call fcn.00498200
not al
and al, 1
or byte [esp + 0x17], al
fld qword [esp + 0x3c]
mov edi, dword [esp + 0x114]
fstp qword [esp + 0xc4]
lea eax, [esp + 0xbc]
fld qword [esp + 0x44]
push eax
fstp qword [esp + 0xd0]
fld dword [esp + 0x1c]
fstp dword [esp + 0xc0]
call fcn.00570f80
mov eax, dword [esp + 0x1c]
inc eax
xor ebx, ebx
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jl 0x563200
mov edi, dword [esp + 0x20]
cmp edi, 1
jle 0x5634eb
cmp byte [esp + 0x17], bl
je 0x5634eb
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
sar ecx, 2
test ecx, ecx
ja 0x5634a4
call fcn.006441b7
mov edx, dword [esp + 0x60]
sub edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x30]
sar edx, 4
test edx, edx
ja 0x5634bc
call fcn.006441b7
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x74]
mov esi, dword [esp + 0x5c]
sar eax, 4
test eax, eax
ja 0x5634d4
call fcn.006441b7
mov ecx, dword [esp + 0x74]
push edi
push ebp
push esi
mov esi, dword [esp + 0x120]
push ecx
add esi, 0x18
call fcn.0059ca80
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x5634fc
push eax
call fcn.006441c7
add esp, 4
mov edx, dword [esp + 0x50]
push edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.006441c7
mov eax, dword [esp + 0x78]
add esp, 4
cmp eax, ebx
je 0x563526
push eax
call fcn.006441c7
add esp, 4
mov eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.006441c7
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, ebx
je 0x563553
push eax
call fcn.006441c7
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.006441c7
add esp, 4
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret 4