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

Disassembly:
sub esp, 0x7c
mov dword [esp + 0x6c], ebx
mov ebx, eax
mov eax, dword [eax + 0x14]
mov dword [esp + 0x74], edi
mov edi, edx
mov dword [esp + 0x78], ebp
mov ebp, ecx
mov dword [esp + 0x70], esi
test byte [eax + 2], 8
je 0x563338
mov eax, ebx
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
add esp, 0x7c
ret
mov eax, ebx
call fcn.00560290
test eax, eax
je 0x563370
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], 1
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.00562c70
mov ebx, eax
jmp 0x563322
mov eax, ebx
call fcn.0055d610
test eax, eax
js 0x5635c4
mov eax, dword [esp + 0x80]
test eax, eax
sete dl
test edi, edi
sete byte [esp + 0x47]
test dl, dl
je 0x5633a1
cmp byte [esp + 0x47], 0
je 0x5633a1
test ebp, ebp
je 0x563322
mov byte [esp + 0x38], dl
call fcn.00497120
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x14]
movzx eax, word [eax + 4]
mov word [esp + 0x3c], ax
mov eax, ebx
call fcn.0055d610
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
mov dword [esp + 0x48], eax
je 0x563322
test dl, dl
jne 0x563660
movsx ecx, word [esp + 0x3c]
mov dword [esp], ebx
mov dword [esp + 0x4c], ecx
call fcn.004f87e0
mov ecx, dword [eax + 0x14]
mov esi, eax
movzx eax, word [ecx + 2]
mov byte [ecx], 3
mov dword [ecx + 0x20], 0x708e40
and ax, 0xfc7f
or al, 0x80
mov word [ecx + 2], ax
movzx edx, word [esp + 0x3c]
test al, 0x10
mov word [ecx + 4], dx
je 0x5635d0
mov edx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x10]
lea edx, [edx + edx*2]
shl edx, 3
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x3c]
cmp dword [esp + 0x5c], edx
jle 0x56347c
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 4], edx
lea edx, [eax + 0x3c]
mov dword [esp], edx
call fcn.00640110
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x5c]
add edx, dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
mov dword [eax + 0x48], edx
mov edx, dword [eax + 0x44]
cmp dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
je 0x563657
mov edx, dword [esp + 0x3c]
add edx, dword [eax + 0x54]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x54]
not edx
and dword [esp + 0x2c], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x48], edx
sub edx, dword [eax + 0x40]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x50]
sub edx, dword [eax + 0x40]
cmp dword [esp + 0x5c], edx
jle 0x5634d6
mov edx, dword [esp + 0x50]
mov dword [eax + 0x48], edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x44], edx
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x14]
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x18]
mov edx, dword [edx + 0x18]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebx + 0x14]
mov eax, dword [esi + 0x14]
mov edx, dword [ecx + 8]
test edx, edx
je 0x56364f
or byte [eax + 2], 8
mov dword [eax + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0xc], 0
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x3c], eax
add eax, dword [ecx + 0x18]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
test edx, edx
lea ecx, [edx + 7]
cmovs edx, ecx
sar edx, 3
lea ecx, [ebp + edx]
mov dword [esp + 0x40], ecx
xor ecx, ecx
test ebp, ebp
mov ebp, dword [esp + 0x40]
cmove ebp, ecx
add edx, edi
cmp byte [esp + 0x47], 0
cmovne edx, ecx
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov ecx, ebp
call fcn.00563680
test eax, eax
je 0x5635f7
mov edx, dword [esi + 0x14]
mov edx, dword [edx + 0x18]
add edx, dword [esp + 0x3c]
and dword [edx + 8], 0xf
mov dword [edx + 0xc], eax
mov eax, dword [eax + 0x10]
add eax, dword [esi + 0x10]
mov dword [edx + 0x10], 0x72770c
mov dword [esi + 0x10], eax
mov edx, dword [ebx + 0x14]
mov ebx, esi
mov ecx, dword [esp + 0x3c]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + ecx + 0xc]
sub eax, dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.004971f0
jmp 0x563322
mov eax, dword [ebx + 0x14]
or byte [eax + 2], 8
jmp 0x563322
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x58], eax
mov dword [esp], eax
call fcn.005c2e50
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
jmp 0x5634dd
mov edx, dword [esp + 0x48]
mov edi, dword [esi + 0x14]
add edx, 1
cmp dword [esp + 0x4c], edx
jle 0x563642
mov ebp, dword [edi + 0x18]
lea eax, [edx + edx*2]
lea eax, [ebp + eax*8]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [eax]
add edx, 1
mov dword [eax - 0x18], ecx
mov ecx, dword [eax + 4]
mov dword [eax - 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [eax - 0x10], ecx
mov ecx, dword [eax + 0xc]
mov dword [eax - 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [eax - 8], ecx
mov ecx, dword [eax + 0x14]
mov dword [eax - 4], ecx
add eax, 0x18
cmp ebp, edx
jg 0x563615
sub word [edi + 4], 1
mov eax, dword [esi + 0x10]
jmp 0x56359d
mov edx, dword [ecx + 0xc]
jmp 0x563515
or byte [eax + 0x64], 2
jmp 0x56349c
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00499300
mov dword [esp + 0x80], eax
jmp 0x5633db