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

Disassembly:
sub esp, 0x230
mov eax, dword [0x97ffc0]
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.00460b90
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 0x49f979
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.00417a20
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.0049fc80
mov dword [esi + 0xc], eax
lea eax, [esp + 0x34]
push eax
call fcn.00417a00
mov ebp, dword [esi + 0xc]
lea edi, [ebx + 0x18]
add esp, 0x1c
jmp 0x49fab0
mov eax, dword [ecx + 0x10]
test eax, eax
js 0x49f988
add eax, eax
mov ecx, dword [ebx + eax*8 + 0x64]
jmp 0x49f98a
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 0x49f9b8
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.00460650
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [ebp], 0
mov dword [ebp + 4], 0
test eax, eax
je 0x49fa8a
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.004a09b0
push eax
push 8
push esi
mov dword [ebp + 8], eax
call fcn.00460480
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
push 8
push esi
call fcn.00460480
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.004f06c0
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.004f06c0
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.004ef070
mov ecx, edi
call fcn.004ef7f0
mov dword [esi + 0x14], edx
lea edi, [ebx + 0x18]
jmp 0x49faad
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 0x49fac6
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 0x49fadc
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x30]
jmp 0x49faeb
mov eax, dword [ebp + 4]
test eax, eax
je 0x49faee
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 0x49fb0b
test byte [ebx + edx*4 + 0x30], 4
jne 0x49fb8e
cmp ecx, 0x100
jne 0x49fb43
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 0x49fb3f
test byte [ebx + edx*4 + 0x30], 0x40
jne 0x49fb3f
xor al, al
jmp 0x49fb86
mov al, 1
jmp 0x49fb86
cmp ecx, 0x1c0
je 0x49fb7d
cmp ecx, 0x34
je 0x49fb7d
cmp ecx, 0x94
je 0x49fb7d
cmp ecx, 0xa2
je 0x49fb7d
cmp ecx, 3
je 0x49fb7d
cmp ecx, 0x1d5
je 0x49fb7d
mov eax, dword [edi + 0x523870]
and eax, 3
cmp al, 3
sete al
jmp 0x49fb86
mov eax, dword [ebx + edx*4 + 0x30]
shr eax, 6
and al, 1
test al, al
je 0x49fb8e
or dword [esi + 0x2c], 0x40
mov eax, dword [esi + 0x28]
mov eax, dword [eax]
test eax, eax
jne 0x49fb9d
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x1c]
test eax, 0x1c90f
je 0x49fba8
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 0x49fc12
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 0x49fbff
push ecx
push edx
call fcn.004612d0
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, eax
jb 0x49fc03
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
push dword [eax + edi + 4]
push dword [eax + edi]
call fcn.004612d0
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
jmp 0x49fc03
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
inc ebp
add ebx, 8
add edi, 8
cmp ebp, dword [eax + 8]
jb 0x49fbc0
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 0x49fc4d
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x30]
cmp edx, eax
jae 0x49fc4d
mov dword [esi + 0x18], eax
imul eax, dword [ecx + 0x18], 0x64
movzx eax, byte [eax + 0x523842]
mov eax, dword [ecx + eax*4 + 0x30]
jmp 0x49fc5b
push 0
push edx
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.004efa70
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.004eee05
add esp, 0x230
ret