Function at 0x10040f3a
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x2804]
mov eax, 0x2804
call fcn.10045420
push 0xffffffffffffffff
push 0x1005f351
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x10084adc]
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.10045030
mov edi, 0x7ff
push edi
lea eax, [ebp + 0x1c01]
push ebx
push eax
mov byte [ebp + 0x1c00], bl
call fcn.10045030
mov esi, 0x9ff
push esi
lea eax, [ebp + 0x1201]
push ebx
push eax
mov byte [ebp + 0x1200], bl
call fcn.10045030
push esi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.10045030
mov eax, dword [0x10185a54]
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x1200]
push ecx
lea ecx, [ebp + 0x2600]
push ecx
push eax
call fcn.10040465
add esp, 0x40
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x1200]
push ecx
lea ecx, [ebp + 0x2600]
push ecx
push eax
call fcn.10040465
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x1200]
push ecx
lea ecx, [ebp + 0x2600]
push ecx
push eax
call fcn.10040465
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x1200]
push ecx
lea ecx, [ebp + 0x2600]
push ecx
push eax
call fcn.10040465
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x1200]
push ecx
lea ecx, [ebp + 0x2600]
push ecx
push eax
call fcn.10040465
add esp, 0x40
mov esi, 0x10156e68
push esi
lea eax, [ebp + 0x2600]
push str._sTC_BK
push eax
call fcn.10045378
lea eax, [ebp + 0x2600]
push ebx
push eax
call fcn.100484ec
add esp, 0x14
test eax, eax
je 0x10041090
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.10045378
lea eax, [ebp + 0x2600]
push eax
call fcn.10040ad7
add esp, 0x10
test eax, eax
jne 0x100410bc
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x20]
push eax
call fcn.100457db
lea eax, [ebp - 0x20]
push eax
call fcn.100457b4
push edi
mov esi, eax
lea eax, [ebp + 0xa01]
push ebx
push eax
mov byte [ebp + 0xa00], bl
call fcn.10045030
lea eax, [ebp + 0x2814]
push eax
push dword [ebp + 0x2810]
lea eax, [ebp + 0x1c00]
push eax
call fcn.100480cb
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 0x100412bf
push 0x10063b70
lea eax, [ebp + 0x1c00]
push eax
call edi
test eax, eax
jne 0x100412bf
push str.AppData
lea eax, [ebp + 0x1c00]
push eax
call edi
test eax, eax
jne 0x100412bf
push str.Logs
lea eax, [ebp + 0x1c00]
push eax
call edi
test eax, eax
jne 0x100412bf
lea eax, [ebp + 0x1c00]
push eax
push 0x10155228
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.10045378
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 [0x101bf550]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x120]
cmp dword [ebp - 0x124], eax
je 0x100411f6
push dword [ebp - 0x124]
call fcn.10046e73
pop ecx
cmp dword [ebp - 0x14], 0xffffffff
jne 0x1004121d
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 0x100412bf
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.10045030
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
cmp byte [ebp - 0xd], bl
je 0x10041281
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 0x10041262
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 [0x101b65f8]
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 0x10041294
push ebx
lea ecx, [ebp - 0x18]
push ecx
sub eax, esi
push eax
lea eax, [ebp + 0xa00]
push eax
push edi
call dword [0x101b65f8]
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.1004501f
add ebp, 0x2804
leave
ret