Function at 0x4574f0
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 0x4580a8
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, [0x640780]
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 0x457b61
lea eax, [0x640780]
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 0x457b52
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 0x457b43
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], dl
mov dword [esp], ecx
call fcn.00456280
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.00456280
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x457b34
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 0x457b34
mov eax, dword [esp + 0x90]
movzx ecx, byte [eax + 0xc]
test cl, 1
jne 0x457641
xor ecx, ecx
jmp 0x4576a0
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp cl, 0x14
ja 0x457675
cmp cl, 0x12
ja 0x457666
cmp cl, 0x11
jne 0x45765c
lea ecx, [eax + 0x2c]
jmp 0x4576a0
cmp cl, 0x12
jne 0x45769d
lea ecx, [eax + 0x28]
jmp 0x4576a0
cmp cl, 0x13
jne 0x457670
lea ecx, [eax + 0x24]
jmp 0x4576a0
lea ecx, [eax + 0x30]
jmp 0x4576a0
cmp cl, 0x16
ja 0x457689
cmp cl, 0x15
jne 0x457684
lea ecx, [eax + 0x38]
jmp 0x4576a0
lea ecx, [eax + 0x24]
jmp 0x4576a0
cmp cl, 0x17
jne 0x457693
lea ecx, [eax + 0x24]
jmp 0x4576a0
cmp cl, 0x19
jne 0x45769d
lea ecx, [eax + 0x30]
jmp 0x4576a0
lea ecx, [eax + 0x20]
mov edx, dword [esp + 0x94]
movzx ebx, byte [edx + 0xc]
test bl, 1
jne 0x4576b4
xor ebx, ebx
jmp 0x457713
movzx ebx, byte [edx + 0xf]
and ebx, 0x1f
cmp bl, 0x14
ja 0x4576e8
cmp bl, 0x12
ja 0x4576d9
cmp bl, 0x11
jne 0x4576cf
lea ebx, [edx + 0x2c]
jmp 0x457713
cmp bl, 0x12
jne 0x457710
lea ebx, [edx + 0x28]
jmp 0x457713
cmp bl, 0x13
jne 0x4576e3
lea ebx, [edx + 0x24]
jmp 0x457713
lea ebx, [edx + 0x30]
jmp 0x457713
cmp bl, 0x16
ja 0x4576fc
cmp bl, 0x15
jne 0x4576f7
lea ebx, [edx + 0x38]
jmp 0x457713
lea ebx, [edx + 0x24]
jmp 0x457713
cmp bl, 0x17
jne 0x457706
lea ebx, [edx + 0x24]
jmp 0x457713
cmp bl, 0x19
jne 0x457710
lea ebx, [edx + 0x30]
jmp 0x457713
lea ebx, [edx + 0x20]
test ecx, ecx
jne 0x457723
test ebx, ebx
je 0x4577c2
test ecx, ecx
je 0x457727
test ebx, ebx
jne 0x457736
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.00456430
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00456c00
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.00456430
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00456c00
mov eax, dword [esp + 0x20]
cmp dword [esp + 8], eax
jne 0x457b25
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 0x457b25
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
movzx ecx, byte [esp + 0x16]
lea ebx, [ecx - 1]
cmp bl, 0xf
jbe 0x457b16
cmp cl, 0x15
ja 0x4579f5
cmp cl, 0x12
jbe 0x45795c
cmp cl, 0x13
jne 0x457856
movzx ecx, word [eax + 0x22]
cmp word [edx + 0x22], cx
jne 0x457847
movzx ecx, word [eax + 0x20]
cmp word [edx + 0x20], cx
jne 0x457847
nop
movzx ebx, byte [eax + 0xc]
test bl, 1
je 0x45780f
mov ebx, 0x34
jmp 0x457814
mov ebx, 0x24
nop
movzx ebp, byte [edx + 0xc]
add ebx, eax
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x457829
mov ebp, 0x34
jmp 0x45782e
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 0x457f77
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
cmp cl, 0x14
jne 0x4578f4
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00456c00
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.00456c00
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x4578e5
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 0x4578e5
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x94]
cmp dword [edx + 0x28], ecx
jne 0x4578d6
mov dword [esp + 0x3c], ecx
xor ebx, ebx
jmp 0x457d9f
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.004574f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45791e
xor eax, eax
jmp 0x45794e
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.004574f0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x9c], al
add esp, 0x8c
ret
cmp cl, 0x11
je 0x4579a6
cmp cl, 0x12
jne 0x457b70
mov ecx, dword [eax + 0x24]
cmp dword [edx + 0x24], ecx
je 0x457976
xor eax, eax
jmp 0x457998
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.004574f0
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.004574f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4579e5
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x94]
cmp dword [ecx + 0x28], eax
sete al
jmp 0x4579e7
xor eax, eax
mov byte [esp + 0x9c], al
add esp, 0x8c
ret
cmp cl, 0x17
ja 0x457a5f
cmp cl, 0x16
jne 0x457a2f
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.004574f0
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.004574f0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x9c], al
add esp, 0x8c
ret
cmp cl, 0x18
je 0x457b07
cmp cl, 0x19
jne 0x457b02
mov ecx, dword [edx + 0x28]
cmp dword [eax + 0x28], ecx
jne 0x457af3
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00456c00
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.00456c00
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x457ae4
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 0x457ae4
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x457bd5
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
cmp cl, 0x1a
jne 0x457b70
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.00435240
lea eax, [0x67cc65]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00435a90
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
and eax, 0x1f
mov dword [esp], eax
call fcn.00435780
call fcn.00435440
call fcn.004352b0
lea eax, [0x67c4c0]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00433ba0
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x457d77
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.00456c00
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.00456c00
mov eax, dword [esp + 0x34]
cmp dword [esp + 8], eax
jne 0x457d68
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 0x457d68
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.004574f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x457d59
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call fcn.00456ce0
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.00456ce0
mov eax, dword [esp + 0x34]
cmp dword [esp + 8], eax
jne 0x457d4a
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 0x457d4a
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 0x457d3b
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 0x457bc3
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 0x457f47
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.00456430
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.00456430
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
call fcn.00456c00
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.00456c00
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jne 0x457f38
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 0x457f38
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00456e10
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.00456e10
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jne 0x457f29
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 0x457f29
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.004566f0
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.004566f0
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.004574f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x457d86
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 0x457fb5
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.004574f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x457f56
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
nop
movzx ecx, byte [eax + 0xc]
test cl, 1
je 0x457fc6
mov ecx, 0x34
jmp 0x457fcb
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 0x458012
mov ecx, 0x34
jmp 0x458017
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 0x45805c
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 0x458099
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.004574f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x458049
mov byte [esp + 0x9c], 0
add esp, 0x8c
ret
mov byte [esp + 0x9c], 1
add esp, 0x8c
ret
call fcn.0045dbb0
jmp fcn.004574f0