Function at 0x6675c380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x667894b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [esp + 0x20]
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ecx, ecx
mov dword [esp + 0x14], esi
mov byte [esi], al
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
cmp ebx, ecx
jbe 0x6675c418
mov eax, ebx
jge 0x6675c3c5
xor eax, eax
push eax
call fcn.66766ab2
mov ebp, dword [esi + 8]
mov edi, eax
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebp
mov ecx, edi
je 0x6675c3ea
test ecx, ecx
je 0x6675c3e4
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, ebp
jne 0x6675c3dc
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x34], eax
call fcn.667661a3
lea eax, [edi + ebx]
add esp, 4
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x6675c40b
xor ecx, ecx
jmp 0x6675c410
mov ecx, dword [esi + 8]
sub ecx, eax
add ecx, edi
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
test ebx, ebx
jbe 0x6675c575
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov edi, eax
cmp ecx, 1
jae 0x6675c4ec
mov edx, dword [esi + 4]
test edx, edx
je 0x6675c44f
mov ecx, eax
sub ecx, edx
cmp ecx, 1
ja 0x6675c454
mov ecx, 1
test edx, edx
jne 0x6675c45c
xor eax, eax
jmp 0x6675c45e
sub eax, edx
add eax, ecx
test eax, eax
mov dword [esp + 0x10], eax
jge 0x6675c46a
xor eax, eax
push eax
call fcn.66766ab2
mov edx, dword [esi + 4]
add esp, 4
mov ebx, eax
mov ecx, esi
push ebx
push edi
push edx
call fcn.6675b690
mov ebp, eax
mov eax, dword [esp + 0x30]
push eax
push 1
push ebp
mov ecx, esi
call fcn.6675bfe0
mov ecx, dword [esi + 8]
inc ebp
push ebp
push ecx
push edi
mov ecx, esi
call fcn.6675b690
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x1c], eax
call fcn.667661a3
mov edx, dword [esp + 0x14]
add esp, 4
lea eax, [ebx + edx]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x6675c4d7
mov ebp, dword [esp + 0x30]
xor ecx, ecx
mov dword [esi + 4], ebx
lea ecx, [ecx + ebx + 1]
mov dword [esi + 8], ecx
jmp 0x6675c561
mov ecx, dword [esi + 8]
mov ebp, dword [esp + 0x30]
sub ecx, eax
mov dword [esi + 4], ebx
lea ecx, [ecx + ebx + 1]
mov dword [esi + 8], ecx
jmp 0x6675c561
mov ecx, eax
sub ecx, edi
cmp ecx, 1
jae 0x6675c527
lea edx, [edi + 1]
mov ecx, esi
push edx
push eax
push edi
call fcn.6675b690
mov eax, dword [esi + 8]
mov ecx, edi
sub ecx, eax
push ebp
inc ecx
push ecx
push eax
mov ecx, esi
call fcn.6675bfe0
mov eax, dword [esi + 8]
cmp edi, eax
je 0x6675c55e
mov dl, byte [ebp]
mov byte [edi], dl
inc edi
cmp edi, eax
jne 0x6675c51b
jmp 0x6675c55e
lea ecx, [eax - 1]
push eax
push eax
mov dword [esp + 0x38], ecx
push ecx
mov ecx, esi
call fcn.6675b690
mov ecx, dword [esi + 8]
lea eax, [ecx - 1]
cmp edi, eax
je 0x6675c54d
mov dl, byte [eax - 1]
dec eax
dec ecx
cmp eax, edi
mov byte [ecx], dl
jne 0x6675c542
lea eax, [edi + 1]
cmp edi, eax
je 0x6675c55e
mov cl, byte [ebp]
mov byte [edi], cl
inc edi
cmp edi, eax
jne 0x6675c554
inc dword [esi + 8]
mov eax, dword [esp + 0x2c]
inc ebp
dec eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
jne 0x6675c42c
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8