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

Disassembly:
sub esp, 0x230
mov eax, dword [0x991fc0]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x234]
push ebx
mov ebx, dword [esp + 0x240]
push ebp
push esi
push edi
push 0x38
push eax
call fcn.00460c40
mov ecx, dword [esp + 0x250]
mov esi, eax
add esp, 8
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ecx
mov eax, dword [ecx + 0x18]
shr eax, 0x1f
xor al, 1
mov byte [esi + 0x30], al
mov eax, dword [ecx + 0x14]
test eax, eax
js 0x49fa59
add eax, eax
xor ecx, ecx
push ecx
movups xmm0, xmmword [ebx + eax*8 + 0x58]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmovne eax, ecx
push eax
mov dword [esi + 0x34], eax
lea eax, [esp + 0x24]
push eax
call fcn.00417ab0
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.0049fd60
mov dword [esi + 0xc], eax
lea eax, [esp + 0x34]
push eax
call fcn.00417a90
mov ebp, dword [esi + 0xc]
lea edi, [ebx + 0x18]
add esp, 0x1c
jmp 0x49fb90
mov eax, dword [ecx + 0x10]
test eax, eax
js 0x49fa68
add eax, eax
mov ecx, dword [ebx + eax*8 + 0x64]
jmp 0x49fa6a
xor ecx, ecx
imul eax, dword [ebx + 0x18], 0x64
lea edi, [ebx + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x10], ecx
movlpd qword [esp + 0x14], xmm0
mov al, byte [eax + 0x52382d]
test al, al
je 0x49fa98
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x30]
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
push 0x14
push esi
call fcn.00460700
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [ebp], 0
mov dword [ebp + 4], 0
test eax, eax
je 0x49fb6a
lea ecx, [esp + 0x3c]
mov dword [ebp + 0xc], ecx
lea ecx, [esp + 0x13c]
mov dword [ebp + 0x10], ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push 1
push 0
push eax
push 0x20
push 0
push ebp
call fcn.004a0a90
push eax
push 8
push esi
mov dword [ebp + 8], eax
call fcn.00460530
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
push 8
push esi
call fcn.00460530
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
shl eax, 3
push eax
lea eax, [esp + 0x78]
push eax
push dword [ebp + 0xc]
call fcn.004f07d0
mov eax, dword [ebp + 8]
add esp, 0x44
shl eax, 3
push eax
lea eax, [esp + 0x140]
push eax
push dword [ebp + 0x10]
call fcn.004f07d0
mov ecx, dword [esp + 0x1c]
mov edi, 0x40
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], ebp
movzx ecx, byte [ecx + 0x11]
sub edi, ecx
mov ecx, edi
call fcn.004ef180
mov ecx, edi
call fcn.004ef900
mov dword [esi + 0x14], edx
lea edi, [ebx + 0x18]
jmp 0x49fb8d
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], ebp
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
js 0x49fba6
add eax, eax
mov eax, dword [ebx + eax*8 + 0x64]
mov dword [ebp], eax
mov ebp, dword [esi + 0xc]
imul eax, dword [edi], 0x64
mov al, byte [eax + 0x52383e]
test al, al
je 0x49fbbc
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x30]
jmp 0x49fbcb
mov eax, dword [ebp + 4]
test eax, eax
je 0x49fbce
mov eax, dword [eax + 0x20]
and eax, 0x1ff
mov dword [esi + 0x2c], eax
mov ecx, dword [edi]
imul edi, ecx, 0x64
mov al, byte [edi + 0x52383e]
movzx edx, al
test al, al
je 0x49fbeb
test byte [ebx + edx*4 + 0x30], 4
jne 0x49fc6e
cmp ecx, 0x100
jne 0x49fc23
movups xmm0, xmmword [ebx + 0x58]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmovne eax, ecx
test dword [eax + 0x1c], 0x487
jne 0x49fc1f
test byte [ebx + edx*4 + 0x30], 0x40
jne 0x49fc1f
xor al, al
jmp 0x49fc66
mov al, 1
jmp 0x49fc66
cmp ecx, 0x1c0
je 0x49fc5d
cmp ecx, 0x34
je 0x49fc5d
cmp ecx, 0x94
je 0x49fc5d
cmp ecx, 0xa2
je 0x49fc5d
cmp ecx, 3
je 0x49fc5d
cmp ecx, 0x1d5
je 0x49fc5d
mov eax, dword [edi + 0x523870]
and eax, 3
cmp al, 3
sete al
jmp 0x49fc66
mov eax, dword [ebx + edx*4 + 0x30]
shr eax, 6
and al, 1
test al, al
je 0x49fc6e
or dword [esi + 0x2c], 0x40
mov eax, dword [esi + 0x28]
mov eax, dword [eax]
test eax, eax
jne 0x49fc7d
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x1c]
test eax, 0x1c90f
je 0x49fc88
or dword [esi + 0x2c], 2
mov eax, dword [esi + 0xc]
xor ebp, ebp
mov ecx, 0x1f
mov dword [esp + 0x10], ecx
cmp dword [eax + 8], ebp
jbe 0x49fcf2
xor ebx, ebx
xor edi, edi
nop
mov eax, dword [eax + 0x10]
mov edx, dword [ebx + eax]
mov ecx, dword [ebx + eax + 4]
mov eax, edx
or eax, ecx
je 0x49fcdf
push ecx
push edx
call fcn.00461370
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, eax
jb 0x49fce3
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
push dword [eax + edi + 4]
push dword [eax + edi]
call fcn.00461370
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
jmp 0x49fce3
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
inc ebp
add ebx, 8
add edi, 8
cmp ebp, dword [eax + 8]
jb 0x49fca0
dec ecx
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x18], edx
imul eax, dword [ecx + 0x18], 0x64
mov al, byte [eax + 0x523841]
test al, al
je 0x49fd2d
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x30]
cmp edx, eax
jae 0x49fd2d
mov dword [esi + 0x18], eax
imul eax, dword [ecx + 0x18], 0x64
movzx eax, byte [eax + 0x523842]
mov eax, dword [ecx + eax*4 + 0x30]
jmp 0x49fd3b
push 0
push edx
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.004efb80
mov ecx, dword [esp + 0x23c]
pop edi
mov dword [esi + 0x1c], eax
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eef15
add esp, 0x230
ret