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

Disassembly:
sub esp, 0x88
push ebx
mov ebx, dword [esp + 0x90]
mov al, byte [ebx + 0x38]
cmp al, 1
je 0x41a41d
cmp al, 6
je 0x41a41d
cmp al, 7
je 0x41a41d
mov eax, dword [esp + 0x94]
push 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00462f10
mov dword [esp + 0x50], eax
add esp, 4
cmp byte [esp + 0x9c], 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 0x41a0ac
push eax
push 4
push ebx
call fcn.00419f40
add esp, 0xc
cmp byte [esp + 0x98], 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 0x41a0e2
push eax
push 8
push ebx
call fcn.00419f40
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 0x41a162
lea eax, [esp + 8]
push esi
push eax
call fcn.00419660
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 0x41a162
test esi, esi
jne 0x41a132
mov ecx, dword [esp + 0x20]
xor esi, esi
cmp dword [ecx], esi
cmovne esi, ecx
test esi, esi
je 0x41a1ac
lea eax, [esp + 8]
push esi
push eax
call fcn.00419660
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.004628d0
mov esi, dword [esi]
add esp, 0x14
cmp dword [esi], 0
je 0x41a1ac
test esi, esi
jne 0x41a171
mov esi, dword [ebx + 0x160]
xor eax, eax
cmp dword [esi], eax
cmove esi, eax
test esi, esi
je 0x41a2fe
cmp dword [esi + 0x18], eax
jne 0x41a1d9
mov esi, dword [esi]
cmp dword [esi], eax
je 0x41a2fe
test esi, esi
jne 0x41a1c1
jmp 0x41a2fe
test esi, esi
je 0x41a2fe
push ebp
push edi
mov edi, dword [esi + 0x18]
nop word [eax + eax]
cmp byte [esp + 0xa8], 0
je 0x41a2b1
cmp edi, dword [esp + 0x14]
jne 0x41a2b1
xor ebx, ebx
lea eax, [edi + 0x20]
cmp dword [edi + 0x18], eax
cmovne ebx, dword [edi + 0x18]
cmp dword [ebx + 8], 0
jne 0x41a21e
xor ebp, ebp
jmp 0x41a22e
mov eax, dword [ebx + 4]
xor ecx, ecx
mov ebx, eax
cmp dword [eax + 4], ecx
lea ebp, [ecx + 1]
cmove ebx, ecx
push ebx
call fcn.004073b0
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
movups xmmword [esp + 0x60], xmm0
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x6c], ecx
movups xmm0, xmmword [esp + 0x60]
push eax
lea eax, [esp + 0x30]
movups xmmword [esp + 0x78], xmm0
push eax
mov dword [esp + 0x7c], ebp
lea eax, [esp + 0x90]
mov dword [esp + 0x80], ebx
movups xmm0, xmmword [esp + 0x7c]
push eax
movups xmmword [esp + 0x94], xmm0
call fcn.00419700
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp byte [eax + 0x38], 4
jne 0x41a2b1
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00419d10
add esp, 0xc
cmp byte [esp + 0xa4], 0
je 0x41a2c9
lea eax, [esp + 0x10]
push edi
push eax
call fcn.00419ba0
add esp, 8
push 3
push edi
call fcn.0040b910
mov esi, dword [esi]
add esp, 8
cmp dword [esi], 0
je 0x41a2f5
test esi, esi
je 0x41a2f5
nop
mov edi, dword [esi + 0x18]
test edi, edi
jne 0x41a1f0
mov esi, dword [esi]
cmp dword [esi], edi
je 0x41a2f5
test esi, esi
jne 0x41a2e0
mov ebx, dword [esp + 0x9c]
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 0x41a345
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 0x41a386
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 0x41a3c7
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 0x41a408
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.00417330
push 0
push dword [esp + 0x58]
call fcn.004627c0
add esp, 0xc
pop esi
pop ebx
add esp, 0x88
ret