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

Disassembly:
mov ecx, dword [0x58f5c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4937e5
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00493360
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4935cd
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x4934f4
mov edx, dword [eax + 0x28]
mov dword [esp + 0x5c], edx
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x58], ebx
mov ebp, dword [esp + 0x78]
cmp ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
mov ebx, dword [esp + 0x74]
cmp ebx, edx
setae dl
and edx, edi
or edx, esi
test dl, dl
je 0x4934fc
mov edx, dword [eax + 0x30]
mov dword [esp + 0x54], edx
mov esi, dword [eax + 0x34]
mov dword [esp + 0x50], esi
cmp ebp, esi
xchg edi, ebx
setl bl
xchg edi, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ebx, edx
setb dl
and edx, esi
or edx, edi
test dl, dl
je 0x4934fc
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
movzx ecx, byte [ecx + 0xc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x94], eax
mov byte [esp + 0x98], cl
add esp, 0x6c
ret
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x49354f
mov edx, dword [eax + 0x14]
mov esi, dword [edx + 4]
cmp ebp, esi
xchg esi, ebx
setl bl
xchg esi, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
cmp dword [edx], ebx
seta al
and eax, edi
or eax, esi
test al, al
jne 0x49354b
mov dword [esp + 0x64], edx
mov dword [esp + 0x4c], ecx
mov eax, ecx
xor esi, esi
mov edi, 0x7fffffff
mov eax, 0xffffffff
mov dword [esp + 0x5c], eax
mov eax, ecx
jmp 0x493643
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004937f0
mov eax, dword [esp + 4]
shl eax, 4
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x18]
add eax, dword [ecx + 8]
test edx, edx
je 0x493576
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
jmp 0x493580
mov edx, 0x7fffffff
mov ecx, 0xffffffff
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x80000000
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov byte [esp + 0x98], al
add esp, 0x6c
ret
lea eax, [0x4c7e84]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 3
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x80000000
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x94], 0x7fffffff
mov byte [esp + 0x98], 0
add esp, 0x6c
ret
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
mov ebx, edi
mov edi, eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
sub ecx, esi
cmp ecx, 1
jle 0x493694
mov ecx, dword [esp + 0x3c]
lea eax, [esi + ecx]
shr eax, 1
mov dword [esp + 0x48], eax
lea eax, [eax + eax*2]
mov ecx, dword [edx + eax*4]
mov eax, dword [edx + eax*4 + 4]
cmp ebp, eax
xchg ebp, ebx
setl bl
xchg ebp, ebx
sete dl
cmp ebx, ecx
setb bl
and ebx, edx
or ebx, ebp
test bl, bl
je 0x493684
mov edx, dword [esp + 0x48]
jmp 0x493625
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov eax, edi
mov ecx, dword [esp + 0x5c]
jmp 0x493625
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 0x68]
mov ebp, dword [ecx + 8]
lea ebx, [esi + esi*2]
lea edi, [edx + ebx*4 + 8]
movzx edi, byte [edi]
shl edi, 4
dec eax
mov ecx, dword [ebp + edi]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + edi + 4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + edi + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + ebx*4 + 4]
mov edx, dword [edx + ebx*4]
movzx ebx, byte [ebp + edi + 0xc]
cmp esi, eax
jne 0x493798
mov eax, dword [esp + 0x68]
mov ebp, dword [eax + 0x24]
test ebp, ebp
je 0x493798
mov byte [esp + 0x3b], bl
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
mov eax, dword [eax + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
call fcn.00493900
movzx eax, byte [esp + 0x35]
test al, al
jne 0x493733
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
movzx ebx, byte [esp + 0x3b]
jmp 0x493798
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
movzx ebp, byte [esp + 0x34]
xchg ebp, eax
mov byte [esp + 0x3a], al
xchg ebp, eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebp
movzx eax, byte [esp + 0x3a]
mov byte [esp + 0x98], al
add esp, 0x6c
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
mov byte [esp + 0x98], bl
add esp, 0x6c
ret
call fcn.0046c370
jmp fcn.00493400