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

Disassembly:
sub esp, 0x94
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x90], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0xa4]
push 7
push 0
lea esi, [edi + 0x20]
push esi
call fcn.004935f0
add esp, 0xc
cmp eax, 3
je 0x49531b
push 7
lea ebp, [edi + 0x40]
push 0
push ebp
call fcn.004935f0
add esp, 0xc
cmp eax, 3
je 0x49531b
push 7
push 7
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00493660
movdqu xmm0, xmmword [ebp]
mov eax, dword [ebp + 0x18]
push 7
mov dword [esp + 0x74], eax
lea eax, [esp + 0x78]
movdqu xmmword [esp + 0x5c], xmm0
push ebp
movq xmm0, qword [ebp + 0x10]
push eax
movq qword [esp + 0x74], xmm0
call fcn.004940e0
push 0x583350
push 0xe
lea eax, [esp + 0x88]
push eax
push 7
push ebp
call fcn.004956b0
push 7
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.00494240
add esp, 0x3c
test eax, eax
jne 0x494e68
push 7
lea eax, [esp + 0x10]
push 0x583350
push eax
call fcn.00493590
add esp, 0xc
push 7
push edi
push ebp
call fcn.00493590
add esp, 0xc
test eax, eax
je 0x494e88
push 7
push 0x583350
push ebp
call fcn.00494240
add esp, 0xc
push 7
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x6c]
push ebp
push eax
call fcn.00493e90
push 0x583350
push 0xe
lea eax, [esp + 0x7c]
push eax
push 7
push ebp
call fcn.004956b0
push 7
push 7
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.00493660
lea eax, [esp + 0x40]
mov dword [esp + 0x5c], 0
push 7
push eax
push eax
call fcn.00493590
add esp, 0x40
test eax, eax
je 0x494edd
inc dword [esp + 0x28]
push ebx
push 7
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00493590
mov ebx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x494efb
inc ebx
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x494f44
nop
push 7
lea eax, [esp + 0x14]
push 0x583350
push eax
call fcn.00494240
add esp, 0xc
test eax, eax
jne 0x494f19
dec ebx
test ebx, ebx
jne 0x494f00
push 7
lea eax, [esp + 0x14]
push 0x583350
push eax
call fcn.00493fc0
push 0x1c
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.005358e0
add esp, 0x18
jmp 0x494f5a
push 7
push 7
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00493660
add esp, 0x10
push 7
lea eax, [esp + 0x50]
push eax
push esi
call fcn.004942e0
push 7
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.00493e90
push 0x583350
push 0xe
lea eax, [esp + 0x8c]
push eax
push 7
push esi
call fcn.004956b0
push 7
push esi
push esi
call fcn.00493590
add esp, 0x3c
test eax, eax
je 0x494fe4
mov dword [edi + 0x3c], 1
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x494fc9
mov edi, edi
push 7
push 0x583350
push esi
call fcn.00494240
add esp, 0xc
test eax, eax
jne 0x494fc5
dec ebx
test ebx, ebx
jne 0x494fb0
push 7
push 0x583350
push esi
call fcn.00493fc0
push 0x1c
push esi
push ebp
call fcn.005358e0
add esp, 0x18
jmp 0x494ff2
push 7
push 7
push esi
push ebp
call fcn.00493660
add esp, 0x10
push 7
push 7
lea eax, [esp + 0x54]
push eax
push esi
call fcn.00493660
push 7
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.004940e0
push 0x583350
push 0xe
lea eax, [esp + 0x8c]
push eax
push 7
push esi
call fcn.004956b0
movdqu xmm0, xmmword [esi]
mov eax, dword [esi + 0x18]
push 7
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x9c]
movdqu xmmword [esp + 0x44], xmm0
push esi
movq xmm0, qword [esi + 0x10]
push eax
movq qword [esp + 0x5c], xmm0
call fcn.004940e0
push 0x583350
push 0xe
lea eax, [esp + 0xac]
push eax
push 7
push esi
call fcn.004956b0
add esp, 0x50
lea eax, [esp + 0x10]
push 7
push eax
lea eax, [esp + 0x70]
push edi
push eax
call fcn.00493e90
push 0x583350
push 0xe
lea eax, [esp + 0x80]
push eax
push 7
push edi
call fcn.004956b0
push 7
push edi
push edi
mov dword [esp + 0x5c], 0
call fcn.00493590
add esp, 0x30
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x4950b1
inc eax
push 7
add eax, eax
push edi
push edi
mov dword [esp + 0x38], eax
call fcn.00493590
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x4950d0
inc eax
mov dword [esp + 0x2c], eax
push 7
test eax, eax
je 0x495130
push 7
lea eax, [esp + 0x18]
push edi
push eax
call fcn.00493660
mov ebx, dword [esp + 0x3c]
add esp, 0x10
test ebx, ebx
je 0x49510d
mov edi, edi
push 7
lea eax, [esp + 0x14]
push 0x583350
push eax
call fcn.00494240
add esp, 0xc
test eax, eax
jne 0x495109
dec ebx
test ebx, ebx
jne 0x4950f0
push 7
lea eax, [esp + 0x14]
push 0x583350
push eax
call fcn.00493fc0
push 0x1c
lea eax, [esp + 0x20]
push eax
push edi
call fcn.005358e0
add esp, 0x18
jmp 0x49513e
push 0x583350
push edi
call fcn.00493fc0
add esp, 0xc
push 7
lea eax, [esp + 0x34]
push eax
push edi
call fcn.004942e0
movdqu xmm0, xmmword [edi]
mov eax, dword [edi + 0x18]
push 7
mov dword [esp + 0x74], eax
lea eax, [esp + 0x78]
movdqu xmmword [esp + 0x5c], xmm0
push edi
movq xmm0, qword [edi + 0x10]
push eax
movq qword [esp + 0x74], xmm0
call fcn.004940e0
push 0x583350
push 0xe
lea eax, [esp + 0x88]
push eax
push 7
push edi
call fcn.004956b0
push 7
lea eax, [esp + 0x60]
push eax
push edi
call fcn.00494240
add esp, 0x38
test eax, eax
jne 0x4951af
push 7
push 0x583350
push edi
call fcn.00493590
add esp, 0xc
push 7
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00494240
add esp, 0xc
push 7
push 0x583350
push edi
test eax, eax
jne 0x4951d2
call fcn.00493590
jmp 0x4951d7
call fcn.00493fc0
add esp, 0xc
mov dword [esp + 0x2c], 0
push 7
push esi
push esi
call fcn.00493590
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x4951f7
inc eax
push 7
add eax, eax
push esi
push esi
mov dword [esp + 0x38], eax
call fcn.00493590
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x495212
inc eax
push 7
add eax, eax
push esi
push esi
mov dword [esp + 0x38], eax
call fcn.00493590
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x495231
inc eax
mov dword [esp + 0x2c], eax
push 7
test eax, eax
je 0x495290
push 7
lea eax, [esp + 0x18]
push esi
push eax
call fcn.00493660
mov ebx, dword [esp + 0x3c]
add esp, 0x10
test ebx, ebx
je 0x49526d
nop
push 7
lea eax, [esp + 0x14]
push 0x583350
push eax
call fcn.00494240
add esp, 0xc
test eax, eax
jne 0x495269
dec ebx
test ebx, ebx
jne 0x495250
push 7
lea eax, [esp + 0x14]
push 0x583350
push eax
call fcn.00493fc0
push 0x1c
lea eax, [esp + 0x20]
push eax
push esi
call fcn.005358e0
add esp, 0x18
jmp 0x49529e
push 0x583350
push esi
call fcn.00493fc0
add esp, 0xc
push 7
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00494240
add esp, 0xc
pop ebx
test eax, eax
jne 0x4952c7
push 7
lea eax, [esp + 0x30]
push 0x583350
push eax
call fcn.00493590
add esp, 0xc
push 7
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00493e90
push 0x583350
push 0xe
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x48]
push 7
push eax
call fcn.004956b0
push 7
lea eax, [esp + 0x54]
push eax
push esi
call fcn.00494290
add esp, 0x30
test eax, eax
jne 0x49533f
push 7
push 0x583350
push esi
call fcn.00493590
add esp, 0xc
jmp 0x49533f
push 1
push 7
push edi
call fcn.00493fe0
push 1
push 7
push esi
call fcn.00493fe0
push 0
lea eax, [edi + 0x40]
push 7
push eax
call fcn.00493fe0
add esp, 0x24
mov ecx, dword [esp + 0x9c]
mov eax, 1
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00535482
add esp, 0x94
ret