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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d04e6
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
push 0x5f293c
lea ecx, [esp + 0x38]
call fcn.0048cd50
lea eax, [esp + 0x34]
xor ebx, ebx
push eax
mov ecx, edi
mov dword [esp + 0x84], ebx
call fcn.004b7ac0
cmp dword [esp + 0x50], 0x10
mov esi, eax
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x34], 0x5f1558
jb 0x495eff
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004274fc
add esp, 4
cmp esi, ebx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x34], 0x5f13d0
je 0x495f94
mov ecx, esi
call fcn.004b5810
test eax, eax
jbe 0x495f94
lea ebp, [edi + 0x20]
lea esp, [esp]
push ebx
mov ecx, esi
call fcn.004b5830
mov edx, dword [ebp + 4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov dword [esp + 0x28], edx
call fcn.00507880
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x495f60
cmp eax, ebp
je 0x495f65
call fcn.0044b7ad
mov edx, dword [esp + 0x20]
cmp dword [edi + 4], edx
je 0x495f80
push ebx
mov ecx, esi
call fcn.004b5830
push eax
mov ecx, esi
call fcn.004b6cc0
jmp 0x495f83
add ebx, 1
mov ecx, esi
call fcn.004b5810
cmp ebx, eax
jb 0x495f30
mov edi, dword [esp + 0x14]
xor ebx, ebx
push 0x5f2948
lea ecx, [esp + 0x38]
call fcn.0048cd50
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esp + 0x84], 1
call fcn.004b7af0
mov ebp, 0x10
cmp dword [esp + 0x50], ebp
mov esi, eax
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x34], 0x5f1558
jb 0x495fe6
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004274fc
add esp, 4
cmp esi, ebx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], 0
mov dword [esp + 0x34], 0x5f13d0
je 0x496107
push 0x5f2954
lea ecx, [esp + 0x58]
call fcn.0048cd50
lea edx, [esp + 0x54]
push edx
mov ecx, esi
mov dword [esp + 0x84], 2
call fcn.004b7af0
cmp dword [esp + 0x70], ebp
mov esi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x54], 0x5f1558
jb 0x496058
mov eax, dword [esp + 0x5c]
push eax
call fcn.004274fc
add esp, 4
cmp esi, ebx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], 0
mov dword [esp + 0x54], 0x5f13d0
je 0x496107
mov ecx, esi
call fcn.004b5240
mov ecx, dword [eax + 0xc]
mov esi, dword [ecx]
lea ebp, [eax + 8]
cmp ebp, ebp
mov ebx, dword [ebp + 4]
je 0x496094
call fcn.0044b7ad
cmp esi, ebx
je 0x496105
mov edx, dword [edi + 0x24]
add edi, 0x20
cmp esi, dword [ebp + 4]
mov dword [esp + 0x20], edx
jne 0x4960ac
call fcn.0044b7ad
lea eax, [esi + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.00507880
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x4960c8
cmp eax, edi
je 0x4960cd
call fcn.0044b7ad
mov edx, dword [esp + 0x20]
cmp dword [ebx + 4], edx
jne 0x4960e8
cmp esi, dword [ebp + 4]
jne 0x4960e0
call fcn.0044b7ad
mov esi, dword [esi]
mov edi, dword [esp + 0x14]
jmp 0x496088
cmp esi, dword [ebp + 4]
jne 0x4960f2
call fcn.0044b7ad
mov ecx, dword [esp + 0x18]
push 0
add esi, 8
push esi
call fcn.004ba020
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x20]
push ecx
mov ecx, esi
call fcn.0049d820
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret