Function at 0x677105
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x6a12dc
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x79b544]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [0x7aee91], bl
call fcn.006766e5
mov edi, 0x750660
lea ecx, [ebp - 0x1c]
push edi
call fcn.004514db
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x424]
push ecx
cmp dword [eax - 0xc], ebx
jne 0x677183
mov ecx, esp
push edi
call fcn.004514db
call fcn.00689499
jmp 0x67719f
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x14], esi
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.006775b9
mov esi, dword [ebp - 0x10]
pop ecx
call fcn.00474f38
push eax
lea ecx, [ebp - 0x10]
call fcn.00451c1b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.006893e7
push str..log
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0045156f
push eax
lea eax, [ebp - 0x10]
push 0x751814
push eax
call fcn.00452465
mov byte [ebp - 4], 2
add esp, 0x10
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
lea eax, [ebp - 0x10]
mov ecx, 0x7af0e4
push eax
call fcn.00451d78
mov eax, dword [0x7af0e4]
cmp dword [eax - 4], 1
jle 0x677216
push dword [eax - 0xc]
mov ecx, 0x7af0e4
call fcn.00451ca4
mov eax, dword [0x7af0e4]
push str.Connect.log
push eax
push 0x751814
push 0x7af0e0
call fcn.00452465
push dword [ebp - 0x18]
call fcn.0044ea83
add esp, 0x14
mov ecx, 0x7af0ec
push eax
push dword [ebp - 0x18]
call fcn.00452145
mov ecx, edi
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x67726e
test dx, dx
je 0x67726a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x67726e
add eax, 4
add ecx, 4
test dx, dx
jne 0x677248
mov eax, ebx
jmp 0x677273
sbb eax, eax
or eax, 1
test eax, eax
je 0x67728a
push esi
call fcn.0044ea83
pop ecx
push eax
push esi
mov ecx, 0x7af0f0
call fcn.00452145
mov eax, edi
mov cx, word [esi]
cmp cx, word [eax]
jne 0x6772b2
test cx, cx
je 0x6772ae
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x6772b2
add esi, 4
add eax, 4
test cx, cx
jne 0x67728c
mov eax, ebx
jmp 0x6772b7
sbb eax, eax
or eax, 1
test eax, eax
je 0x6772d3
mov esi, str.Connect.log
push esi
call fcn.0044ea83
pop ecx
push eax
push esi
mov ecx, 0x7af0e8
call fcn.00452145
call fcn.0067761b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x7aeea8], eax
lea eax, [ebp]
push 0x104
push eax
call fcn.00516dbf
pop ecx
pop ecx
test eax, eax
je 0x677572
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x7aee94], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00516e5a
lea eax, [ebp - 0x24]
push eax
call fcn.00517126
push dword [0x7af0e4]
mov dword [ebp - 0x14], eax
mov dword [0x7aeea0], ebx
call fcn.0051621b
mov cx, word [0x750660]
neg eax
push 0x206
sbb esi, esi
mov word [ebp + 0x208], cx
lea eax, [ebp + 0x20a]
and esi, 1
push ebx
push eax
call fcn.00506c70
add esp, 0x18
lea eax, [ebp + 0x208]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x7af0e0]
mov ecx, eax
mov dx, word [ecx]
cmp dx, word [edi]
jne 0x677397
test dx, dx
je 0x67739c
mov dx, word [ecx + 2]
cmp dx, word [edi + 2]
jne 0x677397
add ecx, 4
add edi, 4
test dx, dx
jne 0x677373
jmp 0x67739c
sbb ebx, ebx
or ebx, 1
test ebx, ebx
jne 0x6773d5
mov eax, dword [0x7af0e4]
cmp dword [eax - 4], 1
jle 0x6773bd
push dword [eax - 0xc]
mov ecx, 0x7af0e4
call fcn.00451ca4
mov eax, dword [0x7af0e4]
push eax
push 0x764cc4
push 0x7af0e0
call fcn.00452465
mov eax, dword [0x7af0e0]
add esp, 0xc
push 0x757354
push eax
call fcn.00513410
mov dword [0x7aee98], eax
pop ecx
pop ecx
test eax, eax
je 0x677561
push 0x80
push dword [0x7af0e0]
call fcn.00516af2
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x677572
push dword [0x7aee98]
call fcn.00516a7e
mov edi, 0xffff
jmp 0x677433
cmp ax, 0xa
jne 0x677428
inc dword [0x7aeea0]
push dword [0x7aee98]
call fcn.00516a7e
movzx eax, ax
pop ecx
cmp ax, di
jne 0x67741c
push dword [0x7aee98]
mov byte [0x7aee92], 1
call fcn.00513506
pop ecx
test esi, esi
je 0x677572
push 0x764cc0
push dword [0x7af0e0]
call fcn.00513410
mov dword [0x7aee98], eax
pop ecx
pop ecx
test eax, eax
je 0x677572
push str._n_n_n
push eax
call fcn.00455a24
mov esi, dword [0x7af0f0]
pop ecx
pop ecx
cmp dword [esi - 4], 1
jle 0x6774a2
push dword [esi - 0xc]
mov ecx, 0x7af0f0
call fcn.00451ca4
mov esi, dword [0x7af0f0]
mov eax, dword [0x7af0ec]
cmp dword [eax - 4], 1
jle 0x6774bf
push dword [eax - 0xc]
mov ecx, 0x7af0ec
call fcn.00451ca4
mov eax, dword [0x7af0ec]
mov ecx, dword [ebp - 0x14]
push esi
push eax
mov eax, dword [ecx + 0x14]
add eax, 0x76c
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str._t_t_tLogging_started_from:___.2d__.2d__.4d__GMT___n_t_t_tProduct_Name:__s__n_t_t_tVersion:__s
push dword [0x7aee98]
call fcn.00455a24
push str._n_n
push dword [0x7aee98]
call fcn.00455a24
mov eax, dword [0x7af0e0]
add esp, 0x24
cmp dword [eax - 4], 1
jle 0x677515
push dword [eax - 0xc]
mov ecx, 0x7af0e0
call fcn.00451ca4
mov eax, dword [0x7af0e0]
push eax
mov esi, 0x764e40
push esi
push dword [0x7aee98]
call fcn.00455a24
lea eax, [ebp + 0x208]
push eax
push esi
push dword [0x7aee98]
call fcn.00455a24
push str.PDT_TIME_STARTED_n
push dword [0x7aee98]
call fcn.00455a24
push dword [0x7aee98]
add dword [0x7aeea0], 9
call fcn.00513506
add esp, 0x24
jmp 0x677572
call fcn.005123f4
cmp dword [eax], 2
je 0x677572
mov byte [0x7aee91], 1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp + 0x424]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0049b511
add ebp, 0x414
leave
ret