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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62c790
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x6bae70]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
dec eax
je 0x494319
cmp ebx, 0xffffffff
jne 0x494257
xor ebx, ebx
jmp 0x49426d
cmp byte [esi + 0x1c], 0
jne 0x49426d
movq xmm0, qword [ebp + 8]
mov eax, dword [ebp + 0x10]
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x14]
cmp eax, 0xfffffffe
je 0x49428f
cmp eax, 0xffffffff
jne 0x49442c
lea ecx, [esp + 0x3c]
call fcn.004369a0
mov ecx, dword [esi + 4]
add ecx, 0x30
jmp 0x494309
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 edi, dword [esi + 4]
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 4]
call fcn.00561120
mov edx, dword [edi + 0x84]
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovg ecx, eax
mov eax, edx
cmp ecx, edx
cmovb eax, ecx
mov ecx, dword [edi + 0x80]
add ecx, eax
sub edx, eax
mov eax, dword [esi + 4]
mov dword [eax + 0x80], ecx
lea ecx, [esp + 0x34]
mov dword [eax + 0x84], edx
mov edx, 1
call fcn.00445700
mov ecx, dword [esi + 4]
lea eax, [esp + 0x34]
add ecx, 8
push eax
call fcn.00443da0
cmp byte [esi + 0x1c], 0
jne 0x49461a
mov ecx, dword [esi + 0xc]
lea edi, [esi + 0x18]
test ecx, ecx
jne 0x49435b
mov eax, dword [0x6c9a40]
mov dword [esp + 0x24], ecx
mov byte [esp + 0x28], cl
test al, 1
jne 0x494346
or eax, 1
mov ecx, 0x6c9a30
mov dword [0x6c9a40], eax
call fcn.00424d50
movq xmm0, qword [esp + 0x24]
xor eax, eax
movq qword [edi], xmm0
mov dword [edi + 8], 0x6c9a30
jmp 0x494371
lea eax, [esi + 0x24]
push eax
push edi
push ecx
push dword [esi + 8]
mov ecx, dword [esi + 4]
push 0x436680
call fcn.00436440
mov dword [esi + 0x14], eax
cmp eax, 0xfffffffe
jne 0x4943d2
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x494536
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 4]
call fcn.00561120
mov edx, dword [edi + 0x84]
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovg ecx, eax
mov eax, edx
cmp ecx, edx
cmovb eax, ecx
mov ecx, dword [edi + 0x80]
add ecx, eax
sub edx, eax
mov eax, dword [esi + 4]
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], edx
jmp 0x49430f
cmp eax, 0xffffffff
je 0x494478
cmp eax, 1
je 0x494478
cmp dword [ebp + 0x18], 0
je 0x49424e
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
push ecx
mov eax, dword [eax + 0x78]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [ecx + 4]
mov dword [esp + 0x24], 0
mov ecx, dword [ecx]
push eax
add ecx, 0x14
call fcn.00495510
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 1
jne 0x494446
lea ecx, [esp + 0x44]
call fcn.004369a0
mov ecx, dword [esi + 4]
push eax
add ecx, 0x30
call fcn.00443da0
cmp byte [esi + 0x1c], 0
je 0x494461
mov ecx, dword [esi + 4]
lea eax, [esi + 0x18]
push eax
xor edi, edi
call fcn.00436380
push edi
push edi
jmp 0x49462a
mov ecx, dword [esi + 4]
lea eax, [esi + 0x18]
mov edi, dword [esi + 0x24]
push eax
call fcn.00436380
push 0
push edi
jmp 0x49462a
mov edx, 1
lea ecx, [esp + 0x14]
call fcn.00445700
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
cmp eax, dword [esp + 0x14]
jne 0x494514
cmp edx, dword [esp + 0x18]
jne 0x494514
mov edx, 2
lea ecx, [esp + 0x34]
call fcn.00445700
mov ecx, dword [esi + 4]
lea eax, [esp + 0x34]
push eax
add ecx, 0x30
call fcn.00443da0
mov edi, dword [esi + 4]
push dword [edi + 0x68]
push dword [edi + 0x64]
push dword [edi + 4]
call fcn.00560f90
xor ecx, ecx
mov byte [esp + 0x20], 0
add esp, 0xc
lea edx, [esp + 0x1c]
test eax, eax
cmovg ecx, eax
mov eax, dword [edi + 0x64]
cmp dword [edi + 0x68], ecx
push esi
cmovb ecx, dword [edi + 0x68]
push dword [esp + 0x18]
mov dword [esp + 0x28], ecx
push ecx
mov ecx, dword [esi]
mov dword [esp + 0x28], eax
call fcn.00495700
add esp, 0xc
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ecx + 0x38]
mov ecx, dword [ecx + 0x30]
push esi
push eax
call fcn.00495630
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push ecx
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], SysStringLen
call fcn.0042f980
add esp, 4
lea ecx, [esp + 0x38]
push eax
call fcn.00447d90
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
cmp eax, dword [esp + 0x34]
jne 0x4945f8
cmp edx, dword [esp + 0x38]
jne 0x4945f8
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0xffffffff
push eax
push ecx
push 2
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], SysStringLen
call fcn.0042f980
add esp, 4
lea ecx, [esp + 0x28]
push eax
call fcn.00447d90
mov ecx, dword [esi + 4]
lea eax, [esp + 0x24]
push eax
add ecx, 8
call fcn.00443da0
mov ecx, dword [esi + 4]
push esi
mov eax, dword [ecx + 0x78]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x7c]
mov ecx, dword [esi]
push ecx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
lea eax, [ecx + 4]
mov ecx, dword [ecx]
push eax
add ecx, 0x14
call fcn.00495510
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ecx + 0x10]
mov ecx, dword [ecx + 8]
push esi
push eax
call fcn.00495630
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esi + 4]
lea eax, [esi + 0x18]
push eax
call fcn.00436380
push 0
push 0
push eax
lea ecx, [esi + 0x28]
call fcn.00482c00
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14