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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [ecx + 0xf4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
push ebx
push esi
mov ebx, edx
mov dword [esp + 0x10], ecx
test byte [eax + 0x4c], 1
push edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
jne 0x49e535
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x18], eax
lea ecx, [ecx + ecx*8]
shl ecx, 3
add eax, ecx
mov dword [esp + 0x38], ecx
cmp dword [ebx + 0x44], 0
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x1c]
jne 0x49e535
cmp dword [ecx + 0x44], 0
jne 0x49e535
mov eax, dword [ecx + 0x3c]
mov esi, dword [ecx + 0x20]
test eax, eax
je 0x49e4a9
cmp dword [ebx + 0x3c], 0
jne 0x49e535
cmp dword [eax + 0x10], 0
jne 0x49e535
mov edx, dword [ebx + 4]
test edx, 0x100
je 0x49e4b8
test eax, eax
jne 0x49e535
mov edi, dword [esi]
test edi, edi
je 0x49e535
test byte [ecx + 4], 1
jne 0x49e535
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x49e4dc
mov ebx, dword [esp + 0x18]
cmp dword [ebx], 1
mov ebx, dword [esp + 0x30]
jg 0x49e535
test esi, esi
jne 0x49e535
cmp dword [ebx + 0x30], 0
je 0x49e4e8
cmp dword [ecx + 0x30], 0
jne 0x49e535
test esi, esi
je 0x49e4f2
cmp dword [ecx + 0x30], 0
jne 0x49e535
test eax, eax
je 0x49e501
cmp dword [ebx + 0x24], 0
jne 0x49e535
test dl, 1
jne 0x49e535
test dword [ecx + 4], 0x2000
jne 0x49e535
mov eax, dword [esp + 0x10]
test byte [eax + 0x2c], 0x20
je 0x49e53e
mov dword [esp + 0x2c], 1
cmp edi, 1
jg 0x49e535
test esi, esi
jne 0x49e535
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], esi
jne 0x49e535
and edx, 1
je 0x49e541
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and edx, 1
cmp dword [ecx + 0x34], 0
lea edi, [ecx + 0x34]
je 0x49e5a5
cmp dword [ecx + 0x30], 0
jne 0x49e535
test esi, esi
jne 0x49e535
test edx, edx
jne 0x49e535
mov eax, dword [esp + 0x18]
cmp dword [eax], 1
jne 0x49e535
test byte [ecx + 4], 9
jne 0x49e535
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x49e573
cmp byte [ecx], 0x85
jne 0x49e535
mov eax, dword [ecx + 0x20]
cmp dword [eax], 1
jl 0x49e535
cmp dword [ecx + 0x44], 0
jne 0x49e535
mov ecx, edx
test ecx, ecx
jne 0x49e561
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x49e5a5
mov edx, dword [eax]
test edx, edx
jle 0x49e5a5
add eax, 0x14
cmp word [eax], 0
je 0x49e535
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x49e597
mov eax, dword [esp + 0x10]
mov edx, 0x15
mov esi, dword [esp + 0x14]
mov ecx, esi
push 0
push 0
mov eax, dword [eax + 0x10]
push 0
mov dword [esi + 0xf4], eax
call fcn.00477d30
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 0xf4], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x49e66b
mov eax, dword [ebx + 0x34]
mov edx, ebx
mov edi, dword [ebx + 0x30]
mov esi, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x20]
push 0
mov dword [esp + 0x28], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x3c], 0
call fcn.0046a3d0
mov ecx, eax
mov dword [ebx + 0x3c], esi
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x30], edi
mov byte [ebx], 0x85
test ecx, ecx
je 0x49e645
mov dword [ecx + 0x34], eax
test eax, eax
je 0x49e640
mov dword [eax + 0x38], ecx
mov dword [ecx + 0x38], ebx
mov eax, ecx
mov edi, dword [esp + 0x20]
mov dword [ebx + 0x34], eax
cmp byte [edi + 0x51], 0
jne 0x49e9e4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x49e5e3
jmp 0x49e66f
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x1c]
mov esi, eax
mov edx, dword [ecx + 0xc]
mov ecx, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], esi
call fcn.00431ae0
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [eax + 0x10]
call fcn.00431ae0
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [eax + 0x14]
call fcn.00431ae0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x18]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x1c], 0
test edx, edx
je 0x49e701
mov eax, dword [edx + 0x20]
cmp eax, 1
jne 0x49e6f6
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x104]
mov dword [edx + 0x4c], eax
mov dword [ecx + 0x104], edx
mov ecx, dword [esp + 0x10]
jmp 0x49e6fa
dec eax
mov dword [edx + 0x20], eax
mov dword [ecx + 0x18], 0
mov eax, dword [esi + 0x20]
mov edi, dword [ebx + 0x20]
mov byte [esp + 0xf], 0
mov dword [esp + 0x34], eax
mov esi, dword [eax]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
test edi, edi
je 0x49e727
mov al, byte [ecx + 0x2c]
mov byte [esp + 0xf], al
jmp 0x49e783
mov ecx, dword [esp + 0x14]
push 0
push 0x50
mov ecx, dword [ecx]
call fcn.00431de0
mov edi, eax
mov dword [esp + 0x20], eax
add esp, 8
test edi, edi
je 0x49e994
push 0x48
lea eax, [edi + 8]
mov dword [edi + 4], 1
push 0
push eax
mov dword [edi], 1
call fcn.004ce0b0
mov dword [edi + 0x34], 0xffffffff
add esp, 0xc
mov eax, dword [edi]
lea eax, [eax + eax*8]
mov dword [edi + eax*8 - 0x38], 0
mov dword [edi + eax*8 - 0x3c], 0
mov dword [ebx + 0x20], edi
cmp esi, 1
jle 0x49e7b2
mov eax, dword [ebp + 8]
mov edx, edi
mov ecx, dword [esp + 0x14]
inc eax
push eax
lea eax, [esi - 1]
push eax
call fcn.0047f400
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x49e994
mov dword [ebx + 0x20], edi
jmp 0x49e7b6
test esi, esi
jle 0x49e827
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
add eax, 8
mov ebx, dword [esp + 0x1c]
add esi, 8
add edi, eax
nop word [eax + eax]
mov edx, dword [edi + 0x34]
mov ecx, dword [esp + 0x20]
call fcn.0047f250
movups xmm0, xmmword [esi]
push 0x48
push 0
movups xmmword [edi], xmm0
push esi
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0x30], xmm0
movq xmm0, qword [esi + 0x40]
movq qword [edi + 0x40], xmm0
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x34], eax
call fcn.004ce0b0
add esp, 0xc
lea edi, [edi + 0x48]
add esi, 0x48
sub ebx, 1
jne 0x49e7d0
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov al, byte [esp + 0xf]
mov dword [esp + 0x34], ecx
mov byte [ecx + 0x2c], al
mov edx, dword [edi + 0x30]
test edx, edx
je 0x49e86f
test dword [ebx + 4], 0x400000
jne 0x49e86f
xor ecx, ecx
cmp dword [edx], ecx
jle 0x49e865
lea eax, [edx + 0x14]
xor esi, esi
lea eax, [eax + 0x14]
mov word [eax - 0x14], si
inc ecx
cmp ecx, dword [edx]
jl 0x49e857
mov dword [ebx + 0x30], edx
mov dword [edi + 0x30], 0
cmp dword [esp + 0x2c], 0
mov esi, dword [edi + 0x24]
mov dword [edi + 0x24], 0
jbe 0x49e88b
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.004972e0
test esi, esi
je 0x49e8b3
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x49e8b0
push eax
push esi
mov esi, dword [esp + 0x1c]
mov edx, 0x2c
mov ecx, esi
call fcn.00469480
add esp, 8
mov dword [ebx + 0x24], eax
jmp 0x49e8b7
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x51], 0
jne 0x49e8f4
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], eax
mov edx, ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x1c]
push 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x58], eax
call fcn.0049e280
add esp, 4
mov eax, dword [edi + 4]
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x49e910
mov dword [ebx + 0x3c], eax
mov dword [edi + 0x3c], 0
mov edi, dword [esp + 0x1c]
test edi, edi
jle 0x49e976
mov esi, dword [esp + 0x34]
add esi, 0x40
nop
cmp dword [esi - 0x28], 0
je 0x49e96e
xorps xmm0, xmm0
mov dword [esp + 0x58], 0
lea eax, [esi - 0x38]
movlpd qword [esp + 0x64], xmm0
mov edx, ebx
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 0x49e3d0
mov dword [esp + 0x60], fcn.0040c830
mov dword [esp + 0x70], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00465c70
add esi, 0x48
sub edi, 1
jne 0x49e920
mov esi, dword [esp + 0x24]
mov ebx, dword [ebx + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov esi, dword [esi + 0x34]
mov dword [esp + 0x24], esi
test ebx, ebx
jne 0x49e701
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x74]
mov esi, dword [esp + 0x40]
xorps xmm0, xmm0
mov edx, esi
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x4719d0
mov dword [esp + 0x7c], fcn.0040c830
call fcn.00465c70
test esi, esi
je 0x49e9e4
mov ecx, dword [esp + 0x20]
mov edx, esi
push 1
call fcn.00496e50
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret