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

Disassembly:
sub esp, 0x230
mov eax, dword [0x886f80]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x240]
push ebp
push esi
push edi
mov edi, dword [esp + 0x244]
push 0x38
push edi
call fcn.00461d40
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 0x49c3ba
add eax, eax
xor ecx, ecx
push ecx
movups xmm0, xmmword [ebx + eax*8 + 0x54]
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.00417200
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push esi
call fcn.0049c6b0
mov dword [esi + 0xc], eax
lea eax, [esp + 0x38]
push eax
call fcn.004171e0
mov ebp, dword [esi + 0xc]
lea edi, [ebx + 0x18]
add esp, 0x20
jmp 0x49c4f3
mov eax, dword [ecx + 0x10]
test eax, eax
js 0x49c3cb
add eax, 6
add eax, eax
mov ecx, dword [ebx + eax*8]
jmp 0x49c3cd
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 + 0x51986d]
test al, al
je 0x49c3fb
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.00461800
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [ebp], 0
mov dword [ebp + 4], 0
test eax, eax
je 0x49c4cd
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.0049d140
push eax
push 8
push esi
mov dword [ebp + 8], eax
call fcn.00461630
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
push 8
push esi
call fcn.00461630
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.004e6fa0
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.004e6fa0
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.004e5de0
mov ecx, edi
call fcn.004e6390
mov dword [esi + 0x14], edx
lea edi, [ebx + 0x18]
jmp 0x49c4f0
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 0x49c50b
add eax, 6
add eax, eax
mov eax, dword [ebx + eax*8]
mov dword [ebp], eax
mov ebp, dword [esi + 0xc]
imul eax, dword [edi], 0x64
mov al, byte [eax + 0x51987e]
test al, al
je 0x49c521
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x30]
jmp 0x49c533
mov eax, dword [ebp + 4]
test eax, eax
je 0x49c536
mov eax, dword [eax + 0x18]
shr eax, 9
and eax, 0x1ff
mov dword [esi + 0x2c], eax
mov ecx, dword [edi]
imul edi, ecx, 0x64
mov al, byte [edi + 0x51987e]
movzx edx, al
test al, al
je 0x49c553
test byte [ebx + edx*4 + 0x30], 4
jne 0x49c5d6
cmp ecx, 0xed
jne 0x49c58b
movups xmm0, xmmword [ebx + 0x54]
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 0x49c587
test byte [ebx + edx*4 + 0x30], 0x40
jne 0x49c587
xor al, al
jmp 0x49c5ce
mov al, 1
jmp 0x49c5ce
cmp ecx, 0x1a2
je 0x49c5c5
cmp ecx, 0x32
je 0x49c5c5
cmp ecx, 0x8c
je 0x49c5c5
cmp ecx, 0x9a
je 0x49c5c5
cmp ecx, 3
je 0x49c5c5
cmp ecx, 0x1b6
je 0x49c5c5
mov eax, dword [edi + 0x5198b0]
and eax, 3
cmp al, 3
sete al
jmp 0x49c5ce
mov eax, dword [ebx + edx*4 + 0x30]
shr eax, 6
and al, 1
test al, al
je 0x49c5d6
or dword [esi + 0x2c], 0x40
mov eax, dword [esi + 0x28]
mov eax, dword [eax]
test eax, eax
jne 0x49c5e5
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x1c]
test eax, 0x1c90f
je 0x49c5f0
or dword [esi + 0x2c], 2
mov eax, dword [esi + 0xc]
xor edi, edi
mov ebx, 0x1f
cmp dword [eax + 8], edi
jbe 0x49c63e
nop
mov eax, dword [eax + 0x10]
mov edx, dword [eax + edi*8]
mov ecx, dword [eax + edi*8 + 4]
mov eax, edx
or eax, ecx
je 0x49c635
push ecx
push edx
call fcn.004624c0
add esp, 8
cmp ebx, eax
jb 0x49c635
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
call fcn.004624c0
add esp, 8
mov ebx, eax
mov eax, dword [esi + 0xc]
inc edi
cmp edi, dword [eax + 8]
jb 0x49c600
lea ecx, [ebx - 1]
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 + 0x519881]
test al, al
je 0x49c67b
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x30]
cmp edx, eax
jae 0x49c67b
mov dword [esi + 0x18], eax
imul eax, dword [ecx + 0x18], 0x64
movzx eax, byte [eax + 0x519882]
mov eax, dword [ecx + eax*4 + 0x30]
jmp 0x49c689
push 0
push edx
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.004e6430
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.004e5b77
add esp, 0x230
ret