Function at 0x6401a830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64054530
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x6407b1c0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call fcn.6400cc10
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0xac], 0
call fcn.6400cc10
mov byte [esp + 0xa8], 1
mov edx, dword [edi + 0x30]
sub edx, dword [esi + 0x30]
mov edi, dword [edi + 0x34]
sub edi, dword [esi + 0x34]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x5c], 0
jne 0x6401a8f7
push 0x10028
call fcn.6402d47e
add esp, 4
test eax, eax
je 0x6401a8ee
xorps xmm0, xmm0
mov dword [eax + 0x10008], 0
movsd qword [eax + 0x10000], xmm0
movaps xmm0, xmmword [0x64073250]
mov dword [eax + 0x10020], 0
movups xmmword [eax + 0x10010], xmm0
jmp 0x6401a8f0
xor eax, eax
mov edx, dword [esp + 0x14]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x24], eax
test eax, eax
je 0x6401aa9a
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [eax + 8]
mov esi, dword [eax]
mov dword [esp + 0x28], ebx
cmp ebx, ecx
jl 0x6401aa9a
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], ebx
cmp dword [eax + 0xc], ebx
jl 0x6401aa9a
test ebx, ebx
jle 0x6401aa80
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
imul ebx, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x98]
imul eax, edi
add ebx, esi
add ebx, edi
mov edi, dword [esp + 0x84]
imul edi, edx
add eax, dword [esp + 0x90]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
add edi, eax
mov eax, dword [esp + 0x50]
add edi, dword [esp + 0x70]
mov dword [esp + 0x20], edi
nop
xor esi, esi
test ecx, ecx
jle 0x6401aa5a
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x90]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x60]
sub ebx, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ebx
jmp 0x6401a9d0
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov al, byte [eax + esi]
movzx ecx, al
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + edi]
shl eax, 8
add eax, ecx
movzx eax, byte [eax + ebx]
mov ebx, dword [esp + 0x2c]
mov byte [ebx + edx], al
movzx eax, byte [edi]
mov ebx, dword [esp + 0x24]
shl eax, 8
add eax, ecx
movzx eax, byte [eax + ebx]
mov byte [edx], al
mov eax, dword [esp + 0x38]
movzx eax, byte [eax + edi]
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x2c]
mov al, byte [eax + ebx]
mov ebx, dword [esp + 0x34]
mov byte [ebx + edx], al
cmp byte [ecx + edx], 0
jne 0x6401aa36
cmp byte [edx], 0
jne 0x6401aa36
test al, al
jne 0x6401aa36
mov byte [ebx + edx], 1
add edi, dword [esp + 0x98]
inc esi
add edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x4c]
cmp esi, ecx
jl 0x6401a9d0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ebx, dword [esp + 0x28]
add edi, dword [esp + 0x84]
add edx, dword [esp + 0x54]
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
jne 0x6401a980
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
or eax, 0xffffffff
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc