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

Disassembly:
mov ecx, dword [0x58f5c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4587c3
sub esp, 0x98
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.0046d865
mov ecx, dword [esp + 0x9c]
jmp 0x458237
xor eax, eax
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
cmp edx, 2
jge 0x458661
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x458601
mov edx, dword [ecx + 8]
mov ebp, dword [ecx]
dec edx
dec ebx
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 4
mov edi, dword [ebp]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], esi
mov ebx, dword [0x58f668]
add edx, ebp
test ebx, ebx
je 0x458287
mov ebx, edi
call fcn.0046d780
mov dword [edi], edx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov edi, ebx
mov dword [esp + 0x24], edi
mov dword [ecx], edx
mov dword [esp], edi
call fcn.00459880
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004597c0
movzx eax, byte [esp + 8]
test al, al
jne 0x4583ba
mov eax, dword [0x54fb88]
test eax, eax
jne 0x4582d4
mov ecx, dword [esp + 0x9c]
jmp 0x458235
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004587d0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ebx, dword [esp + 8]
lea ebp, [ecx + ebx]
mov esi, dword [eax + 0xc]
mov edi, dword [esp + 4]
cmp edx, ebp
jae 0x458341
mov dword [esp + 0x44], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x40], ecx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
lea eax, [0x4c1400]
mov dword [esp + 0x10], eax
call fcn.00453590
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x68], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edx
lea eax, [0x4c1400]
mov dword [esp], eax
sub ebp, ecx
sub edx, ecx
neg edx
sar edx, 0x1f
imul ecx, ecx, 0x2c
and edx, ecx
lea ecx, [esi + edx]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.00414e40
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x14], eax
mov eax, dword [0x58f668]
test eax, eax
jne 0x4583a1
mov eax, dword [esp + 0x68]
jmp 0x4583b2
call fcn.0046d780
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov edx, dword [ecx + 0xc]
mov dword [edi + 4], edx
mov dword [ecx + 0xc], eax
jmp 0x458235
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.004597f0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov dword [esp], eax
call fcn.00459710
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jae 0x4583f3
lea edi, [ecx - 1]
jmp 0x4583f5
mov edi, ecx
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.0045a980
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
lea ecx, [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0045aba0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
movzx ebx, byte [esp + 0x18]
mov byte [esp + 0x23], bl
lea ebp, [esp + 0x50]
mov dword [esp], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 8], ebp
call fcn.0045ab70
movzx eax, byte [esp + 0xc]
test al, al
je 0x458497
xor eax, eax
jmp 0x45849b
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
movzx edx, byte [esp + 0x23]
mov byte [esp + 0xc], dl
call fcn.004599e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00462860
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x6c]
mov edx, eax
xor eax, eax
call fcn.0046d865
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
inc ebx
mov ebp, dword [ecx + 0xc]
cmp edx, ebx
jae 0x4585ad
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4c1400]
mov dword [esp + 0x10], eax
call fcn.00453590
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x9c]
mov dword [ebx + 0x14], eax
mov eax, dword [0x58f668]
test eax, eax
je 0x45859d
call fcn.0046d780
mov dword [edi], ecx
mov eax, dword [ebx + 0xc]
mov dword [edi + 4], eax
mov dword [ebx + 0xc], ecx
xor eax, eax
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x10], ebx
mov edx, dword [0x58f668]
imul ebx, ebx, 0x2c
lea edi, [ebx + ebp - 0x2c]
test edx, edx
je 0x4585ec
mov dword [esp + 0x68], edi
lea eax, [0x4c1400]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.00414d90
xor eax, eax
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0x68]
lea esi, [esp + 0x6c]
call fcn.0046dd12
mov ecx, dword [esp + 0x9c]
jmp 0x458235
test edx, edx
je 0x458652
cmp edx, 1
jne 0x45864d
lea edi, [esp + 0xa0]
call fcn.0046dd12
mov eax, dword [esp + 0x9c]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 2
mov ecx, dword [0x58f668]
lea edx, [eax + 0x18]
test ecx, ecx
je 0x458645
call fcn.0046d780
mov dword [edi], edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 4], ecx
mov dword [eax + 0xc], edx
jmp 0x458737
cmp edx, 2
jmp 0x458661
mov byte [esp + 0xcc], 0
add esp, 0x98
ret
jne 0x4586f3
lea edi, [esp + 0xa0]
call fcn.0046dd12
mov eax, dword [0x58f668]
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0xc]
lea edi, [ecx + 0x18]
lea esi, [edx + 0x2c]
lea edx, [ecx + 0x18]
test eax, eax
je 0x4586d4
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edx
mov eax, edi
call fcn.0046d780
mov dword [edi], edx
mov ebx, dword [ecx + 0xc]
mov dword [edi + 4], ebx
lea ebx, [0x4c1400]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00414d90
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
call fcn.0046dd12
mov eax, dword [esp + 0x9c]
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], 2
mov dword [eax + 0xc], edx
jmp 0x458737
lea edi, [esp + 0xa0]
call fcn.0046dd12
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x14]
dec ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 0x2c
add ecx, dword [eax + 0xc]
dec dword [eax + 0x10]
mov dword [eax + 0x14], edx
mov edx, dword [0x58f668]
test edx, edx
je 0x458734
call fcn.0046d780
mov dword [edi], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 4], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004597c0
movzx eax, byte [esp + 8]
test al, al
je 0x4587ac
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.0045a260
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x44]
test eax, eax
setne al
mov byte [esp + 0xcc], al
add esp, 0x98
ret
call fcn.0046c370
jmp fcn.00458200