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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62fd50
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0x14]
mov dword [esi + 0xc], ebx
dec ebx
mov ebx, dword [ebp + 0x10]
je 0x494bf2
cmp ebx, 0xffffffff
je 0x494b65
cmp dword [esi + 0x14], 0
jne 0x494b65
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x10]
cmp eax, 0xfffffffe
je 0x494b87
cmp eax, 0xffffffff
jne 0x494c9b
lea ecx, [esp + 0x2c]
call fcn.00476560
mov ecx, dword [esi + 4]
add ecx, 0x30
jmp 0x494be2
mov edx, dword [esi + 4]
mov ecx, ebx
cmp dword [edx + 0x7c], ebx
mov eax, dword [edx + 0x78]
cmovb ecx, dword [edx + 0x7c]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx + 0x80]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00475f70
mov edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [edx + 0x80], ecx
lea ecx, [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [edx + 0x84], eax
mov edx, 1
call fcn.0047e2d0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
add ecx, 8
push eax
call fcn.0047cc20
cmp dword [esi + 0x14], 0
jne 0x494cb5
mov ecx, dword [esi + 4]
lea eax, [esi + 0x14]
push 0
push eax
push 0
push 0
push 0x476240
mov dword [esi + 0x1c], 0
call fcn.00476090
mov dword [esi + 0x10], eax
cmp eax, 0xfffffffe
jne 0x494c83
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x494db7
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 4]
call fcn.004fa540
mov ecx, dword [edi + 0x84]
xor ebx, ebx
add esp, 0xc
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jbe 0x494c65
mov eax, dword [esi + 4]
xor edx, edx
xor ecx, ecx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x494be8
mov edx, dword [edi + 0x80]
mov eax, dword [esi + 4]
add edx, ebx
sub ecx, ebx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x494be8
cmp eax, 0xffffffff
je 0x494d07
cmp eax, 1
je 0x494d07
cmp dword [ebp + 0x14], 0
jne 0x494cd3
mov ebx, dword [ebp + 0x10]
jmp 0x494b4e
cmp eax, 1
jne 0x494cb5
lea ecx, [esp + 0x3c]
call fcn.00476560
mov ecx, dword [esi + 4]
push eax
add ecx, 0x30
call fcn.0047cc20
mov ecx, dword [esi + 4]
lea eax, [esi + 0x14]
push eax
call fcn.00475fc0
mov ecx, dword [esi + 0x30]
mov edx, eax
test ecx, ecx
jne 0x494e6e
call fcn.0058caef
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [esp + 0x24], 0
mov eax, dword [eax + 0x78]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
call fcn.00499f30
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, 1
lea ecx, [esp + 0x1c]
call fcn.0047e2d0
mov ecx, dword [esi + 4]
add ecx, 0x30
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
cmp eax, dword [esp + 0x1c]
jne 0x494d9c
cmp edx, dword [esp + 0x20]
jne 0x494d9c
mov edx, 2
lea ecx, [esp + 0x14]
call fcn.0047e2d0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
add ecx, 0x30
call fcn.0047cc20
mov edi, dword [esi + 4]
push dword [edi + 0x68]
push dword [edi + 0x64]
push dword [edi + 4]
call fcn.004fa3b0
xor ecx, ecx
lea edx, [esp + 0x28]
add esp, 0xc
test eax, eax
cmovg ecx, eax
mov eax, dword [edi + 0x64]
cmp dword [edi + 0x68], ecx
push esi
cmovb ecx, dword [edi + 0x68]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi]
mov dword [esp + 0x20], eax
call fcn.0049a060
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call fcn.00499fd0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push ecx
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], SysStringLen
call fcn.00474150
add esp, 4
lea ecx, [esp + 0x28]
push eax
call fcn.00481340
mov ecx, dword [esi + 4]
add ecx, 8
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
cmp eax, dword [esp + 0x24]
jne 0x494d9c
cmp edx, dword [esp + 0x28]
jne 0x494d9c
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xffffffff
push eax
push ecx
push 2
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], SysStringLen
call fcn.00474150
add esp, 4
lea ecx, [esp + 0x20]
push eax
call fcn.00481340
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
add ecx, 8
call fcn.0047cc20
mov ecx, dword [esi + 4]
push esi
mov eax, dword [ecx + 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x7c]
mov ecx, dword [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
call fcn.00499f30
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10