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

Disassembly:
push 0xffffffffffffffff
push 0x6714d4
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d7160]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov edi, dword [esp + 0x190]
mov eax, dword [edi + 0x38]
test eax, eax
mov esi, dword [esp + 0x194]
mov ebp, esi
mov dword [esp + 0x18], eax
je 0x563968
mov eax, dword [esi + 0x10]
push edi
lea ebx, [esp + 0xd4]
mov dword [esp + 0xe4], eax
mov dword [edi + 0x38], 0
call fcn.00563660
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x38], ecx
mov edx, dword [esi]
mov dword [esp + 0xd0], edx
mov ebp, ebx
xor ebx, ebx
cmp dword [edi + 0x24], ebx
jg 0x563991
cmp dword [edi + 0x34], ebx
jne 0x563991
cmp dword [edi + 0x3c], ebx
jne 0x563991
mov eax, ebp
mov ecx, edi
call fcn.00563610
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push ebp
call eax
jmp 0x563bc5
lea ecx, [esp + 0xa4]
call fcn.005519d0
lea ecx, [esp + 0x78]
mov dword [esp + 0x188], ebx
call fcn.005519d0
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x7c]
push edx
push edi
lea ecx, [esp + 0x164]
mov edx, ebp
mov byte [esp + 0x194], 1
call fcn.00563d60
cmp dword [edi + 0x3c], ebx
je 0x563a52
lea ecx, [esp + 0x3c]
mov eax, ebp
call fcn.00563340
mov byte [esp + 0x52], 1
call fcn.00560430
push eax
mov eax, dword [ebp]
push ebx
push eax
call fcn.0060c930
add esp, 0xc
push 1
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [edi + 0x3c]
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0x84]
push eax
push ecx
mov ecx, dword [edi + 0x38]
xor eax, eax
call fcn.0056c040
test al, al
jne 0x563b9b
lea ecx, [esp + 0x78]
mov byte [esp + 0x188], al
call fcn.005519f0
lea ecx, [esp + 0xa4]
mov dword [esp + 0x188], 0xffffffff
call fcn.005519f0
jmp 0x563d18
lea ecx, [esp + 0x54]
call fcn.00555d10
lea ecx, [esp + 0x20]
call fcn.0055dbb0
lea ecx, [esp + 0x11c]
call fcn.00556f90
mov byte [esp + 0x188], 4
cmp byte [edi + 0x2d], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x11c]
jne 0x563a96
mov esi, 2
push 1
jmp 0x563a9c
mov esi, 1
push ebx
call fcn.005571b0
movzx edx, word [ebp + 0x16]
movzx edi, word [ebp + 0x14]
push edx
push ebx
xor ebx, ebx
lea eax, [esp + 0x28]
call fcn.0055dcb0
movsx ecx, word [ebp + 0x18]
movsx edx, word [ebp + 0x1a]
shl ecx, 0x10
shl edx, 0x10
neg ecx
neg edx
lea eax, [esp + 0xf4]
call fcn.00558c20
cmp byte [ebp + 0x1c], bl
movzx ecx, word [ebp + 0x14]
jne 0x563ae5
lea eax, [ecx + 7]
shr eax, 3
jmp 0x563aeb
lea eax, [ecx + 3]
and eax, 0xfffffffc
movzx edx, word [ebp + 0x16]
push edx
mov ebx, esi
push ecx
lea esi, [esp + 0x5c]
call fcn.00555f50
mov eax, dword [ebp]
push 0
push eax
mov edi, esi
call fcn.005560a0
movzx ecx, word [esp + 0x72]
imul ecx, dword [esp + 0x6c]
mov edx, dword [ebp]
push ecx
push 0
push edx
call fcn.0060c930
add esp, 0xc
mov edx, esi
push 0
lea eax, [esp + 0x24]
lea ecx, [esp + 0xf8]
mov dword [esp + 0x40], edx
push 0
lea esi, [esp + 0x124]
lea edx, [esp + 0xac]
lea ebx, [esp + 0x44]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], 0
call fcn.005664b0
mov ecx, esi
mov byte [esp + 0x188], 3
call fcn.00557070
lea ecx, [esp + 0x20]
mov byte [esp + 0x188], 2
call fcn.0055dbe0
mov ecx, edi
mov byte [esp + 0x188], 1
call fcn.00555d60
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x190]
lea ecx, [esp + 0x78]
mov byte [esp + 0x188], 0
call fcn.005519f0
lea ecx, [esp + 0xa4]
mov dword [esp + 0x188], 0xffffffff
call fcn.005519f0
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x563cac
lea ecx, [esp + 0x54]
mov eax, ebp
call fcn.00563340
lea edx, [edi + 4]
lea eax, [esp + 0xf4]
call fcn.00563fe0
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push ebx
lea edx, [esp + 0xf8]
push edx
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x2c]
push edx
call eax
test al, al
je 0x563cac
movzx ecx, word [esi + 0x14]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
movzx edx, word [esi + 0x16]
sub eax, ecx
mov edi, eax
sar edi, 0x1f
and edi, eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
add edi, ecx
sub eax, edx
mov esi, eax
sar esi, 0x1f
and esi, eax
mov eax, dword [esp + 0x194]
add esi, edx
cmp byte [eax + 0x1c], 0
jne 0x563c50
add ecx, 7
shr ecx, 3
jmp 0x563c56
add ecx, 3
and ecx, 0xfffffffc
cmp byte [esp + 0x36], 2
mov edx, dword [eax]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
movzx ecx, word [esp + 0x34]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], edx
jne 0x563c77
lea esi, [esi + esi*2]
sub esi, 1
js 0x563c9c
mov eax, dword [esp + 0x1c]
push edi
push ebx
push eax
call fcn.0060d1b0
mov ecx, dword [esp + 0x24]
add ebx, dword [esp + 0x44]
add dword [esp + 0x28], ecx
add esp, 0xc
sub esi, 1
jns 0x563c7c
mov eax, dword [esp + 0x20]
call fcn.00560450
mov edi, dword [esp + 0x190]
cmp byte [edi + 0x2d], 0
je 0x563d18
mov al, byte [edi + 0x2f]
test al, 0xc
je 0x563d18
test al, 4
mov edi, dword [0x6f9c6c]
jne 0x563cc9
mov edi, dword [0x6f9c68]
test edi, edi
je 0x563d18
cmp byte [ebp + 0x1c], 0
mov ecx, dword [ebp]
movzx eax, word [ebp + 0x14]
jne 0x563ce2
lea esi, [eax + 7]
shr esi, 3
jmp 0x563ce8
lea esi, [eax + 3]
and esi, 0xfffffffc
movzx edx, word [ebp + 0x16]
sub edx, 1
js 0x563d18
movzx eax, word [ebp + 0x14]
sub eax, 1
js 0x563d11
lea ebx, [ebx]
sub eax, 1
movzx ebx, byte [eax + ecx + 1]
mov bl, byte [ebx + edi]
mov byte [eax + ecx + 1], bl
jns 0x563d00
add ecx, esi
sub edx, 1
jns 0x563cf1
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x178
ret 8