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

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4fa8e4]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x124]
push esi
xor esi, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
push edi
mov edi, dword [esp + 0x128]
test eax, eax
jne 0x494fa1
lea eax, [esp + 0x30]
push eax
call fcn.00495a00
add esp, 4
jmp 0x494fc4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x130]
push 5
mov dword [esp + 0x60], eax
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00495930
add esp, 0xc
mov dword [esp + 0x60], eax
test eax, eax
jne 0x494ffe
pop edi
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00499a66
add esp, 0x11c
ret
push ebx
push ebp
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00494280
mov ebx, eax
mov ebp, edx
mov ecx, ebx
add esp, 8
or ecx, ebp
je 0x495184
push 0
push ebp
push ebx
push dword [esp + 0x74]
lea eax, [esp + 0x48]
mov dword [esp + 0x130], 1
push eax
call fcn.00495950
or edi, 0xffffffff
test eax, eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x54]
cmovne esi, edi
push eax
call fcn.00494510
test eax, eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x60]
cmovne esi, edi
push eax
call fcn.00494630
test eax, eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x98]
lea eax, [esp + 0x6c]
cmovne esi, edi
push eax
call fcn.004948e0
test eax, eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x78]
cmovne esi, edi
push eax
call fcn.004948e0
add esp, 0x44
test eax, eax
lea eax, [esp + 0x1c]
cmovne esi, edi
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00494510
test eax, eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
cmovne esi, edi
push eax
call fcn.00494510
test eax, eax
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x58]
cmovne esi, edi
push eax
call fcn.00494630
test eax, eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x64]
cmovne esi, edi
push eax
call fcn.00494630
add esp, 0x30
test eax, eax
mov eax, dword [esp + 0x14]
cmovne esi, edi
cmp eax, dword [esp + 0x70]
jne 0x49513e
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x74]
jne 0x49513e
cmp dword [esp + 0x20], 0
jne 0x49513e
cmp dword [esp + 0x1c], 0
je 0x495143
mov esi, 0xffffff99
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00494630
test eax, eax
lea eax, [esp + 0xbc]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
cmovne esi, edi
push eax
call fcn.00494630
add esp, 0x18
mov dword [esp + 0x78], 0
jmp 0x4954ba
mov ebx, dword [esp + 0x68]
mov eax, 0xffff
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [esp + 0x28], ebx
push 2
push eax
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x44]
push ebx
push eax
movlpd qword [esp + 0x28], xmm0
call fcn.00495950
add esp, 0x14
test eax, eax
je 0x4951d3
xorps xmm0, xmm0
or esi, 0xffffffff
movlpd qword [esp + 0x14], xmm0
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x495360
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.004959a0
mov ecx, edx
mov dword [esp + 0x34], eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
ja 0x495200
jb 0x4951f8
cmp eax, 0xffff
jae 0x495200
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
push 0x404
call fcn.004a1b7a
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x49522c
xorps xmm0, xmm0
or esi, 0xffffffff
movlpd qword [esp + 0x14], xmm0
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x495360
mov edx, dword [esp + 0x1c]
xor edi, edi
mov esi, 4
cmp edi, edx
ja 0x495350
mov ecx, dword [esp + 0x24]
jb 0x49524d
cmp esi, ecx
jae 0x495350
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebx
nop dword [eax]
add esi, 0x400
adc edi, 0
cmp edi, edx
jb 0x495277
ja 0x495273
cmp esi, ecx
jbe 0x495277
mov esi, ecx
mov edi, edx
mov edx, dword [esp + 0x2c]
mov eax, edx
mov ecx, dword [esp + 0x30]
sub eax, esi
mov dword [esp + 0x34], eax
sbb ecx, edi
mov dword [esp + 0x14], ecx
test edi, edi
jb 0x4952a2
ja 0x49529b
cmp esi, 0x404
jbe 0x4952a2
mov ebx, 0x404
jmp 0x4952a6
mov ebx, edx
sub ebx, eax
push 0
push ecx
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x48]
push eax
call fcn.00495950
add esp, 0x14
test eax, eax
jne 0x495334
push ebx
push ebp
push dword [esp + 0x30]
push dword [esp + 0x60]
call dword [esp + 0x4c]
add esp, 0x10
cmp eax, ebx
jne 0x495334
lea ecx, [ebx - 3]
test ecx, ecx
jle 0x49531a
lea eax, [ebp + 3]
add eax, ecx
mov edx, ecx
lea eax, [eax - 1]
dec ecx
cmp byte [eax - 3], 0x50
jne 0x4952fd
cmp byte [edx + ebp], 0x4b
jne 0x4952fd
cmp byte [eax - 1], 5
jne 0x4952fd
cmp byte [eax], 6
je 0x495303
test ecx, ecx
jg 0x4952e0
jmp 0x49531a
mov eax, ecx
cdq
add eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
adc edx, dword [esp + 0x14]
or eax, edx
mov dword [esp + 0x20], edx
jne 0x495334
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
cmp edi, edx
jb 0x495260
ja 0x495334
cmp esi, ecx
jb 0x495260
mov ebx, dword [esp + 0x10]
push ebp
call fcn.004a1b5f
mov ebp, dword [esp + 0x24]
mov eax, ebx
add esp, 4
or eax, ebp
jne 0x49535e
or esi, 0xffffffff
jmp 0x495360
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x495338
xor esi, esi
push 0
push ebp
push ebx
push dword [esp + 0x74]
lea eax, [esp + 0x48]
mov dword [esp + 0x130], 0
push eax
call fcn.00495950
or edi, 0xffffffff
test eax, eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x54]
cmovne esi, edi
push eax
call fcn.00494510
test eax, eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x60]
cmovne esi, edi
push eax
call fcn.004948e0
test eax, eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x98]
lea eax, [esp + 0x6c]
cmovne esi, edi
push eax
call fcn.004948e0
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x78]
cmovne esi, edi
push eax
call fcn.004948e0
add esp, 0x44
mov dword [esp + 0x74], 0
test eax, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x10]
cmovne esi, edi
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.004948e0
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
cmovne esi, edi
xor ecx, ecx
cmp eax, dword [esp + 0x70]
jne 0x49543d
cmp ecx, dword [esp + 0x74]
jne 0x49543d
cmp dword [esp + 0x20], ecx
jne 0x49543d
cmp dword [esp + 0x1c], ecx
je 0x495442
mov esi, 0xffffff99
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00494510
test eax, eax
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb4], eax
cmovne esi, edi
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
push eax
call fcn.00494510
test eax, eax
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc8], eax
cmovne esi, edi
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x58]
push eax
call fcn.004948e0
add esp, 0x24
mov edx, dword [esp + 0xb0]
test eax, eax
mov eax, dword [esp + 0xb4]
mov ecx, edx
cmovne esi, edi
mov edi, dword [esp + 0xa8]
add ecx, edi
adc eax, dword [esp + 0xac]
cmp ebp, eax
jb 0x49555a
ja 0x4954e9
cmp ebx, ecx
jb 0x49555a
test esi, esi
jne 0x49555a
mov ecx, ebx
mov dword [esp + 0xa0], ebx
sub ecx, edx
mov dword [esp + 0xa4], ebp
mov eax, ebp
mov dword [esp + 0x118], esi
sbb eax, dword [esp + 0xb4]
sub ecx, edi
push 0xf0
sbb eax, dword [esp + 0xb0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x120], esi
call fcn.004a1b7a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x495556
mov ecx, 0x3c
lea esi, [esp + 0x38]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.00494b40
add esp, 4
mov eax, ebx
jmp 0x49556b
push dword [esp + 0x68]
push dword [esp + 0x58]
call dword [esp + 0x54]
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x128]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.00499a66
add esp, 0x11c
ret