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

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x495bc7
sub esp, 0x70
mov edx, dword [esp + 0x74]
test edx, edx
je 0x4957a7
lea ebx, [0x68be40]
cmp edx, ebx
jne 0x4957ad
lea eax, [0x6b22c0]
mov dword [esp], eax
lea eax, [0x557554]
mov dword [esp + 4], eax
call fcn.0047dc60
mov edx, dword [esp + 0x74]
jmp 0x4957ad
lea edx, [0x68a0c0]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x495960
mov dword [esp + 0x58], ecx
mov ebx, dword [edx + 0x38]
test ebx, ebx
je 0x495879
mov ebp, dword [edx + 0x28]
mov dword [esp + 0x54], ebp
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0x7c]
cmp edi, esi
sete al
setg cl
mov esi, dword [esp + 0x78]
cmp esi, ebp
xchg ebp, ebx
setae bl
xchg ebp, ebx
and ebp, eax
or ecx, ebp
test cl, cl
je 0x495881
mov ebp, dword [edx + 0x30]
mov dword [esp + 0x4c], ebp
mov eax, dword [edx + 0x34]
mov dword [esp + 0x48], eax
cmp edi, eax
sete cl
setl al
cmp esi, ebp
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ecx
or eax, ebp
test al, al
je 0x495881
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
movzx ebx, byte [ebx + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
mov byte [esp + 0x9c], bl
add esp, 0x70
ret
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x64], edx
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x4958d0
mov ebx, dword [edx + 0x14]
mov ebp, dword [ebx + 4]
cmp edi, ebp
xchg ebp, ebx
setl bl
xchg ebp, ebx
sete al
cmp dword [ebx], esi
seta dl
and edx, eax
or edx, ebp
test dl, dl
jne 0x4958cc
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], ebx
mov eax, ecx
xor edx, edx
mov ebp, 0x7fffffff
mov eax, 0xffffffff
mov dword [esp + 0x54], eax
mov eax, ecx
jmp 0x4959e4
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call fcn.00495be0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 4]
cmp edx, ecx
jae 0x4959bb
mov ecx, dword [eax + 8]
shl edx, 4
mov ebx, dword [eax + 0x18]
mov ebp, dword [edx + ecx]
mov esi, dword [edx + ecx + 4]
mov edi, dword [edx + ecx + 8]
test ebx, ebx
je 0x49590d
mov eax, dword [eax + 0x14]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x495917
mov ebx, 0x7fffffff
mov eax, 0xffffffff
movzx ecx, byte [edx + ecx + 0xc]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], eax
mov byte [esp + 0x9c], cl
add esp, 0x70
ret
lea eax, [0x546465]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 3
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0x7fffffff
mov dword [esp + 0x94], 0xffffffff
mov byte [esp + 0x9c], 0
add esp, 0x70
ret
mov eax, edx
call fcn.004688d0
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x5c], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], ebp
sub ecx, edx
cmp ecx, 1
jle 0x495a47
mov dword [esp + 0x40], ecx
shr ecx, 0x1f
mov ebp, dword [esp + 0x40]
add ebp, ecx
sar ebp, 1
add ebp, edx
cmp eax, ebp
jbe 0x495bbd
lea ecx, [ebp + ebp*2]
mov eax, dword [ebx + ecx*4]
mov ecx, dword [ebx + ecx*4 + 4]
cmp edi, ecx
xchg edi, ebx
sete bl
xchg edi, ebx
setl bl
cmp esi, eax
xchg esi, ebx
setb bl
xchg esi, ebx
and edi, esi
or ebx, edi
test bl, bl
jne 0x4959c2
mov edx, ebp
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
jmp 0x4959c2
cmp edx, eax
jae 0x495bb4
lea edi, [edx + edx*2]
lea ecx, [ebx + edi*4 + 8]
movzx ecx, byte [ecx]
mov esi, dword [esp + 0x58]
cmp esi, ecx
jbe 0x495bab
mov esi, dword [esp + 0x64]
mov ebp, dword [esi + 8]
shl ecx, 4
dec eax
mov esi, dword [ecx + ebp]
mov dword [esp + 0x68], esi
mov esi, dword [ecx + ebp + 4]
mov dword [esp + 0x58], esi
mov esi, dword [ecx + ebp + 8]
mov dword [esp + 0x44], esi
mov esi, dword [ebx + edi*4]
mov ebx, dword [ebx + edi*4 + 4]
movzx ecx, byte [ecx + ebp + 0xc]
cmp edx, eax
jne 0x495b5b
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x24]
test edx, edx
je 0x495b5b
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x3b], cl
mov eax, dword [eax + 0x20]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
call fcn.00495cb0
movzx eax, byte [esp + 0x35]
test al, al
jne 0x495af5
movzx ecx, byte [esp + 0x3b]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
jmp 0x495b5b
mov eax, dword [esp + 0x20]
movzx ecx, byte [esp + 0x34]
mov byte [esp + 0x3a], cl
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x3a]
mov byte [esp + 0x9c], al
add esp, 0x70
ret
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], esi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], eax
mov byte [esp + 0x9c], cl
add esp, 0x70
ret
mov eax, ecx
mov ecx, esi
call fcn.004688d0
mov ecx, eax
mov eax, edx
call fcn.004688d0
mov ecx, eax
mov eax, ebp
call fcn.004688d0
nop
call fcn.00467460
jmp fcn.00495760