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

Disassembly:
mov ecx, dword [0x78bd58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x5678ce
sub esp, 0xac
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.005678e0
mov eax, dword [esp + 4]
test eax, eax
je 0x567374
mov dword [esp + 0x40], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp], ecx
call fcn.00563190
lea edi, [esp + 0x90]
lea esi, [esp + 4]
call fcn.004705fe
cmp dword [esp + 0x90], 9
jne 0x56736a
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.00563190
lea edi, [esp + 0x90]
lea esi, [esp + 4]
call fcn.004705fe
mov eax, dword [esp + 0x94]
mov dword [esp + 0x34], eax
lea ecx, [0x5cb480]
mov dword [esp], ecx
call fcn.00410f90
mov eax, dword [0x78be40]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x567321
mov eax, dword [esp + 0xb0]
jmp 0x56732f
call fcn.0046fee0
mov eax, dword [esp + 0xb0]
mov dword [edi], eax
mov dword [ecx + 8], eax
mov dword [ecx], 3
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 0xc], edx
mov ebx, dword [0x78be40]
test ebx, ebx
jne 0x567356
mov ebx, dword [esp + 0x68]
jmp 0x567361
call fcn.0046fee0
mov ebx, dword [esp + 0x68]
mov dword [edi], ebx
mov dword [esp + 0x64], ecx
mov dword [ecx + 0x10], ebx
jmp 0x5673ab
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
jmp 0x567391
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0xac
ret
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xac
ret
mov dword [ebp], ecx
mov eax, edx
mov dword [esp], eax
call fcn.00563190
lea edi, [esp + 0x90]
lea esi, [esp + 4]
call fcn.004705fe
cmp dword [esp + 0x90], 9
jne 0x567542
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx + 0x6c]
test ebx, ebx
jle 0x5673e5
dec ebx
mov dword [edx + 0x6c], ebx
jmp 0x56744a
mov eax, dword [edx + 0x2c]
mov dword [esp], eax
call fcn.0055a590
lea edi, [esp + 0x7c]
lea esi, [esp + 4]
call fcn.004705fe
mov eax, dword [0x78be40]
mov ecx, dword [esp + 0xb0]
lea edi, [ecx + 0x30]
test eax, eax
je 0x56743a
mov dword [esp + 0x70], edi
lea eax, [0x5c7020]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.00416300
mov ecx, dword [esp + 0xb0]
mov edi, dword [esp + 0x70]
lea esi, [esp + 0x7c]
call fcn.004705fe
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + 0x6c]
cmp eax, 3
jae 0x5678c3
lea eax, [eax + eax*4]
lea esi, [edx + eax*4 + 0x30]
lea edi, [esp + 0x50]
call fcn.004705fe
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x5678ab
mov ecx, dword [esp + 0x58]
cmp byte [ecx], 0x2e
jne 0x5678ab
lea ebx, [eax - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ecx, ebx
cmp eax, 1
je 0x567893
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 0x1c]
mov esi, dword [eax + 0x18]
inc esi
mov edi, dword [eax + 0x14]
cmp ebx, esi
jae 0x567515
mov dword [esp + 0x44], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5b1e40]
mov dword [esp + 0x10], eax
call fcn.004544e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x78be40]
test eax, eax
je 0x5674fd
call fcn.0046fef0
mov dword [edi], ecx
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ebx
mov ebp, dword [esp + 0x44]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0xb0]
mov dword [eax + 0x18], esi
lea ebx, [edi + esi*8 - 4]
mov dword [ebx], ebp
mov ebx, dword [0x78be40]
lea ebp, [edi + esi*8 - 8]
test ebx, ebx
je 0x5673a6
call fcn.0046fef0
mov dword [edi], ecx
mov ebx, dword [ebp]
mov dword [edi + 4], ebx
jmp 0x5673a6
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
cmp eax, 8
jg 0x5676a5
cmp eax, 2
je 0x5676b6
cmp eax, 5
je 0x5676b6
cmp eax, 8
jne 0x567747
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
lea edx, [0x5bc860]
mov dword [esp], edx
call fcn.00410f90
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00560140
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
mov edx, ecx
neg ecx
mov eax, dword [eax + 8]
nop
cmp eax, ecx
ja 0x567885
cmp eax, 1
jb 0x567879
dec eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6204c0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00484a20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
lea ebx, [0x5c9680]
mov dword [esp], ebx
call fcn.00410f90
mov eax, dword [0x78be40]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x567650
mov eax, dword [esp + 0xb0]
jmp 0x56765e
call fcn.0046fee0
mov eax, dword [esp + 0xb0]
mov dword [edi], eax
mov dword [ecx + 8], eax
mov dword [ecx], 8
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x14], eax
mov eax, dword [0x78be40]
test eax, eax
jne 0x56768c
mov eax, dword [esp + 0x4c]
jmp 0x567697
call fcn.0046fee0
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [ecx + 0xc], eax
lea eax, [0x6227d8]
jmp 0x567391
lea ecx, [eax - 0xc]
cmp ecx, 1
jbe 0x5676b6
cmp eax, 0x10
jne 0x567742
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040e820
mov eax, dword [esp + 8]
lea ecx, [0x5b1e40]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [0x5e2c8f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1a
lea eax, [esp + 0x74]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00563500
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
jmp 0x567391
cmp eax, 0x12
je 0x567756
lea eax, [0x6228f0]
mov ecx, dword [esp + 0x64]
jmp 0x567391
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
lea edx, [0x5bc860]
mov dword [esp], edx
call fcn.00410f90
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00560140
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 4]
mov edx, ecx
neg ecx
mov eax, dword [eax + 8]
nop
cmp eax, ecx
ja 0x56786b
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x6204c0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00484a20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
lea ebx, [0x5c92c0]
mov dword [esp], ebx
call fcn.00410f90
mov eax, dword [0x78be40]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x567816
mov eax, dword [esp + 0xb0]
jmp 0x567824
call fcn.0046fee0
mov eax, dword [esp + 0xb0]
mov dword [edi], eax
mov dword [ecx + 8], eax
mov dword [ecx], 0x12
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x14], eax
mov eax, dword [0x78be40]
test eax, eax
jne 0x567852
mov eax, dword [esp + 0x48]
jmp 0x56785d
call fcn.0046fee0
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov dword [ecx + 0xc], eax
lea eax, [0x6228a0]
jmp 0x567391
test edx, edx
je 0x567874
call fcn.00467670
call fcn.004676b0
mov eax, 1
xor ecx, ecx
call fcn.0046ffc0
test edx, edx
je 0x56788e
call fcn.00467670
call fcn.004676b0
lea eax, [0x5b1e40]
mov dword [esp], eax
lea eax, [0x621cc0]
mov dword [esp + 4], eax
call fcn.0043d570
lea eax, [0x5b1e40]
mov dword [esp], eax
lea eax, [0x621cb8]
mov dword [esp + 4], eax
call fcn.0043d570
mov ecx, 3
call fcn.0046ff60
nop
call fcn.0046eae0
jmp fcn.00567260