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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x663a90]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
mov esi, ecx
lea ecx, [esp + 0x88]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x10], esi
mov eax, dword [esi]
call dword [eax + 0x60]
mov eax, dword [esi + 0x120]
mov ecx, esi
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x124]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x94]
sub eax, dword [esi + 0x128]
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x98]
sub eax, dword [esi + 0x12c]
sub eax, dword [esp + 0x90]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
call eax
xor ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
test eax, eax
jle 0x41dd03
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
mov edi, eax
test edi, edi
je 0x41dcf0
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0xd4]
call edx
test eax, eax
je 0x41dcf0
mov eax, dword [edi]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call dword [eax + 0x84]
mov eax, dword [edi + 0xf4]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x60]
mov eax, dword [edi + 0xa4]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x34], eax
xorps xmm0, xmm0
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xa0]
mov dword [esp + 0x44], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
movaps xmmword [esp + 0x14], xmm0
mov eax, dword [eax + 0x60]
call eax
mov edx, dword [esp + 0x44]
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
sub esi, dword [eax]
mov dword [esp + 0x30], ecx
test edx, edx
jne 0x41d5b5
cmp dword [esp + 0x48], edx
je 0x41d64a
mov eax, dword [esp + 0x34]
cmp eax, 1
je 0x41d5c3
cmp eax, 3
jne 0x41d5f1
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x41d5f5
test edx, edx
jne 0x41d5f5
mov eax, dword [esp + 0x3c]
mov ecx, edi
sub eax, dword [esp + 0x40]
sub eax, dword [esp + 0x74]
mov edx, dword [edi]
sub eax, dword [esp + 0x6c]
push 0
push eax
call dword [edx + 0x6c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
test eax, eax
je 0x41d5fe
cmp eax, 2
jne 0x41d61f
test edx, edx
je 0x41d61f
test ecx, ecx
jne 0x41d61f
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x38]
sub eax, dword [esp + 0x78]
mov edx, dword [edi]
sub eax, dword [esp + 0x70]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x74]
mov eax, dword [edi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call dword [eax + 0xe8]
cmp dword [esp + 0x44], 0
mov ecx, dword [esp + 0x30]
cmovne esi, dword [esp + 0x54]
cmp dword [esp + 0x48], 0
cmovne ecx, dword [esp + 0x58]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x34]
cmp eax, 0xd
ja case.default.0x41d657
jmp dword [eax*4 + 0x41dd20]
test byte [esp + 0x2c], 2
je 0x41d680
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x38]
sub eax, ecx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], edx
jmp 0x41d684
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add eax, edx
mov dword [esp + 0x34], edx
cmp dword [esp + 0x48], 0
mov dword [esp + 0x14], eax
je 0x41d6cb
mov edx, dword [esp + 0x28]
mov eax, edx
sub eax, dword [esp + 0x38]
sub eax, dword [esp + 0x78]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jge 0x41d6c7
mov eax, dword [esp + 0x14]
add eax, ecx
jmp 0x41d6d3
mov eax, edx
jmp 0x41d6cf
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x78]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x1c], eax
je 0x41d6f7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
add ecx, esi
add eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], eax
jmp 0x41dcd0
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x7c]
add ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], eax
jmp 0x41dcd0
test byte [esp + 0x2c], 2
je 0x41d74f
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x38]
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 + 0x34], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x78], eax
mov eax, edx
mov dword [esp + 0x70], edx
jmp 0x41d75f
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x34], eax
add eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x74]
cmp dword [esp + 0x48], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], edx
je 0x41d79e
sub eax, dword [esp + 0x38]
sub eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jge 0x41d79a
mov eax, dword [esp + 0x14]
add eax, ecx
jmp 0x41d7a2
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x1c], eax
je 0x41d7c0
sub edx, esi
mov dword [esp + 0x10], edx
sub edx, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
jmp 0x41dcd0
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x84]
add edx, eax
mov dword [esp + 0x10], edx
sub edx, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
jmp 0x41dcd0
cmp dword [esp + 0x2c], 1
jne 0x41d800
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x40]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
mov edx, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edx
jmp 0x41d808
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x38]
add ecx, dword [esp + 0x34]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x41d848
mov edx, dword [esp + 0x3c]
mov eax, edx
sub eax, ecx
sub eax, dword [esp + 0x74]
cmp esi, eax
jge 0x41d840
lea eax, [ecx + esi]
jmp 0x41d84e
mov eax, edx
sub eax, dword [esp + 0x74]
jmp 0x41d84e
mov eax, dword [esp + 0x3c]
sub eax, edx
cmp dword [esp + 0x48], 0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
jne 0x41d86b
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
jmp 0x41dcd0
cmp dword [esp + 0x2c], 1
jne 0x41d8a2
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x40]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
jmp 0x41d8a6
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x78]
add eax, dword [esp + 0x40]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
je 0x41d8f1
mov edx, dword [esp + 0x3c]
mov eax, edx
sub eax, dword [esp + 0x10]
sub eax, dword [esp + 0x74]
cmp esi, eax
jge 0x41d8e3
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
add eax, esi
jmp 0x41d8f9
sub edx, dword [esp + 0x74]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
jmp 0x41d8fd
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x48], 0
mov ecx, dword [esp + 0x30]
je 0x41d91b
sub edx, ecx
mov dword [esp + 0x14], edx
sub edx, dword [esp + 0x70]
mov dword [esp + 0x28], edx
jmp 0x41dcd0
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x88]
add edx, eax
mov dword [esp + 0x14], edx
sub edx, dword [esp + 0x70]
mov dword [esp + 0x28], edx
jmp 0x41dcd0
test byte [esp + 0x2c], 1
je 0x41d970
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x40]
sub eax, esi
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 + 0x34], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x74], eax
jmp 0x41d980
mov eax, dword [esp + 0x74]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
test byte [esp + 0x2c], 2
je 0x41d9aa
mov esi, dword [esp + 0x28]
sub esi, dword [esp + 0x38]
sub esi, ecx
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
sub esi, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x78], esi
jmp 0x41d9b6
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
add ecx, dword [esp + 0x38]
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
sub esi, dword [esp + 0x2c]
cmp eax, dword [esp + 0x40]
movups xmmword [esp + 0x5c], xmm0
cmovl eax, dword [esp + 0x40]
cmp ecx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
cmovl ecx, dword [esp + 0x38]
cmp edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
cmovg edx, dword [esp + 0x3c]
cmp esi, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
cmovg esi, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], eax
jmp 0x41dcd0
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x40]
sub eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
cdq
sub eax, edx
sar ecx, 1
add ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x6c]
sar eax, 1
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
add ecx, esi
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x41dcd0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], eax
add eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jmp 0x41dcd0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x50]
sub ecx, dword [eax + 0x48]
sub ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
sub ecx, esi
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jmp 0x41dcd0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
add eax, esi
mov dword [esp + 0x18], eax
mov esi, edx
mov ecx, dword [edx + 0x54]
sub ecx, dword [edx + 0x4c]
sub ecx, dword [esp + 0x78]
mov dword [esp + 0x1c], ecx
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
jmp 0x41dcd4
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x50]
sub eax, dword [edx + 0x48]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
sub eax, esi
mov esi, 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 0x41dcd4
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xac]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x60]
call eax
mov esi, dword [esp + 0x30]
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, esi
test byte [esp + 0x2c], 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x41dcd0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xbc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
sub ecx, esi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
add eax, esi
mov dword [esp + 0x1c], eax
jmp 0x41dcd0
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0xcc]
push ecx
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
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 + 0xdc]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov eax, dword [esp + 0x30]
sub ecx, eax
sub ecx, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jmp 0x41dcd4
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xec]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
sub ecx, esi
sub ecx, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
lea eax, [ecx + esi]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
jmp 0x41dcd0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xfc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
lea edx, [esp + 0x10c]
push edx
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
sub ecx, esi
sub ecx, dword [esp + 0x78]
mov dword [esp + 0x14], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
sub ecx, dword [esp + 0x78]
cmp dword [esp + 0x2c], 1
mov dword [esp + 0x1c], ecx
jne 0x41dcd0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [eax + 8]
sub ecx, esi
sub ecx, dword [eax]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
add eax, esi
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0xc]
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 + 0x5c]
jmp 0x41dcf0
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x4c], ecx
cmp ecx, dword [esp + 0x50]
jl 0x41d510
mov ecx, esi
call fcn.0041e6c0
mov ecx, dword [esp + 0x12c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00589cd3
mov esp, ebp
pop ebp
ret