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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x4fe0c0]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, ecx
lea ecx, [esp + 0x88]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x5c], esi
mov eax, dword [esi]
call dword [eax + 0x5c]
mov eax, dword [esi + 0x11c]
mov ecx, esi
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x120]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x94]
sub eax, dword [esi + 0x124]
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x98]
sub eax, dword [esi + 0x128]
sub eax, dword [esp + 0x90]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
call eax
xor ecx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
test eax, eax
jle 0x4155e9
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x4c]
call eax
mov edi, eax
test edi, edi
je case.default.0x414fe3
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0xd0]
call edx
test eax, eax
je case.default.0x414fe3
mov eax, dword [edi]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call dword [eax + 0x80]
mov eax, dword [edi + 0xf0]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x5c]
mov eax, dword [edi + 0xa4]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x3c], eax
xorps xmm0, xmm0
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xa0]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
movaps xmmword [esp + 0x14], xmm0
mov eax, dword [eax + 0x5c]
call eax
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
sub edx, dword [eax]
sub ecx, dword [eax + 4]
cmp dword [esp + 0x54], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], ecx
jne 0x414f19
cmp dword [esp + 0x44], 0
je 0x414fd6
mov eax, dword [esp + 0x3c]
cmp eax, 1
je 0x414f27
cmp eax, 3
jne 0x414f55
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
test ecx, ecx
je 0x414f5d
test edx, edx
jne 0x414f5d
mov eax, dword [esp + 0x40]
mov ecx, edi
sub eax, dword [esp + 0x48]
sub eax, dword [esp + 0x74]
mov edx, dword [edi]
sub eax, dword [esp + 0x6c]
push 0
push eax
call dword [edx + 0x68]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
test eax, eax
je 0x414f66
cmp eax, 2
jne 0x414fa0
test edx, edx
je 0x414fa0
test ecx, ecx
jne 0x414fa0
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x78]
mov edx, dword [edi]
sub eax, dword [esp + 0x70]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
lea eax, [esp + 0x64]
mov ecx, edi
push eax
mov eax, dword [edi]
call dword [eax + 0xe4]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x50], edx
jmp 0x414fc4
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0xe4]
cmp dword [esp + 0x54], 0
je 0x414fc0
mov edx, dword [esp + 0x64]
mov dword [esp + 0x50], edx
jmp 0x414fc4
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x44], 0
cmovne ecx, dword [esp + 0x68]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x3c]
cmp eax, 0xe
ja case.default.0x414fe3
jmp dword [eax*4 + 0x41563c]
test byte [esp + 0x30], 2
je 0x41500a
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x4c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
jmp 0x41500e
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x48]
add edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
add eax, esi
cmp dword [esp + 0x44], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
je 0x415061
mov edx, dword [esp + 0x28]
mov eax, edx
sub eax, esi
sub eax, dword [esp + 0x78]
sub eax, dword [esp + 0x3c]
cmp ecx, eax
jge 0x415053
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
add eax, ecx
jmp 0x415069
sub edx, dword [esp + 0x78]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x30]
jmp 0x41506d
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x54], 0
je 0x41507a
add edx, dword [esp + 0x50]
jmp 0x415085
sub edx, dword [esp + 0x7c]
add edx, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x58]
add eax, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], eax
jmp 0x4155c0
test byte [esp + 0x30], 2
je 0x4150d2
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x4c]
sub eax, ecx
mov dword [esp + 0x2c], eax
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x2c]
sar edx, 1
sub eax, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x78], eax
mov eax, edx
mov dword [esp + 0x70], edx
jmp 0x4150e2
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
add eax, esi
sub edx, dword [esp + 0x74]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], edx
je 0x41511d
sub eax, esi
sub eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x3c]
cmp ecx, eax
jge 0x415119
mov eax, dword [esp + 0x14]
add eax, ecx
jmp 0x415121
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
cmp dword [esp + 0x54], 0
mov dword [esp + 0x1c], eax
je 0x415145
sub edx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x10], edx
sub edx, dword [esp + 0x6c]
mov dword [esp + 0x40], edx
jmp 0x4155c0
sub edx, dword [esp + 0x84]
add edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x10], edx
sub edx, dword [esp + 0x6c]
mov dword [esp + 0x40], edx
jmp 0x4155c0
cmp dword [esp + 0x30], 1
jne 0x415185
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x48]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
jmp 0x415189
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
add edx, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
add eax, dword [esp + 0x48]
cmp dword [esp + 0x54], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
je 0x4151dc
mov edx, dword [esp + 0x40]
mov eax, edx
sub eax, dword [esp + 0x10]
sub eax, dword [esp + 0x74]
cmp dword [esp + 0x50], eax
jge 0x4151ce
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
jmp 0x4151e4
sub edx, dword [esp + 0x74]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
jmp 0x4151e8
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x44], 0
je 0x4151f3
add edx, ecx
jmp 0x415201
sub edx, dword [esp + 0x80]
add edx, dword [esp + 0x88]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x58]
add eax, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x4c], eax
jmp 0x4155c0
cmp dword [esp + 0x30], 1
jne 0x415238
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x48]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
jmp 0x41523c
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x78]
add eax, dword [esp + 0x48]
cmp dword [esp + 0x54], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
je 0x41528b
mov edx, dword [esp + 0x40]
mov eax, edx
sub eax, dword [esp + 0x10]
sub eax, dword [esp + 0x74]
cmp dword [esp + 0x50], eax
jge 0x41527d
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
jmp 0x415293
sub edx, dword [esp + 0x74]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
jmp 0x415297
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x44], 0
je 0x4152b5
mov esi, dword [esp + 0x58]
sub edx, ecx
mov dword [esp + 0x14], edx
sub edx, dword [esp + 0x70]
mov dword [esp + 0x28], edx
jmp 0x4155c0
sub edx, dword [esp + 0x88]
add edx, dword [esp + 0x80]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], edx
sub edx, dword [esp + 0x70]
mov dword [esp + 0x28], edx
jmp 0x4155c0
test byte [esp + 0x30], 1
mov esi, dword [esp + 0x40]
je 0x41530e
mov eax, esi
sub eax, dword [esp + 0x48]
sub eax, edx
mov dword [esp + 0x44], eax
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x44]
sar edx, 1
sub eax, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x74], eax
jmp 0x41531e
mov eax, dword [esp + 0x74]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
test byte [esp + 0x30], 2
je 0x41534a
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x4c]
sub eax, ecx
mov dword [esp + 0x30], eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x30]
sar ecx, 1
sub eax, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], eax
jmp 0x415352
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x4c]
mov edx, esi
sub edx, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x30], eax
sub esi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x48]
cmovl eax, dword [esp + 0x48]
cmp ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
cmovl ecx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x40]
mov dword [esp + 0x48], 0
cmovg edx, dword [esp + 0x40]
cmp esi, dword [esp + 0x28]
mov dword [esp + 0x18], edx
cmovg esi, dword [esp + 0x28]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x28], 0
jmp 0x4155bc
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
sub eax, ecx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
lea esi, [ecx + eax]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
add esi, dword [esp + 0x6c]
cdq
sub eax, edx
mov dword [esp + 0x10], esi
sar eax, 1
add eax, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x50]
add eax, esi
mov esi, dword [esp + 0x58]
jmp 0x4155ae
mov ecx, dword [esi + 0x50]
sub ecx, dword [esi + 0x48]
sub ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
sub ecx, edx
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jmp 0x4155c0
mov ecx, dword [esi + 0x54]
sub ecx, dword [esi + 0x4c]
mov eax, dword [esp + 0x6c]
sub ecx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
add eax, edx
mov dword [esp + 0x1c], ecx
sub ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x4155bc
mov eax, dword [esi + 0x50]
sub eax, dword [esi + 0x48]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x54]
sub eax, dword [esi + 0x4c]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
sub eax, ecx
mov dword [esp + 0x14], eax
jmp 0x4155c0
mov eax, dword [esi]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov eax, dword [esp + 0x6c]
sub ecx, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x4155c0
mov eax, dword [esi]
lea ecx, [esp + 0xbc]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
sub ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xcc]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
sub ecx, eax
sub ecx, dword [esp + 0x78]
jmp 0x4155b6
mov eax, dword [esi]
lea ecx, [esp + 0xdc]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov eax, dword [esp + 0x50]
sub ecx, eax
sub ecx, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
jmp 0x4155c0
mov eax, dword [esi]
lea ecx, [esp + 0xec]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov eax, dword [esp + 0x50]
sub ecx, eax
sub ecx, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xfc]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
sub ecx, dword [esp + 0x78]
mov dword [esp + 0x1c], ecx
jmp 0x4155c0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], eax
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x1c], eax
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 + 0x5c]
inc ecx
mov dword [esp + 0x5c], ecx
cmp ecx, dword [esp + 0x60]
jl 0x414e70
mov ecx, esi
call fcn.00406520
mov edi, dword [esp + 0x58]
mov esi, dword [esi + 0x34]
cmp esi, dword [edi + 0x38]
je 0x41561f
nop dword [eax]
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
call eax
test eax, eax
je 0x415617
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x54]
add esi, 4
cmp esi, dword [edi + 0x38]
jne 0x415600
mov ecx, dword [esp + 0x10c]
xor eax, eax
mov dword [edi + 0xa8], eax
pop edi
pop esi
xor ecx, esp
call fcn.0049cdfb
mov esp, ebp
pop ebp
ret