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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x4585a8
sub esp, 0x8c
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x88], ecx
lea edx, [0x680360]
mov dword [esp], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x84]
mov dword [esp + 8], ebp
call fcn.0040bf90
movzx eax, byte [esp + 0x10]
test al, al
jne 0x458061
lea eax, [0x680360]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
lea ecx, [esp + 0x84]
mov dword [esp + 8], ecx
call fcn.0040c310
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
cmp eax, ecx
je 0x458052
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
movzx ebp, byte [eax + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, dl
xchg ebp, eax
jne 0x458043
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], dl
mov dword [esp], ecx
call fcn.00456780
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x94]
mov dword [esp], edx
call fcn.00456780
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x458034
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x458034
mov eax, dword [esp + 0x90]
movzx ecx, byte [eax + 0xc]
test cl, 1
jne 0x457b41
xor ecx, ecx
jmp 0x457ba0
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp cl, 0x14
ja 0x457b75
cmp cl, 0x12
ja 0x457b66
cmp cl, 0x11
jne 0x457b5c
lea ecx, [eax + 0x2c]
jmp 0x457ba0
cmp cl, 0x12
jne 0x457b9d
lea ecx, [eax + 0x28]
jmp 0x457ba0
cmp cl, 0x13
jne 0x457b70
lea ecx, [eax + 0x24]
jmp 0x457ba0
lea ecx, [eax + 0x30]
jmp 0x457ba0
cmp cl, 0x16
ja 0x457b89
cmp cl, 0x15
jne 0x457b84
lea ecx, [eax + 0x38]
jmp 0x457ba0
lea ecx, [eax + 0x24]
jmp 0x457ba0
cmp cl, 0x17
jne 0x457b93
lea ecx, [eax + 0x24]
jmp 0x457ba0
cmp cl, 0x19
jne 0x457b9d
lea ecx, [eax + 0x30]
jmp 0x457ba0
lea ecx, [eax + 0x20]
mov edx, dword [esp + 0x94]
movzx ebx, byte [edx + 0xc]
test bl, 1
jne 0x457bb4
xor ebx, ebx
jmp 0x457c13
movzx ebx, byte [edx + 0xf]
and ebx, 0x1f
cmp bl, 0x14
ja 0x457be8
cmp bl, 0x12
ja 0x457bd9
cmp bl, 0x11
jne 0x457bcf
lea ebx, [edx + 0x2c]
jmp 0x457c13
cmp bl, 0x12
jne 0x457c10
lea ebx, [edx + 0x28]
jmp 0x457c13
cmp bl, 0x13
jne 0x457be3
lea ebx, [edx + 0x24]
jmp 0x457c13
lea ebx, [edx + 0x30]
jmp 0x457c13
cmp bl, 0x16
ja 0x457bfc
cmp bl, 0x15
jne 0x457bf7
lea ebx, [edx + 0x38]
jmp 0x457c13
lea ebx, [edx + 0x24]
jmp 0x457c13
cmp bl, 0x17
jne 0x457c06
lea ebx, [edx + 0x24]
jmp 0x457c13
cmp bl, 0x19
jne 0x457c10
lea ebx, [edx + 0x30]
jmp 0x457c13
lea ebx, [edx + 0x20]
test ecx, ecx
jne 0x457c23
test ebx, ebx
je 0x457cc2
test ecx, ecx
je 0x457c27
test ebx, ebx
jne 0x457c36
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov dword [esp + 0x50], ebx
mov ecx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00456930
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00457100
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov ecx, dword [esp + 4]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00456930
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00457100
mov eax, dword [esp + 0x20]
cmp dword [esp + 8], eax
jne 0x458025
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x458025
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
movzx ecx, byte [esp + 0x16]
lea ebx, [ecx - 1]
cmp bl, 0xf
jbe 0x458016
cmp cl, 0x15
ja 0x457ef5
cmp cl, 0x12
jbe 0x457e5c
cmp cl, 0x13
jne 0x457d56
movzx ecx, word [eax + 0x22]
cmp word [edx + 0x22], cx
jne 0x457d47
movzx ecx, word [eax + 0x20]
cmp word [edx + 0x20], cx
jne 0x457d47
nop
movzx ebx, byte [eax + 0xc]
test bl, 1
je 0x457d0f
mov ebx, 0x34
jmp 0x457d14
mov ebx, 0x24
nop
movzx ebp, byte [edx + 0xc]
add ebx, eax
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x457d29
mov ebp, 0x34
jmp 0x457d2e
mov ebp, 0x24
mov dword [esp + 0x4c], ebx
movzx ecx, cx
mov dword [esp + 0x1c], ecx
nop
add ebp, edx
mov dword [esp + 0x48], ebp
xor esi, esi
jmp 0x458477
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
cmp cl, 0x14
jne 0x457df4
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00457100
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x20]
mov dword [esp], ebx
call fcn.00457100
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x457de5
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x457de5
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x94]
cmp dword [edx + 0x28], ecx
jne 0x457dd6
mov dword [esp + 0x3c], ecx
xor ebx, ebx
jmp 0x45829f
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov ecx, dword [eax + 0x20]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x98]
mov dword [esp + 8], ecx
call fcn.004579f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x457e1e
xor eax, eax
jmp 0x457e4e
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004579f0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x9c], al
add esp, 0x8c
ret
cmp cl, 0x11
je 0x457ea6
cmp cl, 0x12
jne 0x458070
mov ecx, dword [eax + 0x24]
cmp dword [edx + 0x24], ecx
je 0x457e76
xor eax, eax
jmp 0x457e98
mov eax, dword [eax + 0x20]
mov ecx, dword [edx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004579f0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x9c], al
add esp, 0x8c
ret
mov ecx, dword [eax + 0x20]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x98]
mov dword [esp + 8], ecx
call fcn.004579f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x457ee5
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x94]
cmp dword [ecx + 0x28], eax
sete al
jmp 0x457ee7
xor eax, eax
mov byte [esp + 0x9c], al
add esp, 0x8c
ret
cmp cl, 0x17
ja 0x457f5f
cmp cl, 0x16
jne 0x457f2f
mov eax, dword [eax + 0x20]
mov ecx, dword [edx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004579f0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x9c], al
add esp, 0x8c
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [edx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004579f0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x9c], al
add esp, 0x8c
ret
cmp cl, 0x18
je 0x458007
cmp cl, 0x19
jne 0x458002
mov ecx, dword [edx + 0x28]
cmp dword [eax + 0x28], ecx
jne 0x457ff3
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00457100
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x20]
mov dword [esp], ebx
call fcn.00457100
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x457fe4
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x457fe4
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x4580d5
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
cmp cl, 0x1a
jne 0x458070
mov byte [esp + 0x9c], 1
add esp, 0x8c
ret
mov byte [esp + 0x9c], 1
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 1
add esp, 0x8c
ret
mov byte [esp + 0x9c], 1
add esp, 0x8c
ret
call fcn.00435460
lea eax, [0x6c2b57]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00435cb0
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
and eax, 0x1f
mov dword [esp], eax
call fcn.004359a0
call fcn.00435660
call fcn.004354d0
lea eax, [0x6c2286]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00433dc0
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x458277
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x7c], ecx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x78], ebp
lea esi, [edx + edx*2]
mov dword [esp + 0x38], esi
mov edi, dword [ecx + esi*4]
mov dword [esp], edi
call fcn.00457100
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + edx*4]
mov dword [esp], ebp
call fcn.00457100
mov eax, dword [esp + 0x34]
cmp dword [esp + 8], eax
jne 0x458268
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x458268
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + eax*4 + 4]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
call fcn.004579f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x458259
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call fcn.004571e0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + edx*4]
mov dword [esp], ebp
call fcn.004571e0
mov eax, dword [esp + 0x34]
cmp dword [esp + 8], eax
jne 0x45824a
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x45824a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + eax*4 + 8]
mov ebx, dword [esp + 0x78]
lea ebp, [ebx + eax*4 + 8]
cmp dword [ebp], edx
jne 0x45823b
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebx + eax*4]
movzx ecx, byte [ecx]
test cl, 8
setne cl
movzx eax, byte [eax]
test al, 8
setne al
cmp al, cl
je 0x4580c3
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 1
add esp, 0x8c
ret
mov ebp, dword [esp + 0x28]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x94]
cmp ebx, ecx
jge 0x458447
mov dword [esp + 0x28], ebx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x74], ecx
lea ebp, [ecx + ebx*8]
mov dword [esp + 0x58], ebp
mov esi, dword [edx + 0x24]
mov dword [esp + 0x70], esi
lea edi, [ecx + ebx*8]
mov edi, dword [edi]
mov dword [esp], ebp
mov dword [esp + 4], edi
call fcn.00456930
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
lea edx, [ecx + eax*8]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x6c], ebx
lea ebp, [ecx + eax*8]
mov ebp, dword [ebp]
mov dword [esp], edx
mov dword [esp + 4], ebp
call fcn.00456930
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
call fcn.00457100
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call fcn.00457100
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jne 0x458438
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x458438
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00457310
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call fcn.00457310
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jne 0x458429
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x458429
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x74]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00456bf0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x70]
lea edx, [edx + ecx*8 + 4]
mov edx, dword [edx]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00456bf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004579f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x458286
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 1
add esp, 0x8c
ret
mov edi, dword [esp + 0x30]
lea esi, [edi + 1]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
cmp esi, ecx
jge 0x4584b5
mov dword [esp + 0x30], esi
mov eax, dword [ebx + esi*4]
mov ecx, dword [ebp + esi*4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004579f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x458456
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
nop
movzx ecx, byte [eax + 0xc]
test cl, 1
je 0x4584c6
mov ecx, 0x34
jmp 0x4584cb
mov ecx, 0x24
nop
movzx ebx, word [eax + 0x22]
and ebx, 0x7fff
movzx ebp, word [eax + 0x20]
movzx esi, bp
add ebx, ebp
movzx ebx, bx
sub ebx, esi
lea ebp, [esi - 0x100000]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl esi, 2
sar ebp, 0x1f
and ebp, esi
add eax, ecx
add eax, ebp
movzx ecx, byte [edx + 0xc]
test cl, 1
je 0x458512
mov ecx, 0x34
jmp 0x458517
mov ecx, 0x24
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], eax
movzx ebp, word [edx + 0x20]
lea esi, [ebp - 0x100000]
xchg esi, ebx
neg ebx
xchg esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebp, 2
sar esi, 0x1f
and esi, ebp
add ecx, edx
add ecx, esi
mov dword [esp + 0x40], ecx
xor edx, edx
jmp 0x45855c
mov ebp, dword [esp + 0x2c]
lea edx, [ebp + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
cmp edx, ebx
jge 0x458599
mov dword [esp + 0x2c], edx
mov ebx, dword [eax + edx*4]
mov ebp, dword [ecx + edx*4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
call fcn.004579f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x458549
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 1
add esp, 0x8c
ret
call fcn.0045e260
jmp fcn.004579f0