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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebde6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55a3d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
jmp 0x495eb5
mov ebx, dword [ebp - 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495ed8
mov eax, dword [esi + 4]
mov dl, byte [eax]
cmp dl, 0x80
jae 0x495ed8
movzx edx, dl
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 0x14], edx
mov dword [esi + 8], ecx
mov eax, edx
jmp 0x495f1d
cmp ecx, 2
jl 0x495f08
mov eax, dword [esi + 4]
cmp byte [eax + 1], 0x80
jae 0x495f08
movzx edx, byte [eax]
movzx edi, byte [eax + 1]
and edx, 0x7f
shl edi, 7
add edx, edi
add eax, 2
add ecx, 0xfffffffe
mov dword [esi + 4], eax
mov dword [esi + 0x14], edx
mov dword [esi + 8], ecx
mov eax, edx
jmp 0x495f1d
lea edi, [esi + 0x14]
push edi
mov ecx, esi
call fcn.00487320
test al, al
je 0x4964e2
mov eax, dword [edi]
xor edi, edi
cmp eax, edi
je 0x496496
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 7
ja case.default.0x495f36
jmp dword [ecx*4 + 0x4964ec]
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x495f36
or dword [ebx + 0xe0], 1
cmp dword [ebx + 0xc], 0x552a68
jne 0x495f7d
push 0x1c
call fcn.004b5bb8
add esp, 4
cmp eax, edi
je 0x495f78
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], edi
mov byte [eax], 0
jmp 0x495f7a
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
push eax
push esi
call fcn.00483b70
add esp, 8
test al, al
je 0x4964cc
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x495eb5
mov eax, dword [esi + 4]
cmp byte [eax], 0x12
jne 0x495eb5
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x495fc1
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x495f36
or dword [ebx + 0xe0], 2
cmp dword [ebx + 0x10], 0x552a84
jne 0x495ff3
push 0x1c
call fcn.004b5bb8
add esp, 4
cmp eax, edi
je 0x495fee
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], edi
mov byte [eax], 0
jmp 0x495ff0
xor eax, eax
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x10]
push eax
push esi
call fcn.00483b70
add esp, 8
test al, al
je 0x4964cc
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x495eb5
mov eax, dword [esi + 4]
cmp byte [eax], 0x1a
jne 0x495eb5
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x496037
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x495f36
lea edi, [ebx + 0x14]
lea ebx, [ebx]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jge 0x496056
mov ecx, dword [edi + 8]
mov ebx, dword [ecx + eax*4]
inc eax
mov dword [edi + 0xc], eax
jmp 0x49609a
mov eax, dword [edi + 0x14]
cmp ecx, eax
jne 0x496066
inc eax
push eax
mov ecx, edi
call fcn.0048a1f0
inc dword [edi + 0x10]
push 0x1c
call fcn.004b5bb8
add esp, 4
test eax, eax
je 0x49608a
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x49608c
xor eax, eax
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xc]
mov ebx, eax
mov edx, dword [esi + 8]
test edx, edx
je 0x4960bb
mov eax, dword [esi + 4]
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4960bb
movzx ecx, cl
inc eax
dec edx
mov dword [ebp + 8], ecx
mov dword [esi + 4], eax
mov dword [esi + 8], edx
jmp 0x4960ce
lea edx, [ebp + 8]
push edx
mov ecx, esi
call fcn.00487320
test al, al
je 0x4964cc
mov eax, dword [ebp + 8]
push eax
push ebx
mov ecx, esi
call fcn.00487450
test al, al
je 0x4964cc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495eb2
mov eax, dword [esi + 4]
cmp byte [eax], 0x1a
jne 0x496102
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x496040
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495eb2
mov eax, dword [esi + 4]
cmp byte [eax], 0x22
jne 0x495eb2
mov ebx, dword [ebp - 0x10]
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x496134
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x495f36
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x4c]
cmp ecx, eax
jge 0x49614a
mov edx, dword [ebx + 0x44]
mov eax, dword [edx + ecx*4]
inc ecx
mov dword [ebx + 0x48], ecx
jmp 0x496197
mov ecx, dword [ebx + 0x50]
cmp eax, ecx
jne 0x49615b
inc ecx
push ecx
lea ecx, [ebx + 0x3c]
call fcn.0048a1f0
inc dword [ebx + 0x4c]
push 0xe0
call fcn.004b5bb8
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x496182
mov ecx, eax
call fcn.0048a8a0
jmp 0x496184
xor eax, eax
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebx + 0x44]
mov dword [edx + ecx*4], eax
inc dword [ebx + 0x48]
mov dword [ebp - 4], 0xffffffff
push eax
push esi
call fcn.00495d10
add esp, 8
test al, al
je 0x4964cc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495eb5
mov eax, dword [esi + 4]
cmp byte [eax], 0x22
jne 0x4961c9
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x496134
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495eb5
mov eax, dword [esi + 4]
cmp byte [eax], 0x2a
jne 0x495eb5
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x4961f8
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x495f36
mov ecx, dword [ebx + 0x70]
mov eax, dword [ebx + 0x74]
cmp ecx, eax
jge 0x49620e
mov edx, dword [ebx + 0x6c]
mov eax, dword [edx + ecx*4]
inc ecx
mov dword [ebx + 0x70], ecx
jmp 0x496236
mov ecx, dword [ebx + 0x78]
cmp eax, ecx
jne 0x49621f
inc ecx
push ecx
lea ecx, [ebx + 0x64]
call fcn.0048a1f0
inc dword [ebx + 0x74]
lea ecx, [ebx + 0x64]
call fcn.0046e510
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x6c]
mov dword [edx + ecx*4], eax
inc dword [ebx + 0x70]
push eax
push esi
call fcn.00494860
add esp, 8
test al, al
je 0x4964cc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495eb5
mov eax, dword [esi + 4]
cmp byte [eax], 0x2a
jne 0x496265
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x4961f8
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495eb5
mov eax, dword [esi + 4]
cmp byte [eax], 0x32
jne 0x495eb5
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x4962a0
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x495f36
jmp 0x4962a0
mov ecx, dword [ebx + 0x98]
mov eax, dword [ebx + 0x9c]
cmp ecx, eax
jge 0x4962c2
mov edx, dword [ebx + 0x94]
mov eax, dword [edx + ecx*4]
inc ecx
mov dword [ebx + 0x98], ecx
jmp 0x4962ff
mov ecx, dword [ebx + 0xa0]
cmp eax, ecx
jne 0x4962d9
inc ecx
push ecx
lea ecx, [ebx + 0x8c]
call fcn.0048a1f0
inc dword [ebx + 0x9c]
lea ecx, [ebx + 0x8c]
call fcn.0046e580
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0x94]
mov dword [edx + ecx*4], eax
inc dword [ebx + 0x98]
push eax
push esi
call fcn.004948f0
add esp, 8
test al, al
je 0x4964cc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495eb5
mov eax, dword [esi + 4]
cmp byte [eax], 0x32
jne 0x496331
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x4962a0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495eb5
mov eax, dword [esi + 4]
cmp byte [eax], 0x3a
jne 0x495eb5
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x496360
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x495f36
mov ecx, dword [ebx + 0xc0]
mov eax, dword [ebx + 0xc4]
cmp ecx, eax
jge 0x496382
mov edx, dword [ebx + 0xbc]
mov eax, dword [edx + ecx*4]
inc ecx
mov dword [ebx + 0xc0], ecx
jmp 0x4963bf
mov ecx, dword [ebx + 0xc8]
cmp eax, ecx
jne 0x496399
inc ecx
push ecx
lea ecx, [ebx + 0xb4]
call fcn.0048a1f0
inc dword [ebx + 0xc4]
lea ecx, [ebx + 0xb4]
call fcn.0046e5f0
mov ecx, dword [ebx + 0xc0]
mov edx, dword [ebx + 0xbc]
mov dword [edx + ecx*4], eax
inc dword [ebx + 0xc0]
push eax
push esi
call fcn.004935c0
add esp, 8
test al, al
je 0x4964cc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495eb5
mov eax, dword [esi + 4]
cmp byte [eax], 0x3a
jne 0x4963f1
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x496360
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495eb5
mov eax, dword [esi + 4]
cmp byte [eax], 0x42
jne 0x495eb5
inc eax
dec ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x496420
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x495f36
or dword [ebx + 0xe0], 0x80
cmp dword [ebx + 0xdc], 0
jne 0x496463
push 0x64
call fcn.004b5bb8
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x496454
mov ecx, eax
call fcn.0048aea0
jmp 0x496456
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0xdc], eax
mov eax, dword [ebx + 0xdc]
push eax
push esi
call fcn.00491d30
add esp, 8
test al, al
je 0x4964cc
cmp dword [esi + 8], 0
jne 0x495eb5
cmp dword [esi + 0x20], 0
je 0x495eb5
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, eax
and dl, 7
cmp dl, 4
je 0x496496
lea ecx, [ebx + 4]
push ecx
push eax
push esi
call fcn.00485500
add esp, 0xc
test al, al
jne 0x495eb5
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esi + 0x14], 0
jmp 0x496496