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

Disassembly:
sub esp, 0x98
mov eax, dword [esp + 0xcc]
xor ecx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
push edi
mov edi, dword [esp + 0xb0]
mov edx, dword [ebp]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x58], eax
test byte [edi + 0x1c], 0x80
movsx eax, word [edi + 0x22]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x60], ecx
mov byte [esp + 0x17], cl
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], eax
jne 0x567faf
mov dword [esp + 0x24], ecx
mov dword [esp + 0x6c], 1
jmp 0x567fc6
push edi
call fcn.00572edd
pop ecx
mov ecx, eax
mov dword [esp + 0x24], ecx
movzx eax, word [ecx + 0x32]
xor ecx, ecx
mov dword [esp + 0x6c], eax
test dword [edi + 0x1c], 0x800
mov al, byte [esp + 0xcc]
mov dword [esp + 0x34], eax
je 0x568224
mov edx, ecx
mov eax, ecx
mov esi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], esi
cmp dword [esp + 0x20], 0
mov dword [esp + 0x30], ecx
jle 0x5681d8
xor eax, eax
mov dword [esp + 0x18], eax
mov esi, dword [edi + 4]
add esi, eax
mov dword [esp + 0x5c], esi
mov edi, dword [esi + 4]
and edi, 0xf
je 0x5681b1
mov eax, dword [esp + 0xb0]
movsx eax, word [eax + 0x20]
cmp ecx, eax
je 0x5681b1
movzx eax, word [esi + 0xe]
and eax, 0x60
je 0x568048
test edx, edx
jne 0x568048
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
jmp 0x5681b5
cmp dword [esp + 0xd8], 0
mov ebp, dword [esp + 0xac]
je 0x568076
mov ebp, dword [esp + 0xd8]
cmp dword [ebp + ecx*4], 0
mov ebp, dword [esp + 0xac]
jge 0x568076
test eax, eax
je 0x5681b1
cmp byte [esp + 0x34], 0xb
mov ebx, dword [esp + 0x44]
je 0x5680a4
mov ebx, dword [esp + 0x34]
movzx edi, bl
mov ebx, dword [esp + 0x44]
cmp edi, 5
jne 0x5680ac
test edx, edx
jne 0x56809d
xor eax, eax
cmp word [esi + 0xc], ax
jne 0x5680b8
push 2
pop eax
mov edi, eax
jmp 0x5680b8
cmp edi, 0xb
jne 0x56808c
push 2
pop edi
test edx, edx
je 0x5680b8
test eax, eax
je 0x5681b1
push ecx
push dword [esp + 0xb4]
call fcn.005786ff
pop ecx
pop ecx
mov ecx, dword [esp + 0xc0]
cwde
inc ecx
add ecx, eax
mov eax, edi
mov dword [esp + 0x3c], ecx
sub eax, 1
je 0x568168
sub eax, 1
je 0x568157
sub eax, 1
je 0x568168
dec eax
sub eax, 1
je 0x568109
push dword [esp + 0xd0]
push ecx
push 0x32
push ebx
call fcn.0057b76b
add esp, 0x10
jmp 0x5681a9
push ecx
push 0x33
push ebx
call fcn.0057b752
mov edi, dword [esp + 0xbc]
add esp, 0xc
inc dword [esp + 0x2c]
mov esi, eax
push dword [esp + 0x3c]
push dword [esp + 0x60]
push edi
call fcn.0055e30b
pop ecx
pop ecx
push eax
push ebp
call fcn.0056296d
push esi
push ebx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
add esp, 0x14
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
jmp 0x5681bc
mov eax, dword [ebp + 0x80]
mov ecx, ebp
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
push dword [esi]
mov eax, dword [esp + 0xb4]
push dword [eax]
push str._s._s
push dword [esp + 0x44]
call fcn.0056cc7e
push dword [esp + 0x4c]
mov esi, eax
push edi
push 0x513
push 0x45
push ebx
call fcn.0057b786
push 0xfffffffffffffffa
push esi
push ebx
call fcn.0057ba0b
push 1
push ebx
call fcn.0057bb2b
add esp, 0x38
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xb0]
add dword [esp + 0x18], 0x10
inc ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x20]
jl 0x568005
mov eax, dword [esp + 0x2c]
test esi, esi
jne 0x5681e0
test eax, eax
je 0x568220
test edx, edx
jne 0x568220
inc edx
mov dword [esp + 0x28], edx
push 0
pop ecx
test eax, eax
jle 0x567ff0
test byte [edi + 0x1c], 0x60
je 0x567ff0
mov eax, dword [esp + 0xc0]
push edi
inc eax
push eax
push ebp
call fcn.0055e8fe
mov edx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x2c]
xor ecx, ecx
jmp 0x567ff0
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x10]
xor esi, esi
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x56838b
mov eax, dword [edx + 0x20]
and eax, 0x200
or eax, esi
jne 0x56838b
mov edx, dword [esp + 0xc0]
mov eax, edx
cmp byte [esp + 0x34], 0xb
not eax
mov dword [ebp + 0x34], eax
mov eax, dword [esp + 0x34]
push 2
movzx eax, al
pop esi
cmovne esi, eax
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [ecx], eax
jle 0x568386
lea eax, [ecx + 0xc]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xd8]
mov edi, dword [eax - 4]
test ecx, ecx
je 0x5682aa
movzx eax, byte [esp + 0xc8]
push eax
push ecx
push edi
call fcn.0056599f
add esp, 0xc
test eax, eax
je 0x568358
mov edx, dword [esp + 0xc0]
cmp byte [esp + 0x17], 0
jne 0x5682ca
lea eax, [edx + 1]
push eax
push dword [esp + 0xb4]
push ebx
call fcn.00578580
add esp, 0xc
mov byte [esp + 0x17], 1
dec dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x3c], eax
xor eax, eax
push eax
push edi
push dword [esp + 0x40]
call fcn.005648df
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x57], 0
jne 0x568304
push 0x10
push dword [esp + 0x40]
push edi
push ebp
call fcn.00564e05
mov eax, dword [esp + 0x48]
add esp, 0x10
test edi, edi
je 0x568311
push edi
push eax
call fcn.0056485a
pop ecx
pop ecx
push 4
pop eax
cmp esi, eax
jne 0x568329
push dword [esp + 0xd0]
push ebx
call fcn.00582757
pop ecx
pop ecx
jmp 0x56834c
push 2
pop eax
cmp esi, 5
push 3
cmove esi, eax
xor eax, eax
push eax
mov eax, dword [esp + 0x20]
push dword [eax]
push esi
push 0x113
push ebp
call fcn.0056a03a
add esp, 0x18
push dword [esp + 0x3c]
push ebx
call fcn.00584970
pop ecx
pop ecx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
inc edx
mov eax, dword [esp + 0x18]
add eax, 0x14
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
cmp edx, dword [ecx]
mov edx, dword [esp + 0xc0]
jl 0x56827a
mov edi, dword [esp + 0xb0]
xor esi, esi
mov dword [ebp + 0x34], esi
mov edx, dword [esp + 0xdc]
mov eax, dword [edi + 8]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x2c], eax
test edx, edx
je 0x5684a5
cmp dword [edx], esi
jne 0x5683d7
mov al, byte [edx + 0x14]
xor edx, edx
test al, al
cmovne edx, dword [esp + 0x58]
setne al
mov dword [esp + 0xdc], edx
lea eax, [eax*2 + 4]
mov dword [esp + 0x34], eax
jmp 0x5684a5
test eax, eax
je 0x5684a5
mov eax, dword [eax + 0x14]
inc esi
test eax, eax
jne 0x5683df
imul eax, esi, 0xa
xor ecx, ecx
push ecx
mov dword [esp + 0x40], 1
mov dword [esp + 0x30], esi
push eax
push dword [esp + 0x40]
call fcn.00560434
add esp, 0xc
mov dword [esp + 0x64], eax
test eax, eax
je 0x569044
mov ecx, dword [esp + 0xdc]
lea edi, [eax + esi*8]
mov ebp, dword [esp + 0xb0]
mov edx, ecx
mov ebx, dword [esp + 0x64]
mov dword [ecx + 0x18], eax
xor eax, eax
mov esi, eax
cmp dword [edx], eax
je 0x568469
cmp dword [edx + 0x1c], 0
je 0x568462
mov ecx, eax
mov eax, dword [ebp + 8]
jmp 0x56844a
cmp eax, dword [edx + 0x1c]
je 0x56844e
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x568441
cmp byte [ecx + edi], 0
jne 0x568460
mov byte [ecx + edi], 1
mov dword [ebx + esi*8], eax
mov dword [ebx + esi*8 + 4], ecx
inc esi
xor eax, eax
mov edx, dword [edx + 0x10]
test edx, edx
jne 0x568430
mov ebx, dword [esp + 0x44]
mov ecx, eax
mov eax, ebp
mov ebp, dword [esp + 0xac]
mov eax, dword [eax + 8]
test eax, eax
je 0x56849c
mov edx, dword [esp + 0x64]
lea edx, [edx + esi*8]
cmp byte [edi + ecx], 0
jne 0x568494
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x568486
mov edi, dword [esp + 0xb0]
xor esi, esi
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x20]
mov eax, ecx
and eax, 0x6000
or eax, esi
jne 0x5684c1
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
jmp 0x568533
and ecx, 0x2000
or ecx, esi
push esi
push esi
je 0x5684f8
push 0x80
push edi
push ebp
call fcn.00579321
mov esi, eax
add esp, 0x14
mov dword [esp + 0x50], esi
test esi, esi
jne 0x568510
push esi
push esi
push edi
push ebp
call fcn.00567537
add esp, 0x10
test eax, eax
jne 0x568510
jmp 0x5684bb
push edi
push ebp
mov dword [esp + 0x60], esi
call fcn.00567537
mov esi, eax
add esp, 0x10
mov dword [esp + 0x4c], esi
test esi, esi
je 0x568533
inc dword [ebp + 0x2c]
xor eax, eax
mov esi, dword [ebp + 0x2c]
push esi
push eax
push 0x47
push ebx
mov dword [esp + 0x5c], esi
call fcn.0057b76b
add esp, 0x10
dec dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x68], eax
cmp byte [esp + 0xc8], 0
je 0x568787
cmp dword [esp + 0x24], 0
jne 0x568787
dec dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
movzx esi, byte [edi + 0x2a]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
cmp al, 0xb
je 0x568567
movzx esi, al
jmp 0x568570
push 2
cmp esi, 0xb
pop ecx
cmove esi, ecx
mov edx, dword [esp + 0xdc]
test edx, edx
je 0x5685b9
xor eax, eax
push eax
push edx
call fcn.0057b1e0
mov dword [esp + 0x68], eax
pop ecx
pop ecx
test eax, eax
je 0x56859f
cmp byte [eax + 0x14], 0
push 4
pop esi
push 6
pop ecx
cmovne esi, ecx
cmp eax, edx
je 0x5685b5
push 9
push ebx
call fcn.0057b73c
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
jmp 0x5685bd
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
cmp esi, 5
jne 0x5685e0
cmp al, 5
je 0x5685e0
xor eax, eax
cmp dword [edi + 8], eax
je 0x5685e0
test ecx, ecx
jne 0x5685e0
push 9
push ebx
call fcn.0057b73c
pop ecx
inc eax
pop ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x56860d
push eax
push dword [esp + 0x1c]
push dword [esp + 0xc8]
push 0x35
push ebx
call fcn.0057b786
push 0x90
push ebx
call fcn.0057bb2b
add esp, 0x1c
push dword [esp + 0xc0]
push dword [esp + 0x1c]
push dword [esp + 0xc0]
push 0x1f
push ebx
call fcn.0057b786
mov eax, esi
add esp, 0x14
sub eax, 1
je 0x56864f
sub eax, 1
je 0x56864f
sub eax, 1
je 0x56864f
sub eax, 1
je 0x5686ae
sub eax, 1
je 0x5686bf
sub eax, 1
je 0x568692
push 2
pop eax
mov esi, eax
push edi
push esi
push ebp
call fcn.00574859
add esp, 0xc
push dword [esp + 0x18]
push ebx
call fcn.00584970
pop ecx
pop ecx
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je 0x56875d
cmp dword [esp + 0x60], ecx
je 0x56875d
push 9
push ebx
call fcn.0057b73c
pop ecx
pop ecx
mov dword [esp + 0x7c], eax
jmp 0x568787
push dword [esp + 0xb8]
xor eax, eax
push eax
mov eax, dword [esp + 0xe4]
push edi
push eax
push ebp
call fcn.0057aefc
add esp, 0x14
push dword [esp + 0xd0]
push ebx
call fcn.00582757
pop ecx
pop ecx
jmp 0x56865a
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x56871c
mov eax, dword [ebp + 0x80]
mov ecx, ebp
push 0xffffffffffffffff
push 1
push 5
test eax, eax
cmovne ecx, eax
xor eax, eax
push eax
push 1
push dword [esp + 0xd4]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0xd4]
push ecx
push dword [esp + 0xd4]
push dword [esp + 0x70]
push edi
push ebp
call fcn.0056919d
push 1
push esi
push 0x56
push ebx
call fcn.0057b76b
add esp, 0x3c
mov dword [esp + 0x70], 1
jmp 0x568750
xor edx, edx
cmp dword [edi + 8], edx
je 0x568750
mov eax, dword [ebp + 0x80]
mov ecx, ebp
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
push edx
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0xc4]
push ecx
push dword [esp + 0xc4]
push edi
push ebp
call fcn.0056941e
add esp, 0x18
mov dword [esp + 0x78], 1
jmp 0x56865a
mov esi, dword [esp + 0x74]
test esi, esi
je 0x56878e
push 9
push ebx
call fcn.0057b73c
lea ecx, [esi - 1]
mov dword [esp + 0x98], eax
push ecx
push ebx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
add esp, 0x10
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xdc]
cmp dword [esp + 0x3c], 0
je 0x5687a4
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 4]
mov esi, dword [eax]
mov dword [esp + 0x1c], edx
jmp 0x5687b0
mov esi, dword [esp + 0x2c]
xor eax, eax
mov edx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], eax
test esi, esi
je 0x568f3f
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xb4]
cmp dword [eax + edx*4], 0
je 0x568ef1
test ecx, ecx
je 0x56880e
push esi
push ecx
call fcn.0057b1e0
cmp dword [esp + 0x5c], 0
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x60], ecx
je 0x56880e
cmp ecx, dword [esp + 0xdc]
jne 0x56880e
push dword [esp + 0x54]
push ebx
call fcn.0058273c
pop ecx
pop ecx
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
dec dword [ebp + 0x38]
cmp byte [esp + 0x17], 0
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x40], eax
jne 0x56883b
mov eax, dword [esp + 0xc0]
inc eax
push eax
push edi
push ebx
call fcn.00578580
mov edx, dword [esp + 0x28]
add esp, 0xc
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0xbc]
xor ecx, ecx
add eax, edx
mov dword [esp + 0x44], eax
cmp dword [esi + 0x24], ecx
je 0x568889
mov eax, dword [esp + 0xb4]
push dword [eax + edx*4]
push ecx
push 0x4b
push ebx
call fcn.0057b76b
mov eax, dword [esp + 0xd0]
push 0x10
push dword [esp + 0x54]
not eax
mov dword [ebp + 0x34], eax
push dword [esi + 0x24]
push ebp
call fcn.00564dc2
mov edx, dword [esp + 0x3c]
add esp, 0x20
xor ecx, ecx
mov dword [ebp + 0x34], ecx
mov eax, dword [esp + 0xb4]
and dword [esp + 0x58], 0
mov eax, dword [eax + edx*4]
mov edx, ecx
inc eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], eax
movzx eax, word [esi + 0x34]
mov ecx, eax
cmp word [esp + 0x58], ax
jae 0x56895f
mov esi, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
movzx edx, word [eax + edx*2]
movsx ecx, dx
cmp ecx, 0xfffffffe
jne 0x5688fd
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x18]
not eax
mov dword [ebp + 0x34], eax
mov eax, dword [esp + 0x10]
push esi
mov eax, dword [eax + 0x28]
push dword [eax + ecx + 8]
push ebp
call fcn.0056296d
add esp, 0xc
xor eax, eax
mov dword [ebp + 0x34], eax
jmp 0x56893e
cmp ecx, 0xffffffff
je 0x56892b
movsx eax, word [edi + 0x20]
cmp ecx, eax
je 0x56892b
push edx
push edi
call fcn.005786ff
mov ecx, dword [esp + 0xc8]
cwde
inc ecx
push esi
add eax, ecx
push eax
push 0x51
push ebx
call fcn.0057b76b
add esp, 0x18
jmp 0x56893e
push esi
push dword [esp + 0xc4]
push 0x52
push ebx
call fcn.0057b76b
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
add dword [esp + 0x18], 0x14
inc edx
inc esi
mov dword [esp + 0x20], edx
movzx ecx, word [eax + 0x34]
cmp edx, ecx
jl 0x5688be
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xb4]
push dword [edx + eax*4]
movzx eax, cx
push eax
push dword [esp + 0x50]
push 0x61
push ebx
call fcn.0057b786
mov edx, dword [esp + 0x38]
add esp, 0x14
cmp dword [esp + 0xc4], 0
je 0x5689ad
cmp edx, esi
jne 0x5689ad
cmp byte [esp + 0xc8], 0
jne 0x5689ad
push dword [esp + 0x40]
push ebx
call fcn.00584970
pop ecx
pop ecx
jmp 0x568eed
movzx eax, byte [esi + 0x36]
test eax, eax
je 0x56899c
mov ecx, dword [esp + 0x34]
cmp cl, 0xb
je 0x5689c3
movzx eax, cl
jmp 0x5689cc
push 2
cmp eax, 0xb
pop ecx
cmove eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x5689e9
cmp byte [ecx + 0x14], 0
push 6
pop eax
push 4
pop ecx
cmove eax, ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x1c], 0
jne 0x568a59
xor ecx, ecx
cmp dword [esi + 0x14], ecx
jne 0x568a59
cmp edx, esi
jne 0x568a59
cmp eax, 5
jne 0x568a59
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x84], eax
je 0x568a2c
push ecx
push ecx
push 0x80
push edi
push ebp
call fcn.00579321
add esp, 0x14
test eax, eax
jne 0x568a59
xor ecx, ecx
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x84], eax
je 0x56899c
cmp dword [edi + 0x30], ecx
jne 0x568a59
push edi
call fcn.00567522
pop ecx
test eax, eax
je 0x56899c
movzx eax, word [esi + 0x32]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x48]
push dword [esp + 0x50]
push 0x1b
push ebx
call fcn.0057b858
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [esp + 0x18], eax
cmp esi, ecx
jne 0x568a87
mov eax, dword [esp + 0x48]
jmp 0x568a97
push dword [esp + 0x6c]
push ebp
call fcn.00569724
pop ecx
pop ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x28], eax
test edx, edx
jne 0x568ab1
cmp dword [esp + 0x20], 5
jne 0x568c40
test byte [edi + 0x1c], 0x80
jne 0x568afd
push eax
push dword [esp + 0x48]
push 0x8e
push ebx
call fcn.0057b76b
mov edx, dword [esp + 0xd4]
add esp, 0x10
test edx, edx
je 0x568c40
push edx
push dword [esp + 0x44]
push dword [esp + 0x30]
push 0x35
push ebx
call fcn.0057b786
push 0x90
push ebx
call fcn.0057bb2b
add esp, 0x1c
jmp 0x568c39
cmp esi, ecx
je 0x568b5e
xor eax, eax
mov esi, eax
cmp ax, word [ecx + 0x32]
jae 0x568b5a
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov eax, dword [ecx + 4]
movzx eax, word [eax + esi*2]
push eax
push edi
call fcn.005786d6
movsx ecx, ax
lea eax, [esi + ebp]
push eax
push ecx
push dword [esp + 0x54]
push 0x5e
push ebx
call fcn.0057b786
mov ecx, dword [esp + 0x40]
add esp, 0x1c
inc esi
movzx eax, word [ecx + 0x32]
cmp esi, eax
jl 0x568b13
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0x10]
test edx, edx
je 0x568c40
movzx ecx, word [ecx + 0x32]
mov eax, dword [ebx + 0x6c]
mov edx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x38]
and al, 3
mov dword [esp + 0x58], 0x34
cmp al, 2
cmove edx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x84], edx
mov esi, eax
test ecx, ecx
je 0x568c39
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x20]
push dword [eax + esi*4]
push ebp
call fcn.0056c7ae
mov edx, dword [esp + 0x2c]
pop ecx
pop ecx
mov dword [esp + 0x80], eax
mov ecx, dword [edx + 4]
movzx eax, word [ecx + esi*2]
movzx ecx, word [edx + 0x32]
dec ecx
cmp esi, ecx
jne 0x568be1
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x58], 0x35
push eax
push edi
call fcn.005786ff
movsx ecx, ax
mov eax, dword [esp + 0x8c]
push 0xfffffffffffffffe
push dword [esp + 0x8c]
add eax, esi
push eax
mov eax, dword [esp + 0xd8]
push dword [esp + 0xa0]
inc eax
add eax, ecx
push eax
push dword [esp + 0x74]
push ebx
call fcn.0057b7e0
push 0x90
push ebx
call fcn.0057bb2b
mov ecx, dword [esp + 0x50]
add esp, 0x2c
inc esi
movzx eax, word [ecx + 0x32]
cmp esi, eax
jl 0x568ba5
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0x20]
mov eax, esi
sub eax, 1
je 0x568e77
sub eax, 1
je 0x568e77
sub eax, 1
je 0x568e77
sub eax, 1
je 0x568e66
push 2
pop ecx
sub eax, ecx
je 0x568e45
mov esi, dword [ebx + 0x6c]
sub esi, dword [esp + 0x18]
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x84], esi
je 0x568c9f
mov eax, dword [ebp + 0x80]
mov ecx, ebp
test eax, eax
cmovne ecx, eax
inc dword [esp + 0x70]
mov byte [ecx + 0x14], 1
cmp dword [esp + 0x50], 0
je 0x568cbf
test edx, edx
je 0x568cbf
push dword [esp + 0xb8]
push 0xa7
push ebx
call fcn.0057b752
add esp, 0xc
push dword [esp + 0x44]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x14], eax
sete al
movzx eax, al
push eax
push 5
xor eax, eax
push eax
push dword [esp + 0x7c]
push dword [esp + 0x3c]
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0x70]
push edi
push ebp
call fcn.0056919d
add esp, 0x2c
cmp dword [esp + 0x50], 0
je 0x568d21
cmp dword [esp + 0xc4], 0
je 0x568d21
push dword [esp + 0xb8]
push 0xa8
push ebx
call fcn.0057b752
add esp, 0xc
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x568e3b
push 1
push eax
push 0x56
push ebx
call fcn.0057b76b
push 9
push ebx
call fcn.0057b73c
push dword [esp + 0x48]
mov dword [esp + 0x9c], eax
push ebx
call fcn.00584970
mov ecx, dword [ebp + 0x38]
add esp, 0x20
mov eax, dword [esp + 0x10]
dec ecx
xor edx, edx
mov dword [ebp + 0x38], ecx
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x24], edx
je 0x568d7c
mov eax, dword [esp + 0x48]
push ecx
dec eax
push eax
push 0x32
push ebx
call fcn.0057b76b
add esp, 0x10
test esi, esi
jle 0x568e17
mov ebp, dword [esp + 0x84]
mov eax, dword [esp + 0x18]
push eax
push ebx
call fcn.0058273c
pop ecx
pop ecx
push 5
mov esi, eax
lea edi, [esp + 0x98]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x94]
cmp al, 0x8e
je 0x568dfb
mov ecx, dword [esp + 0x9c]
movzx edx, al
test byte [edx + 0x657250], 1
cmovne ecx, dword [esp + 0x30]
shr eax, 8
movsx eax, al
push eax
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push ecx
push dword [esp + 0xa8]
push edx
push ebx
call fcn.0057b7e0
push dword [esp + 0xb2]
push ebx
call fcn.0057bb2b
add esp, 0x24
mov eax, dword [esp + 0x18]
dec ebp
inc eax
mov dword [esp + 0x18], eax
test ebp, ebp
jg 0x568d8f
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
push dword [esp + 0x10]
push 2
pop eax
push eax
push ebp
call fcn.005793d8
push dword [esp + 0x8c]
push ebx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
add esp, 0x14
mov dword [eax + 8], ecx
mov dword [esp + 0x78], 1
jmp 0x568e85
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0xbc]
push eax
push dword [esp + 0x14]
push edi
push dword [esp + 0xe8]
push ebp
call fcn.0057aefc
add esp, 0x14
push dword [esp + 0xd0]
push ebx
call fcn.00582757
pop ecx
pop ecx
jmp 0x568e85
push dword [esp + 0x10]
push esi
push ebp
call fcn.005793d8
add esp, 0xc
push dword [esp + 0x40]
push ebx
call fcn.00584970
mov eax, dword [esp + 0x30]
pop ecx
pop ecx
cmp eax, dword [esp + 0x48]
je 0x568ea9
push dword [esp + 0x6c]
push eax
push ebp
call fcn.00573dd7
add esp, 0xc
mov eax, dword [esp + 0x60]
test eax, eax
je 0x568eed
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x568eed
mov eax, dword [eax + 0x10]
test eax, eax
je 0x568ecb
xor ecx, ecx
cmp dword [eax], ecx
je 0x568ecb
cmp dword [eax + 0x1c], ecx
jne 0x568eed
mov eax, dword [esp + 0x54]
inc eax
push eax
push ebx
call fcn.00582757
push esi
push ebx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
add esp, 0x10
mov dword [eax + 8], ecx
xor eax, eax
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x3c], 0
je 0x568f1b
mov eax, dword [esp + 0x5c]
inc eax
mov edx, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], edx
cmp edx, dword [esp + 0x2c]
jge 0x568f3f
mov eax, dword [esp + 0x64]
lea eax, [eax + edx*8]
mov edx, dword [eax + 4]
mov esi, dword [eax]
jmp 0x568f27
mov eax, dword [esp + 0x2c]
inc edx
mov esi, dword [eax + 0x14]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edx
test esi, esi
je 0x568f3f
mov ecx, dword [esp + 0xdc]
jmp 0x5687c8
mov eax, dword [esp + 0x74]
test eax, eax
je 0x568f64
push eax
push ebx
call fcn.00582757
push dword [esp + 0x98]
push ebx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
add esp, 0x10
mov dword [eax + 8], ecx
cmp dword [esp + 0x70], 0
je 0x568ff6
mov esi, dword [esp + 0x30]
push esi
push dword [esp + 0x50]
push 0x11
push ebx
call fcn.0057b76b
add esp, 0x10
cmp dword [esp + 0x24], 0
jne 0x568fe1
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x568fb7
push eax
push dword [esp + 0x6c]
push dword [esp + 0xc8]
push 0x35
push ebx
call fcn.0057b786
push 0x90
push ebx
call fcn.0057bb2b
add esp, 0x1c
push dword [esp + 0xc0]
push dword [esp + 0x6c]
push dword [esp + 0xc0]
push 0x1f
push ebx
call fcn.0057b786
push edi
push 2
pop eax
push eax
push ebp
call fcn.00574859
add esp, 0x20
jmp 0x568fed
push dword [esp + 0x68]
push ebx
call fcn.00582757
pop ecx
pop ecx
push esi
push ebx
call fcn.00584970
pop ecx
pop ecx
test byte [edi + 0x1c], 0x80
jne 0x569037
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb4]
push dword [ecx + eax*4]
movsx eax, word [edi + 0x24]
push eax
mov eax, dword [esp + 0xc8]
inc eax
push eax
push 0x61
push ebx
call fcn.0057b786
add esp, 0x14
cmp byte [esp + 0x17], 0
jne 0x569037
xor eax, eax
push eax
push edi
push ebx
call fcn.00578580
add esp, 0xc
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret