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

Disassembly:
sub esp, 0x94
push ebx
mov ebx, dword [esp + 0x9c]
mov al, byte [ebx + 0x44]
cmp al, 1
je 0x41ace7
cmp al, 6
je 0x41ace7
cmp al, 7
je 0x41ace7
mov eax, dword [esp + 0xa0]
push 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00461cb0
mov dword [esp + 0x50], eax
add esp, 4
cmp byte [esp + 0xa8], 0
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
je 0x41a95c
push eax
push 4
push ebx
call fcn.0041a7f0
add esp, 0xc
cmp byte [esp + 0xa4], 0
lea eax, [esp + 0x14]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
je 0x41a992
push eax
push 8
push ebx
call fcn.0041a7f0
add esp, 0xc
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x44]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push esi
xor esi, esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
cmp dword [ecx], esi
cmovne esi, ecx
test esi, esi
je 0x41aa12
lea eax, [esp + 8]
push esi
push eax
call fcn.00419ef0
lea ecx, [esp + 0x40]
add esp, 8
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
mov dword [esp + 0x3c], eax
mov esi, dword [esi]
cmp dword [esi], 0
je 0x41aa12
test esi, esi
jne 0x41a9e2
mov ecx, dword [esp + 0x20]
xor esi, esi
cmp dword [ecx], esi
cmovne esi, ecx
test esi, esi
je 0x41aa5c
lea eax, [esp + 8]
push esi
push eax
call fcn.00419ef0
lea ecx, [esp + 0x50]
push eax
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
push dword [esp + 0x60]
mov dword [esp + 0x60], eax
call fcn.00461610
mov esi, dword [esi]
add esp, 0x14
cmp dword [esi], 0
je 0x41aa5c
test esi, esi
jne 0x41aa21
mov esi, dword [ebx + 0x168]
xor eax, eax
cmp dword [esi], eax
cmove esi, eax
test esi, esi
je 0x41abbe
cmp dword [esi + 0x18], eax
jne 0x41aa89
mov esi, dword [esi]
cmp dword [esi], eax
je 0x41abbe
test esi, esi
jne 0x41aa71
jmp 0x41abbe
test esi, esi
je 0x41abbe
push ebp
push edi
mov edi, dword [esi + 0x18]
nop word [eax + eax]
cmp byte [esp + 0xb4], 0
je 0x41ab6f
cmp edi, dword [esp + 0x14]
jne 0x41ab6f
xor ebx, ebx
lea eax, [edi + 0x20]
cmp dword [edi + 0x18], eax
cmovne ebx, dword [edi + 0x18]
cmp dword [ebx + 8], 0
jne 0x41aace
xor ebp, ebp
jmp 0x41aae0
mov eax, dword [ebx + 4]
xor ecx, ecx
mov ebx, eax
mov ebp, 1
cmp dword [eax + 4], ecx
cmove ebx, ecx
cmp ebp, 2
je 0x41aaec
mov eax, ebx
cmp ebp, 3
jne 0x41aaef
mov eax, dword [ebx + 8]
push eax
call fcn.004077f0
xorps xmm0, xmm0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x74], eax
mov eax, dword [eax + 0x10]
movups xmmword [esp + 0x78], xmm0
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebx
mov eax, dword [eax + 0xc]
movups xmm0, xmmword [esp + 0x78]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x4c]
movq xmm1, qword [esp + 0x70]
push eax
lea eax, [esp + 0x30]
movq qword [esp + 0xa4], xmm1
push eax
lea eax, [esp + 0x98]
push eax
movups xmmword [esp + 0x9c], xmm0
call fcn.00419f90
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp byte [eax + 0x44], 4
jne 0x41ab6f
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0041a5c0
add esp, 0xc
cmp byte [esp + 0xb0], 0
je 0x41ab87
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0041a450
add esp, 8
push 3
push edi
call fcn.0040bea0
mov esi, dword [esi]
add esp, 8
cmp dword [esi], 0
je 0x41abb5
test esi, esi
je 0x41abb5
nop dword [eax]
mov edi, dword [esi + 0x18]
test edi, edi
jne 0x41aaa0
mov esi, dword [esi]
cmp dword [esi], edi
je 0x41abb5
test esi, esi
jne 0x41aba0
mov ebx, dword [esp + 0xa8]
pop edi
pop ebp
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x28]
lea edx, [ebx + 0x10]
lea esi, [ebx + 0xc]
cmp ecx, eax
je 0x41ac05
mov eax, dword [edx]
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x2c]
mov dword [edx], eax
mov dword [eax], esi
lea eax, [esp + 0x28]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
cmp ecx, eax
je 0x41ac46
mov eax, dword [edx]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov dword [eax], esi
lea eax, [esp + 0x18]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x48]
cmp ecx, eax
je 0x41ac87
mov eax, dword [edx]
mov dword [eax], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x4c]
mov dword [edx], eax
mov dword [eax], esi
lea eax, [esp + 0x48]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x38]
cmp ecx, eax
je 0x41acc8
mov eax, dword [edx]
mov dword [eax], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x3c]
mov dword [edx], eax
mov dword [eax], esi
lea eax, [esp + 0x38]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
push ebx
call fcn.00417b20
push 0
push dword [esp + 0x58]
call fcn.004614e0
add esp, 0xc
mov al, 1
pop esi
pop ebx
add esp, 0x94
ret
push 0xfffffffffffffff7
push dword [esp + 0xa4]
call fcn.0040bea0
add esp, 8
xor al, al
pop ebx
add esp, 0x94
ret