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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x5000a8]
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 0x415655
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.0x415065
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0xd0]
call edx
test eax, eax
je case.default.0x415065
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 0x414f9d
cmp dword [esp + 0x3c], 0
je 0x415058
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x414fab
cmp eax, 3
jne 0x414fd7
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x414fdf
test edx, edx
jne 0x414fdf
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 0x414fe8
cmp eax, 2
jne 0x415022
test edx, edx
je 0x415022
test ecx, ecx
jne 0x415022
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 0x415046
mov eax, dword [edi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call dword [eax + 0xe4]
cmp dword [esp + 0x40], 0
je 0x415042
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
jmp 0x415046
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.0x415065
jmp dword [eax*4 + 0x415674]
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, dword [esp + 0x24]
test byte [esp + 8], 2
mov dword [esp + 8], eax
je 0x415092
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
jmp 0x415096
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 0x4150d5
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 0x4150d5
add eax, dword [esp + 0x14]
jmp 0x4150db
mov eax, ecx
sub eax, dword [esp + 0x68]
cmp dword [esp + 0x40], 0
mov dword [esp + 0x1c], eax
je 0x4150ec
add edx, dword [esp + 0x30]
jmp 0x4150f4
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 0x415628
test byte [esp + 8], 2
je 0x41513f
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 0x415155
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 0x415196
sub ecx, edx
sub ecx, edi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0xc]
jge 0x415196
mov eax, dword [esp + 0x24]
add eax, edi
add eax, ecx
jmp 0x415198
sub eax, edx
cmp dword [esp + 0x40], 0
mov dword [esp + 0x1c], eax
je 0x4151bc
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 0x415628
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 0x415628
cmp dword [esp + 8], 1
jne 0x4151f7
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 0x4151fb
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 0x415236
sub eax, dword [esp + 0x10]
sub eax, dword [esp + 0x64]
cmp ecx, eax
jge 0x415234
mov eax, dword [esp + 0x10]
add eax, ecx
jmp 0x41523a
mov eax, esi
sub eax, dword [esp + 0x64]
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x18], eax
je 0x415253
mov edx, dword [esp + 0x34]
add dword [esp + 0xc], edx
mov edx, dword [esp + 0xc]
jmp 0x41525b
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 0x415628
cmp dword [esp + 8], 1
jne 0x415292
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 0x41529a
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 0x4152d5
sub eax, dword [esp + 0x10]
sub eax, edx
mov edx, dword [esp + 0x30]
cmp edx, eax
jge 0x4152cd
mov eax, dword [esp + 0x10]
add eax, edx
jmp 0x4152d7
mov eax, esi
sub eax, dword [esp + 0x64]
jmp 0x4152d7
sub eax, edx
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x18], eax
je 0x4152fb
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 0x415628
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 0x415628
test byte [esp + 8], 1
je 0x41534a
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 0x41535a
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 0x41538a
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 0x415396
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 0x415624
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 0x41561c
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 0x415628
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 0x415620
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 0x415628
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 0x415628
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 0x415624
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 0x415628
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 0x415628
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 0x414ef0
mov ecx, edi
call fcn.00405620
mov ecx, dword [esp + 0xfc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0049d3ed
mov esp, ebp
pop ebp
ret