Function at 0x6c5f40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x73ac18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x781690]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x781690
mov dword [esp + 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], 0
xor ebx, ebx
call fcn.006c5880
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.006c5810
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6c5fd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x6c6119
push ebp
mov al, byte [esp + 0x40]
test al, al
je 0x6c5ffa
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MUtils.dll_void___cdecl_MNStringUtils::Trim_class_ATL::CStringT_unsigned_short_int__class_ATL::StrTraitATL_unsigned_short_int__class_ATL::ChTraitsCRT_unsigned_short_int_____]
add esp, 4
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x1c]
inc ebx
push edx
lea ecx, [esi + 4]
mov dword [esp + 0x24], ebx
call fcn.006c5de0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x6c6069
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x6c605d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x6c605d
push eax
call fcn.006c3180
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x6c6052
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [edi], ebx
mov ebx, dword [esp + 0x20]
jmp 0x6c6069
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, edi
call fcn.006c22a0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.006c5880
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x30], 2
je 0x6c60de
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x6c60d0
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x6c60d0
push eax
call fcn.006c3180
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x6c60c7
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x6c60de
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.006c22a0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6c6101
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov esi, dword [esp + 0x18]
jne 0x6c5fe4
mov edi, dword [esp + 0x38]
pop ebp
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
test ecx, ecx
seta cl
mov byte [esi + 0x10], cl
mov ecx, dword [edx]
test ecx, ecx
jne 0x6c6133
or eax, 0xffffffff
jmp 0x6c6159
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x6c6141
or eax, 0xffffffff
jmp 0x6c6159
push ecx
push eax
call dword [sym.imp.MSVCR71.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x6c6155
or eax, 0xffffffff
jmp 0x6c6159
sub eax, dword [edi]
sar eax, 1
cmp eax, 0xffffffff
sete al
mov byte [esi + 0x11], al
mov eax, dword [esp + 0xc]
mov esi, dword [esi + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6c618b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10