Function at 0x10040e82
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x2804]
mov eax, 0x2804
call fcn.10044f70
push 0xffffffffffffffff
push 0x1005eea1
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0x2800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x1ff
lea eax, [ebp + 0x2601]
push ebx
push eax
mov byte [ebp + 0x2600], bl
call fcn.10044b80
mov edi, 0x7ff
push edi
lea eax, [ebp + 0x1c01]
push ebx
push eax
mov byte [ebp + 0x1c00], bl
call fcn.10044b80
mov esi, 0x9ff
push esi
lea eax, [ebp + 0x1201]
push ebx
push eax
mov byte [ebp + 0x1200], bl
call fcn.10044b80
push esi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.10044b80
mov eax, dword [0x10184a50]
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x1200]
push ecx
lea ecx, [ebp + 0x2600]
push ecx
push eax
call fcn.100403ad
add esp, 0x40
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x1200]
push ecx
lea ecx, [ebp + 0x2600]
push ecx
push eax
call fcn.100403ad
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x1200]
push ecx
lea ecx, [ebp + 0x2600]
push ecx
push eax
call fcn.100403ad
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x1200]
push ecx
lea ecx, [ebp + 0x2600]
push ecx
push eax
call fcn.100403ad
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x1200]
push ecx
lea ecx, [ebp + 0x2600]
push ecx
push eax
call fcn.100403ad
add esp, 0x40
mov esi, 0x10155e68
push esi
lea eax, [ebp + 0x2600]
push str._sTC_BK
push eax
call fcn.10044ec8
lea eax, [ebp + 0x2600]
push ebx
push eax
call fcn.1004803c
add esp, 0x14
test eax, eax
je 0x10040fd8
push ebx
lea eax, [ebp + 0x2600]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
lea eax, [ebp + 0x2600]
push str._sTC_BKFileDelMon.sys
push eax
mov byte [ebp - 0xd], bl
call fcn.10044ec8
lea eax, [ebp + 0x2600]
push eax
call fcn.10040a1f
add esp, 0x10
test eax, eax
jne 0x10041004
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x20]
push eax
call fcn.1004532b
lea eax, [ebp - 0x20]
push eax
call fcn.10045304
push edi
mov esi, eax
lea eax, [ebp + 0xa01]
push ebx
push eax
mov byte [ebp + 0xa00], bl
call fcn.10044b80
lea eax, [ebp + 0x2814]
push eax
push dword [ebp + 0x2810]
lea eax, [ebp + 0x1c00]
push eax
call fcn.10047c1b
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
add esp, 0x20
push str.cache
lea eax, [ebp + 0x1c00]
push eax
call edi
test eax, eax
jne 0x10041207
push 0x10063b00
lea eax, [ebp + 0x1c00]
push eax
call edi
test eax, eax
jne 0x10041207
push str.AppData
lea eax, [ebp + 0x1c00]
push eax
call edi
test eax, eax
jne 0x10041207
push str.Logs
lea eax, [ebp + 0x1c00]
push eax
call edi
test eax, eax
jne 0x10041207
lea eax, [ebp + 0x1c00]
push eax
push 0x10154228
lea eax, [ebp + 0x1200]
push eax
push dword [esi]
push dword [esi + 4]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp + 0xa00]
push str._d__02d:_02d:_02d_s__s__s_r_n
push eax
call fcn.10044ec8
add esp, 0x24
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], eax
push 3
lea eax, [ebp + 0x2600]
push eax
lea ecx, [ebp - 0x124]
call fcn.1000cc50
push ebx
mov edi, 0x80
push edi
push 4
push ebx
push 3
mov esi, 0x40000000
push esi
push dword [ebp - 0x124]
mov dword [ebp - 4], ebx
call dword [0x101be54c]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x120]
cmp dword [ebp - 0x124], eax
je 0x1004113e
push dword [ebp - 0x124]
call fcn.100469c3
pop ecx
cmp dword [ebp - 0x14], 0xffffffff
jne 0x10041165
push ebx
push edi
push 4
push ebx
push 3
push esi
lea eax, [ebp + 0x2600]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x10041207
push 0xa
pop ecx
mov esi, str.cache__tmp__AppData__Logs_was_filtered._r_n
lea edi, [ebp + 0x2400]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x1d5
lea eax, [ebp + 0x242b]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.10044b80
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
cmp byte [ebp - 0xd], bl
je 0x100411c9
push 2
push ebx
push ebx
push dword [ebp - 0x14]
call esi
lea eax, [ebp + 0x2400]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100411aa
push ebx
lea ecx, [ebp - 0x18]
push ecx
sub eax, edi
push eax
lea eax, [ebp + 0x2400]
push eax
push dword [ebp - 0x14]
call dword [0x101b55f4]
mov edi, dword [ebp - 0x14]
push 2
push ebx
push ebx
push edi
call esi
lea eax, [ebp + 0xa00]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100411dc
push ebx
lea ecx, [ebp - 0x18]
push ecx
sub eax, esi
push eax
lea eax, [ebp + 0xa00]
push eax
push edi
call dword [0x101b55f4]
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2800]
xor ecx, ebp
call fcn.10044b6f
add ebp, 0x2804
leave
ret