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

Disassembly:
push 0xffffffffffffffff
push 0x5cb548
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov eax, dword [ebp]
push ecx
lea edx, [esp + 0x48]
push ebp
push edx
mov dword [esp + 0x24], eax
call fcn.004577b0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x74], eax
cmp dword [esp + 0x54], eax
jne 0x4578da
mov eax, dword [esp + 0x60]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x4578d0
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00584768
add esp, 4
mov eax, 0xc
jmp 0x457b53
mov ecx, dword [esp + 0x84]
and ecx, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov edi, 8
jmp 0x4578f7
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4579bd
test byte [esp + 0x88], 1
je 0x45795e
push 1
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00467e00
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 1
call fcn.004205f0
test eax, eax
mov eax, dword [esp + 0x3c]
push eax
sete bl
mov byte [esp + 0x78], 0
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x34], edi
jb 0x457952
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00584768
add esp, 4
test bl, bl
jne 0x457b1f
mov eax, dword [esp + 0x14]
test byte [esp + 0x88], 2
je 0x4579bd
push 1
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00467e80
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 2
call fcn.004205f0
test eax, eax
mov eax, dword [esp + 0x3c]
push eax
sete bl
mov byte [esp + 0x78], 0
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x34], edi
jb 0x4579b1
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00584768
add esp, 4
test bl, bl
jne 0x457b1f
mov eax, dword [esp + 0x14]
test byte [esp + 0x84], 2
je 0x457af6
test byte [esp + 0x88], 1
je 0x457a2a
push 2
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00467e00
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 3
call fcn.004205f0
test eax, eax
mov eax, dword [esp + 0x3c]
push eax
sete bl
mov byte [esp + 0x78], 0
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x34], edi
jb 0x457a1e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00584768
add esp, 4
test bl, bl
jne 0x457b1f
mov eax, dword [esp + 0x14]
test byte [esp + 0x88], 2
je 0x457af6
push 2
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00467e80
add esp, 0xc
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
mov byte [esp + 0x74], 4
mov ecx, esi
cmp edx, edi
jae 0x457a5f
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
add eax, eax
cmp word [eax + ecx - 2], 0x2e
lea ecx, [eax + ecx - 2]
sete bl
test bl, bl
je 0x457aa2
mov ecx, esi
cmp edx, edi
jae 0x457a80
lea ecx, [esp + 0x20]
lea eax, [eax + ecx - 2]
mov ecx, esi
cmp edx, edi
jae 0x457a8e
lea ecx, [esp + 0x20]
test eax, eax
je 0x457a96
sub eax, ecx
sar eax, 1
push 1
push eax
lea ecx, [esp + 0x28]
call fcn.00401210
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
call fcn.004205f0
test eax, eax
jne 0x457ad1
test bl, bl
je 0x457b16
mov eax, dword [ebp]
cmp word [eax], 0x2e
je 0x457b12
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0
call fcn.00405eb0
jmp 0x457af6
mov ecx, dword [esp + 0x3c]
push ecx
mov byte [esp + 0x78], 0
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x34], edi
jb 0x457af6
mov edx, dword [esp + 0x20]
push edx
call fcn.00584768
add esp, 4
lea eax, [esp + 0x14]
push eax
call fcn.004674b0
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 0xc
jl 0x4578f3
jmp 0x457b23
add dword [ebp], 2
lea ecx, [esp + 0x20]
call fcn.00405eb0
mov eax, dword [esp + 0x14]
cmp eax, 0xc
jne 0x457b2f
mov ecx, dword [esp + 0x18]
mov dword [ebp], ecx
mov edx, dword [esp + 0x60]
push edx
mov esi, eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x58], edi
jb 0x457b51
mov eax, dword [esp + 0x44]
push eax
call fcn.00584768
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00585b7b
add esp, 0x64
ret