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

Disassembly:
push 0xffffffffffffffff
push 0x5fc819
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov esi, edx
xor edi, edi
mov eax, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], esi
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], edi
call fcn.00447d80
test eax, eax
jbe 0x49569e
jmp 0x49549c
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 8]
push 0
push eax
call dword [0x61012c]
test eax, eax
je 0x4956c1
mov ecx, dword [ebp + 4]
test ecx, ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], eax
je 0x4954d6
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4954dc
call dword [0x6105e8]
mov eax, dword [ebp + 4]
lea ebx, [edi*4]
add eax, ebx
push eax
lea eax, [esp + 0x3c]
call fcn.004a75a0
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x495500
cmp eax, dword [esp + 0x20]
je 0x495506
call dword [0x6105e8]
mov ecx, dword [esp + 0x34]
cmp dword [edi + 4], ecx
je 0x495562
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x495524
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x49552a
call dword [0x6105e8]
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x20]
add eax, ebx
push eax
lea eax, [esp + 0x44]
call fcn.004a75a0
mov edi, eax
cmp dword [edi], 0
jne 0x49554a
call dword [0x6105e8]
mov edx, dword [edi]
mov eax, dword [edi + 4]
cmp eax, dword [edx + 4]
jne 0x49555a
call dword [0x6105e8]
mov ecx, dword [edi + 4]
mov edi, dword [ecx + 0x10]
jmp 0x495566
mov edi, dword [esp + 0x2c]
mov ecx, dword [ebp + 4]
test ecx, ecx
mov esi, dword [esp + 0x1c]
je 0x49557d
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x495583
call dword [0x6105e8]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + ebx]
add eax, ebx
mov edx, edi
call fcn.004956d0
test al, al
jne 0x4955a2
add esi, 1
mov dword [esp + 0x1c], esi
jmp 0x495676
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4955b5
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4955bb
call dword [0x6105e8]
mov eax, dword [ebp + 4]
mov edx, dword [eax + ebx]
add eax, ebx
push edx
lea edi, [esp + 0x4c]
call fcn.00405ca0
add esp, 4
mov eax, edi
push eax
mov dword [esp + 0x74], 0
call fcn.004d7a10
add esp, 4
test al, al
je 0x495620
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4955fa
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x495600
call dword [0x6105e8]
mov eax, dword [ebp + 4]
mov edx, dword [eax + ebx]
add eax, ebx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.0043d340
test al, al
je 0x495620
mov byte [esp + 0x1b], 1
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
jbe 0x49562e
call dword [0x6105e8]
add edi, ebx
cmp edi, dword [ebp + 8]
ja 0x49563a
cmp edi, dword [ebp + 4]
jae 0x495640
call dword [0x6105e8]
mov eax, dword [ebp + 8]
lea ecx, [edi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x495660
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edi
call dword [0x6105f0]
add esp, 0x10
add dword [ebp + 8], 0xfffffffc
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], 0xffffffff
call dword [0x6105a0]
mov eax, ebp
call fcn.00447d80
cmp esi, eax
jb 0x495494
cmp byte [esp + 0x1b], 0
je 0x49569e
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
push 0
push 0
push ecx
call dword [0x6109cc]
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005e693f
add esp, 0x60
ret 8
mov eax, 0x80004004
jmp 0x4956a0