Function at 0x41a9a0
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 0x41ada7
cmp al, 6
je 0x41ada7
cmp al, 7
je 0x41ada7
mov eax, dword [esp + 0xa0]
push 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00461e40
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 0x41aa1c
push eax
push 4
push ebx
call fcn.0041a8b0
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 0x41aa52
push eax
push 8
push ebx
call fcn.0041a8b0
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 0x41aad2
lea eax, [esp + 8]
push esi
push eax
call fcn.00419fb0
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 0x41aad2
test esi, esi
jne 0x41aaa2
mov ecx, dword [esp + 0x20]
xor esi, esi
cmp dword [ecx], esi
cmovne esi, ecx
test esi, esi
je 0x41ab1c
lea eax, [esp + 8]
push esi
push eax
call fcn.00419fb0
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.004617a0
mov esi, dword [esi]
add esp, 0x14
cmp dword [esi], 0
je 0x41ab1c
test esi, esi
jne 0x41aae1
mov esi, dword [ebx + 0x168]
xor eax, eax
cmp dword [esi], eax
cmove esi, eax
test esi, esi
je 0x41ac7e
cmp dword [esi + 0x18], eax
jne 0x41ab49
mov esi, dword [esi]
cmp dword [esi], eax
je 0x41ac7e
test esi, esi
jne 0x41ab31
jmp 0x41ac7e
test esi, esi
je 0x41ac7e
push ebp
push edi
mov edi, dword [esi + 0x18]
nop word [eax + eax]
cmp byte [esp + 0xb4], 0
je 0x41ac2f
cmp edi, dword [esp + 0x14]
jne 0x41ac2f
xor ebx, ebx
lea eax, [edi + 0x20]
cmp dword [edi + 0x18], eax
cmovne ebx, dword [edi + 0x18]
cmp dword [ebx + 8], 0
jne 0x41ab8e
xor ebp, ebp
jmp 0x41aba0
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 0x41abac
mov eax, ebx
cmp ebp, 3
jne 0x41abaf
mov eax, dword [ebx + 8]
push eax
call fcn.00407880
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.0041a050
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp byte [eax + 0x44], 4
jne 0x41ac2f
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0041a680
add esp, 0xc
cmp byte [esp + 0xb0], 0
je 0x41ac47
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0041a510
add esp, 8
push 3
push edi
call fcn.0040bf40
mov esi, dword [esi]
add esp, 8
cmp dword [esi], 0
je 0x41ac75
test esi, esi
je 0x41ac75
nop dword [eax]
mov edi, dword [esi + 0x18]
test edi, edi
jne 0x41ab60
mov esi, dword [esi]
cmp dword [esi], edi
je 0x41ac75
test esi, esi
jne 0x41ac60
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 0x41acc5
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 0x41ad06
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 0x41ad47
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 0x41ad88
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.00417be0
push 0
push dword [esp + 0x58]
call fcn.00461670
add esp, 0xc
mov al, 1
pop esi
pop ebx
add esp, 0x94
ret
push 0xfffffffffffffff7
push dword [esp + 0xa4]
call fcn.0040bf40
add esp, 8
xor al, al
pop ebx
add esp, 0x94
ret