Function at 0x4011c8
Capabilities:
Create directory

Disassembly:
mov eax, 0x410268
call fcn.00402b00
sub esp, 0x570
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
push edi
je 0x401451
cmp dword [ebp + 0xc], esi
je 0x401451
push dword [ebp + 0xc]
call fcn.004030b0
test eax, eax
pop ecx
je 0x401451
push dword [ebp + 0xc]
lea eax, [ebp - 0x128]
push eax
call fcn.00402b80
lea eax, [ebp - 0x128]
push eax
call fcn.004030b0
add esp, 0xc
cmp byte [ebp + eax - 0x129], 0x5c
je 0x401241
lea eax, [ebp - 0x128]
push eax
call fcn.004030b0
cmp byte [ebp + eax - 0x129], 0x2f
pop ecx
jne 0x401256
lea eax, [ebp - 0x128]
push eax
call fcn.004030b0
and byte [ebp + eax - 0x129], 0
pop ecx
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0040312b
pop ecx
test eax, eax
pop ecx
je 0x401296
lea eax, [ebp - 0x128]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x401451
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0040312b
pop ecx
test eax, eax
pop ecx
jne 0x401451
lea eax, [ebp - 0x128]
push 0x4150f0
push eax
call fcn.00402b90
push 0x454
lea eax, [ebp - 0x57c]
push esi
push eax
call fcn.00402b20
lea eax, [ebp - 0x57c]
push eax
push ebx
call fcn.004015ee
lea eax, [ebp - 0x578]
push eax
call fcn.004030b0
add esp, 0x20
test eax, eax
je 0x40130c
mov eax, dword [ebx + 0x38]
cmp eax, esi
je 0x401451
push esi
push esi
push 2
call eax
lea eax, [ebp - 0x578]
push eax
lea eax, [ebx + 0x3c]
push eax
call fcn.00407620
pop ecx
test eax, eax
pop ecx
je 0x40130c
push esi
push esi
push 3
call dword [ebx + 0x38]
jmp 0x401451
lea eax, [ebp - 0x54c]
push eax
call fcn.004030b0
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
pop ecx
test eax, eax
mov edi, 0x4150e0
je 0x401379
mov eax, dword [ebp - 0x14c]
sub eax, 0
je 0x40136a
dec eax
je 0x401356
dec eax
jne 0x401451
push 0x24
lea eax, [ebp - 0x54c]
push edi
push eax
push dword [ebp + 0x10]
call esi
cmp eax, 6
je 0x401379
jmp 0x401451
push 0x41
lea eax, [ebp - 0x54c]
push edi
push eax
push dword [ebp + 0x10]
call esi
cmp eax, 1
jmp 0x40134f
push 0x40
lea eax, [ebp - 0x54c]
push edi
push eax
push dword [ebp + 0x10]
call esi
xor eax, eax
cmp word [ebp - 0x148], ax
je 0x4013fb
cmp word [ebp - 0x146], ax
je 0x4013fb
cmp word [ebp - 0x142], ax
je 0x4013fb
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ax, word [ebp - 0x24]
cmp word [ebp - 0x148], ax
jb 0x4013ea
mov dx, word [ebp - 0x1e]
mov cx, word [ebp - 0x22]
jne 0x4013cb
cmp word [ebp - 0x146], cx
jb 0x4013ea
jne 0x4013cb
cmp word [ebp - 0x142], dx
jb 0x4013ea
cmp ax, word [ebp - 0x138]
jb 0x4013ea
jne 0x4013f9
cmp cx, word [ebp - 0x136]
jb 0x4013ea
jne 0x4013f9
cmp dx, word [ebp - 0x132]
jae 0x4013f9
push 0x10
push edi
push str.The_setup_has_expired.
push dword [ebp + 0x10]
call esi
jmp 0x401451
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x57c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00401667
mov edi, dword [ebp - 0x10]
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x40143e
push dword [ebx + 0x38]
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x14]
push eax
push dword [ebx]
push esi
call fcn.00401462
test eax, eax
je 0x40143e
inc esi
cmp esi, edi
jl 0x401420
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x401451
push dword [ebp - 0x14]
call fcn.0040ab4b
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret