Function at 0x409310
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d8f3
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], 0
mov eax, dword [edi]
call dword [eax + 0x1c]
test esi, esi
je 0x409367
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409354
sub ecx, edx
push ecx
push esi
lea ecx, [edi + 0x34]
call fcn.0040a4a0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], 0
je 0x4093ad
cmp dword [edi + 0x30], 0x10
lea ecx, [edi + 0x1c]
jb 0x409392
mov ecx, dword [edi + 0x1c]
push dword [edi + 0x2c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040a340
push 1
push 0x571588
lea ecx, [ebp - 0x40]
call fcn.0040a340
lea esi, [edi + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0xe]
movzx edx, word [esi]
push eax
push ecx
push edx
push str._04d_02d_02d
push 0
push 0
call fcn.004065d0
inc eax
push eax
mov dword [ebp - 0x60], eax
call fcn.0051899f
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4093f6
push dword [ebp - 0x60]
push 0
push esi
call fcn.00530cf0
add esp, 0xc
jmp 0x4093f8
xor esi, esi
mov dword [ebp - 0x5c], esi
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0xe]
movzx edx, word [edi + 0xc]
push eax
push ecx
push edx
push str._04d_02d_02d
push dword [ebp - 0x60]
mov byte [ebp - 4], 1
push esi
call fcn.004065d0
mov eax, dword [ebp - 0x60]
add esp, 0x18
dec eax
mov dword [ebp - 0x48], 0
add eax, esi
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp esi, eax
je 0x409447
sub eax, esi
lea ecx, [ebp - 0x58]
push eax
push esi
call fcn.0040a4a0
test esi, esi
je 0x409454
push esi
call fcn.005189a8
add esp, 4
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 2
call fcn.0040a340
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea esi, [edi + 0x34]
lea eax, [esi + 0x10]
mov byte [ebp - 4], 3
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x60], 7
call fcn.0040a9f0
push 1
push 0x571588
lea ecx, [ebp - 0x28]
call fcn.0040a340
cmp dword [esi + 0x14], 0x10
jb 0x4094cc
mov esi, dword [esi]
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
push dword [eax]
push esi
call fcn.0040a340
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040a340
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x409529
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40951f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409776
push edx
push ecx
call fcn.005189ee
add esp, 8
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x40960d
inc eax
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x60], 0xb
call fcn.0040a9f0
push 1
push 0x571640
lea ecx, [ebp - 0x28]
call fcn.0040a340
cmp dword [edi + 0x60], 0x10
lea eax, [edi + 0x4c]
jb 0x409576
mov eax, dword [edi + 0x4c]
push dword [edi + 0x5c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a340
lea eax, [ebp - 0x40]
push eax
call fcn.00409250
mov esi, eax
add esp, 4
test esi, esi
js 0x4095be
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4095a7
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040a590
jmp 0x4095d5
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040a340
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x40960d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409603
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40977b
push edx
push ecx
call fcn.005189ee
add esp, 8
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea eax, [esi + 1]
mov byte [ebp - 0x28], 0
push eax
mov dword [ebp - 0x60], 0x13
call fcn.0040a9f0
push 1
push 0x571640
lea ecx, [ebp - 0x28]
call fcn.0040a340
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push esi
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a340
lea ecx, [ebp - 0x58]
call fcn.00408f00
movups xmm0, xmmword [ebp - 0x28]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x48], xmm0
call fcn.00409250
mov esi, eax
add esp, 4
test esi, esi
js 0x4096b7
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x28]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4096a0
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040a590
jmp 0x4096ce
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x58]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040a340
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0x20
cmovae eax, dword [ebp - 0x40]
push 0x571644
push eax
call fcn.0053ecea
mov edx, dword [ebp - 0x44]
xor ecx, ecx
add esp, 0xc
mov dword [edi + 8], eax
test eax, eax
setne cl
mov dword [ebp - 0x5c], ecx
cmp edx, 0x10
jb 0x409726
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40971c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409780
push edx
push ecx
call fcn.005189ee
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x409756
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40974c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409785
push edx
push ecx
call fcn.005189ee
add esp, 8
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 8
call fcn.00545078
call fcn.00545078
call fcn.00545078
call fcn.00545078
int3