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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x4e3018]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
mov dword [esp + 0x3c], edi
mov eax, dword [edi]
call dword [eax + 0x5c]
mov eax, dword [edi + 0x11c]
mov ecx, edi
mov esi, dword [esp + 0x84]
sub esi, dword [edi + 0x124]
sub esi, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x120]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x88]
sub eax, dword [edi + 0x128]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
mov dword [esp + 0x48], esi
mov eax, dword [eax + 0x48]
call eax
xor ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
test eax, eax
jle 0x41d305
nop word [eax + eax]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x4c]
call eax
mov edi, eax
mov dword [esp + 0x44], edi
test edi, edi
je case.default.0x41cd15
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0xd0]
call edx
test eax, eax
je case.default.0x41cd15
mov eax, dword [edi]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call dword [eax + 0x80]
mov eax, dword [edi + 0xf0]
lea ecx, [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x5c]
mov eax, dword [edi + 0xa4]
lea ecx, [esp + 0x8c]
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xa0]
mov dword [esp + 0x40], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
movaps xmmword [esp + 0x14], xmm0
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub ecx, dword [eax]
sub edx, dword [eax + 4]
cmp dword [esp + 0x40], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jne 0x41cc4d
cmp dword [esp + 0x3c], 0
je 0x41cd08
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x41cc5b
cmp eax, 3
jne 0x41cc87
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x41cc8f
test edx, edx
jne 0x41cc8f
mov edx, dword [edi]
mov eax, esi
sub eax, dword [esp + 0x28]
mov ecx, edi
sub eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
push 0
push eax
call dword [edx + 0x68]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
test eax, eax
je 0x41cc98
cmp eax, 2
jne 0x41ccd2
test edx, edx
je 0x41ccd2
test ecx, ecx
jne 0x41ccd2
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sub eax, dword [esp + 0x68]
mov edx, dword [edi]
sub eax, dword [esp + 0x60]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
lea eax, [esp + 0x54]
mov ecx, edi
push eax
mov eax, dword [edi]
call dword [eax + 0xe4]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
jmp 0x41ccf6
mov eax, dword [edi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call dword [eax + 0xe4]
cmp dword [esp + 0x40], 0
je 0x41ccf2
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
jmp 0x41ccf6
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x3c], 0
cmovne edx, dword [esp + 0x58]
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0xc]
cmp eax, 0xe
ja case.default.0x41cd15
jmp dword [eax*4 + 0x41d324]
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, dword [esp + 0x24]
test byte [esp + 8], 2
mov dword [esp + 8], eax
je 0x41cd42
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
jmp 0x41cd46
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x28]
add edx, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
add eax, dword [esp + 0x24]
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
je 0x41cd85
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x68]
sub eax, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 8]
jge 0x41cd85
add eax, dword [esp + 0x14]
jmp 0x41cd8b
mov eax, ecx
sub eax, dword [esp + 0x68]
cmp dword [esp + 0x40], 0
mov dword [esp + 0x1c], eax
je 0x41cd9c
add edx, dword [esp + 0x30]
jmp 0x41cda4
sub edx, dword [esp + 0x6c]
add edx, dword [esp + 0x74]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x44]
add eax, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], eax
jmp 0x41d2d8
test byte [esp + 8], 2
je 0x41cdef
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov eax, ecx
sub eax, edx
mov dword [esp + 8], eax
cdq
sub eax, edx
mov edx, dword [esp + 8]
sar eax, 1
sub edx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], edx
jmp 0x41ce05
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov edi, dword [esp + 0x60]
sub ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0xc]
sub esi, dword [esp + 0x64]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
add edx, edi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 8]
je 0x41ce46
sub ecx, edx
sub ecx, edi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0xc]
jge 0x41ce46
mov eax, dword [esp + 0x24]
add eax, edi
add eax, ecx
jmp 0x41ce48
sub eax, edx
cmp dword [esp + 0x40], 0
mov dword [esp + 0x1c], eax
je 0x41ce6c
sub esi, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], esi
sub esi, dword [esp + 0x5c]
mov dword [esp + 0x48], esi
jmp 0x41d2d8
sub esi, dword [esp + 0x74]
add esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], esi
sub esi, dword [esp + 0x5c]
mov dword [esp + 0x48], esi
jmp 0x41d2d8
cmp dword [esp + 8], 1
jne 0x41cea7
mov eax, esi
sub eax, dword [esp + 0x28]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
jmp 0x41ceab
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x60]
mov dword [esp + 8], eax
add eax, dword [esp + 0x28]
cmp dword [esp + 0x40], 0
mov dword [esp + 0x10], eax
mov eax, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edx
je 0x41cee6
sub eax, dword [esp + 0x10]
sub eax, dword [esp + 0x64]
cmp ecx, eax
jge 0x41cee4
mov eax, dword [esp + 0x10]
add eax, ecx
jmp 0x41ceea
mov eax, esi
sub eax, dword [esp + 0x64]
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x18], eax
je 0x41cf03
mov edx, dword [esp + 0x34]
add dword [esp + 0xc], edx
mov edx, dword [esp + 0xc]
jmp 0x41cf0b
sub edx, dword [esp + 0x70]
add edx, dword [esp + 0x78]
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x44]
add eax, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
jmp 0x41d2d8
cmp dword [esp + 8], 1
jne 0x41cf42
mov eax, esi
sub eax, dword [esp + 0x28]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov edx, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
jmp 0x41cf4a
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x68]
cmp dword [esp + 0x40], 0
mov dword [esp + 0x10], eax
mov eax, esi
mov dword [esp + 0x1c], ecx
je 0x41cf85
sub eax, dword [esp + 0x10]
sub eax, edx
mov edx, dword [esp + 0x30]
cmp edx, eax
jge 0x41cf7d
mov eax, dword [esp + 0x10]
add eax, edx
jmp 0x41cf87
mov eax, esi
sub eax, dword [esp + 0x64]
jmp 0x41cf87
sub eax, edx
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x18], eax
je 0x41cfab
sub ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x2c], ecx
jmp 0x41d2d8
sub ecx, dword [esp + 0x78]
add ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x2c], ecx
jmp 0x41d2d8
test byte [esp + 8], 1
je 0x41cffa
mov eax, esi
sub eax, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x44], eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x44]
sar ecx, 1
sub eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], eax
jmp 0x41d00a
mov eax, dword [esp + 0x64]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
test byte [esp + 8], 2
je 0x41d03a
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x34]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x68], ecx
mov ecx, eax
mov dword [esp + 0x60], eax
jmp 0x41d046
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], eax
add ecx, dword [esp + 0x24]
mov edx, esi
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
sub esi, dword [esp + 8]
cmp eax, dword [esp + 0x28]
cmovl eax, dword [esp + 0x28]
cmp ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
cmovl ecx, dword [esp + 0x24]
cmp edx, dword [esp + 0x48]
mov dword [esp + 0x28], 0
cmovg edx, dword [esp + 0x48]
cmp esi, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
cmovg esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
xor esi, esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], esi
jmp 0x41d2d4
mov eax, esi
mov esi, dword [esp + 0x28]
sub eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x60]
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sub eax, dword [esp + 0x34]
add esi, dword [esp + 0x5c]
cdq
sub eax, edx
mov dword [esp + 0x10], esi
sar eax, 1
add eax, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x30]
add eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
add eax, ecx
jmp 0x41d2cc
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
mov ecx, dword [eax + 0x50]
sub ecx, dword [eax + 0x48]
sub ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], ecx
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
add eax, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jmp 0x41d2d8
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 0x54]
sub ecx, dword [esi + 0x4c]
sub ecx, dword [esp + 0x68]
add eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
sub ecx, edx
mov dword [esp + 0x18], eax
jmp 0x41d2d0
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
mov eax, dword [ecx + 0x50]
sub eax, dword [ecx + 0x48]
sub eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
sub eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x54]
sub eax, dword [ecx + 0x4c]
sub eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
sub eax, edx
mov dword [esp + 0x14], eax
jmp 0x41d2d8
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x9c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 8]
sub ecx, dword [esp + 0x64]
sub ecx, dword [eax]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x41d2d8
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xac]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
lea edx, [esp + 0xbc]
push edx
mov ecx, dword [eax + 8]
sub ecx, dword [esp + 0x68]
sub ecx, dword [eax]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov eax, dword [esp + 0x34]
sub ecx, eax
sub ecx, dword [esp + 0x68]
add eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x41d2d4
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xcc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov eax, dword [esp + 0x30]
sub ecx, eax
sub ecx, dword [esp + 0x64]
add eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
jmp 0x41d2d8
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xdc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
lea edx, [esp + 0xec]
push edx
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov eax, dword [esp + 0x34]
sub ecx, eax
sub ecx, dword [esp + 0x68]
add eax, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x1c], ecx
jmp 0x41d2d8
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x10], eax
add eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [edx + ecx]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
movups xmm0, xmmword [esp + 0x10]
mov edx, dword [edi]
mov ecx, edi
push 0
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x58]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x4c], ecx
cmp ecx, dword [esp + 0x50]
jl 0x41cba0
mov ecx, edi
call fcn.00417120
mov ecx, dword [esp + 0xfc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00486999
mov esp, ebp
pop ebp
ret