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

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4568ab
sub esp, 0xa0
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.00474cd5
mov ecx, dword [esp + 0xa4]
jmp 0x4561e7
xor eax, eax
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
cmp edx, 2
jge 0x456668
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x456608
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x456213
mov dword [ecx + 0xc], 0
mov edi, edx
jmp 0x45624b
mov edx, dword [ecx + 8]
mov ebp, dword [ecx]
dec edx
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 4
dec ebx
mov edi, dword [ebp]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], esi
mov ebx, dword [0x587dc8]
add edx, ebp
test ebx, ebx
je 0x456249
mov ebx, edi
call fcn.00474ab0
mov dword [edi], edx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov edi, ebx
mov dword [ecx], edx
mov dword [esp + 0x2c], edi
mov dword [esp], edi
call fcn.00471240
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004570e0
movzx eax, byte [esp + 8]
test al, al
jne 0x45637c
mov ecx, dword [0x567f44]
test ecx, ecx
jne 0x456296
mov ecx, dword [esp + 0xa4]
jmp 0x4561e5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004568c0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 8]
lea ebp, [ecx + ebx]
mov esi, dword [eax + 0x10]
mov edi, dword [esp + 4]
cmp edx, ebp
jae 0x456303
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x70], edi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
lea eax, [0x4cfac0]
mov dword [esp + 0x10], eax
call fcn.00470510
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x70], esi
lea eax, [0x4cfac0]
mov dword [esp], eax
sub ebp, ecx
sub edx, ecx
neg edx
sar edx, 0x1f
imul ecx, ecx, 0x2c
and edx, ecx
lea ecx, [edx + esi]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.0046e520
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x18], eax
mov eax, dword [0x587dc8]
test eax, eax
jne 0x456363
mov edx, dword [esp + 0x70]
jmp 0x456374
call fcn.00474ab0
mov edx, dword [esp + 0x70]
mov dword [edi], edx
mov ebx, dword [ecx + 0x10]
mov dword [edi + 4], ebx
mov dword [ecx + 0x10], edx
jmp 0x4561e5
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00457110
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov dword [esp], eax
call fcn.00457030
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jbe 0x4563b5
lea edi, [ecx - 1]
jmp 0x4563b7
mov edi, ecx
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.00471740
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebp
lea ecx, [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00471810
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
movzx edx, byte [esp + 0x18]
mov byte [esp + 0x23], dl
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
lea ebp, [esp + 0x58]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x40]
mov dword [esp + 8], esi
call fcn.00457fc0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45645b
mov eax, dword [esp + 0x64]
jmp 0x45649f
lea eax, [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00457f20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x456821
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0xc], eax
jmp 0x45649d
mov eax, dword [esp + 0xa4]
mov ecx, eax
xor eax, eax
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
movzx edx, byte [esp + 0x23]
mov byte [esp + 0xc], dl
call fcn.00471360
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0045d8b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x74]
mov edx, eax
xor eax, eax
call fcn.00474cd5
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x14]
inc ebx
mov ebp, dword [ecx + 0x10]
cmp edx, ebx
jae 0x4565b4
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4cfac0]
mov dword [esp + 0x10], eax
call fcn.00470510
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 0x18], eax
mov eax, dword [0x587dc8]
test eax, eax
je 0x4565a4
call fcn.00474ab0
mov dword [edi], ecx
mov ebp, dword [ebx + 0x10]
mov dword [edi + 4], ebp
mov dword [ebx + 0x10], ecx
xor eax, eax
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x14], ebx
mov edx, dword [0x587dc8]
imul ebx, ebx, 0x2c
lea edi, [ebx + ebp - 0x2c]
test edx, edx
je 0x4565f3
mov dword [esp + 0x70], edi
lea eax, [0x4cfac0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
call fcn.004110a0
xor eax, eax
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0x70]
lea esi, [esp + 0x74]
call fcn.00475182
mov ecx, dword [esp + 0xa4]
jmp 0x4561e5
test edx, edx
je 0x456659
cmp edx, 1
jne 0x456654
lea edi, [esp + 0xa8]
call fcn.00475182
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 2
mov ecx, dword [0x587dc8]
lea edx, [eax + 0x1c]
test ecx, ecx
je 0x45664c
call fcn.00474ab0
mov dword [edi], edx
mov ecx, dword [eax + 0x10]
mov dword [edi + 4], ecx
mov dword [eax + 0x10], edx
jmp 0x456759
cmp edx, 2
jmp 0x456668
mov byte [esp + 0xd4], 0
add esp, 0xa0
ret
jne 0x456706
lea edi, [esp + 0xa8]
call fcn.00475182
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x14]
cmp edx, 1
jbe 0x4567f1
mov eax, dword [0x587dc8]
mov edx, dword [ecx + 0x10]
lea edi, [ecx + 0x1c]
lea esi, [edx + 0x2c]
lea edx, [ecx + 0x1c]
test eax, eax
je 0x4566e7
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edx
mov eax, edi
call fcn.00474ab0
mov dword [edi], edx
mov ebx, dword [ecx + 0x10]
mov dword [edi + 4], ebx
lea ebx, [0x4cfac0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004110a0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
call fcn.00475182
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], 2
mov dword [eax + 0x10], edx
jmp 0x456759
lea edi, [esp + 0xa8]
call fcn.00475182
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x14]
cmp edx, 1
jb 0x4567e5
mov eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x18]
dec ebx
dec edx
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], ebx
mov edx, dword [0x587dc8]
neg ebx
sar ebx, 0x1f
and ebx, 0x2c
add eax, ebx
test edx, edx
je 0x456754
call fcn.00474ab0
mov dword [edi], eax
mov edx, dword [ecx + 0x10]
mov dword [edi + 4], edx
mov dword [ecx + 0x10], eax
mov eax, ecx
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x4c], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004570e0
movzx eax, byte [esp + 8]
test al, al
je 0x4567ce
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.004713c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x4c]
test eax, eax
setne al
mov byte [esp + 0xd4], al
add esp, 0xa0
ret
mov eax, 1
xor ecx, ecx
call fcn.00474b80
mov eax, 1
mov ecx, edx
call fcn.00474b20
lea eax, [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00457f20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00457ef0
movzx eax, byte [esp + 8]
test al, al
je 0x456494
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x45649b
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
cmp dword [ecx], ebx
je 0x45649b
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00471810
cmp byte [esp + 0x18], 0x16
je 0x45688c
xor eax, eax
jmp 0x45689e
movzx eax, byte [esp + 0x23]
mov byte [esp], al
call fcn.0045f3a0
movzx eax, byte [esp + 4]
test al, al
jne 0x4567fd
jmp 0x456484
call fcn.004736a0
jmp fcn.004561b0