Function at 0x6d5f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
xor edx, edx
push ebp
push 0x6d6116
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.006d5ea0
mov esi, eax
mov byte [esi + 0x48], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, edi
call fcn.006576fc
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.006576fc
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov eax, ebx
test eax, eax
je 0x6d5fce
sub eax, 4
mov eax, dword [eax]
mov esi, eax
dec esi
test esi, esi
jl 0x6d60ce
inc esi
xor edi, edi
mov eax, dword [ebx + edi*8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + edi*8 + 4]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.006d6580
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
cmp byte [eax + 0x48], 2
jne 0x6d6068
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x6d6022
cmp dword [ebp - 0x20], 0
jb 0x6d6040
jmp 0x6d6024
jl 0x6d6040
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.006d6580
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x24], edx
jmp 0x6d605a
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.006d6580
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x6d60c6
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1c], edx
cmp dword [ebp - 0x24], 0
jne 0x6d6082
cmp dword [ebp - 0x28], 0
jb 0x6d60a0
jmp 0x6d6084
jl 0x6d60a0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.006d6580
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x24], edx
jmp 0x6d60ba
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.006d6580
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
inc edi
dec esi
jne 0x6d5fdc
cmp dword [ebp - 0x24], 0
jne 0x6d60dc
cmp dword [ebp - 0x28], 0
jb 0x6d60f8
jmp 0x6d60de
jl 0x6d60f8
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.006d6580
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x14], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d611d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 4]
pop eax
jmp eax