Function at 0x41a910
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 0x41ad17
cmp al, 6
je 0x41ad17
cmp al, 7
je 0x41ad17
mov eax, dword [esp + 0xa0]
push 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00461da0
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 0x41a98c
push eax
push 4
push ebx
call fcn.0041a820
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 0x41a9c2
push eax
push 8
push ebx
call fcn.0041a820
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 0x41aa42
lea eax, [esp + 8]
push esi
push eax
call fcn.00419f20
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 0x41aa42
test esi, esi
jne 0x41aa12
mov ecx, dword [esp + 0x20]
xor esi, esi
cmp dword [ecx], esi
cmovne esi, ecx
test esi, esi
je 0x41aa8c
lea eax, [esp + 8]
push esi
push eax
call fcn.00419f20
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.00461700
mov esi, dword [esi]
add esp, 0x14
cmp dword [esi], 0
je 0x41aa8c
test esi, esi
jne 0x41aa51
mov esi, dword [ebx + 0x168]
xor eax, eax
cmp dword [esi], eax
cmove esi, eax
test esi, esi
je 0x41abee
cmp dword [esi + 0x18], eax
jne 0x41aab9
mov esi, dword [esi]
cmp dword [esi], eax
je 0x41abee
test esi, esi
jne 0x41aaa1
jmp 0x41abee
test esi, esi
je 0x41abee
push ebp
push edi
mov edi, dword [esi + 0x18]
nop word [eax + eax]
cmp byte [esp + 0xb4], 0
je 0x41ab9f
cmp edi, dword [esp + 0x14]
jne 0x41ab9f
xor ebx, ebx
lea eax, [edi + 0x20]
cmp dword [edi + 0x18], eax
cmovne ebx, dword [edi + 0x18]
cmp dword [ebx + 8], 0
jne 0x41aafe
xor ebp, ebp
jmp 0x41ab10
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 0x41ab1c
mov eax, ebx
cmp ebp, 3
jne 0x41ab1f
mov eax, dword [ebx + 8]
push eax
call fcn.00407810
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.00419fc0
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp byte [eax + 0x44], 4
jne 0x41ab9f
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0041a5f0
add esp, 0xc
cmp byte [esp + 0xb0], 0
je 0x41abb7
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0041a480
add esp, 8
push 3
push edi
call fcn.0040bec0
mov esi, dword [esi]
add esp, 8
cmp dword [esi], 0
je 0x41abe5
test esi, esi
je 0x41abe5
nop dword [eax]
mov edi, dword [esi + 0x18]
test edi, edi
jne 0x41aad0
mov esi, dword [esi]
cmp dword [esi], edi
je 0x41abe5
test esi, esi
jne 0x41abd0
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 0x41ac35
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 0x41ac76
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 0x41acb7
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 0x41acf8
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.00417b50
push 0
push dword [esp + 0x58]
call fcn.004615d0
add esp, 0xc
mov al, 1
pop esi
pop ebx
add esp, 0x94
ret
push 0xfffffffffffffff7
push dword [esp + 0xa4]
call fcn.0040bec0
add esp, 8
xor al, al
pop ebx
add esp, 0x94
ret