Function at 0x10002590
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101875ea
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x101f9e50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x358], ecx
mov ecx, dword [ebp - 0x358]
call fcn.1001eec0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x358]
add ecx, 8
call fcn.10003820
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x358]
add ecx, 0x20
call fcn.10003820
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x358]
mov dword [eax + 0x38], 0x200000
mov ecx, dword [ebp - 0x358]
mov dword [ecx + 0x3c], 5
mov ecx, dword [ebp - 0x358]
add ecx, 0x44
call fcn.10003c40
mov byte [ebp - 4], 3
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea edx, [ebp - 0x217]
push edx
call fcn.10161f10
add esp, 0xc
mov byte [ebp - 0x31c], 0
push 0x103
push 0
lea eax, [ebp - 0x31b]
push eax
call fcn.10161f10
add esp, 0xc
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.10161f10
add esp, 0xc
mov dword [ebp - 0x374], 0
push 0x104
push 0x104
lea edx, [ebp - 0x31c]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.10001dd0
add esp, 0x10
lea ecx, [ebp - 0x218]
push ecx
push str._slog
push 0x104
lea edx, [ebp - 0x114]
push edx
call fcn.10001cb0
add esp, 0x10
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
je 0x100026eb
push 0
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [ebp - 0x31c]
push edx
lea eax, [ebp - 0x218]
push eax
push str._slog_s
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call fcn.10001cb0
add esp, 0x14
mov dword [ebp - 0x374], eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x33c]
call fcn.10003330
mov byte [ebp - 4], 4
push str..txt
lea ecx, [ebp - 0x33c]
call fcn.10003560
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3e4], esp
lea eax, [ebp - 0x33c]
push eax
call fcn.100032a0
mov dword [ebp - 0x3dc], eax
lea ecx, [ebp - 0x438]
push ecx
call fcn.10001f70
add esp, 0x1c
mov dword [ebp - 0x3a8], eax
mov edx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3bc], edx
mov eax, dword [ebp - 0x3bc]
push eax
mov ecx, dword [ebp - 0x358]
add ecx, 0x20
call fcn.100038e0
lea ecx, [ebp - 0x438]
call fcn.100039c0
lea ecx, [ebp - 0x354]
call fcn.10003300
mov byte [ebp - 4], 5
mov dword [ebp - 0x35c], 0
jmp 0x100027c6
mov ecx, dword [ebp - 0x35c]
add ecx, 1
mov dword [ebp - 0x35c], ecx
cmp dword [ebp - 0x35c], 6
jge 0x100028c8
cmp dword [ebp - 0x35c], 0
jne 0x100027f3
lea edx, [ebp - 0x33c]
push edx
lea ecx, [ebp - 0x354]
call fcn.100034c0
jmp 0x100028ae
mov eax, dword [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x468]
push ecx
call fcn.10001c20
add esp, 8
mov dword [ebp - 0x3c4], eax
mov edx, dword [ebp - 0x3c4]
mov dword [ebp - 0x3d4], edx
mov byte [ebp - 4], 6
push 0x101e1c04
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x480]
push ecx
call fcn.100077f0
add esp, 0xc
mov dword [ebp - 0x3cc], eax
mov edx, dword [ebp - 0x3cc]
mov dword [ebp - 0x390], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x3d4]
push eax
mov ecx, dword [ebp - 0x390]
push ecx
lea edx, [ebp - 0x450]
push edx
call fcn.10007740
add esp, 0xc
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x3b4]
push eax
lea ecx, [ebp - 0x354]
call fcn.100033c0
lea ecx, [ebp - 0x450]
call fcn.100034a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x480]
call fcn.100034a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x468]
call fcn.100034a0
lea ecx, [ebp - 0x354]
push ecx
mov ecx, dword [ebp - 0x358]
add ecx, 0x44
call fcn.10003cc0
jmp 0x100027b7
call fcn.10002390
mov ecx, eax
call fcn.10002340
call fcn.10002390
mov ecx, eax
call fcn.10002310
mov edx, dword [ebp - 0x358]
mov byte [edx + 0x40], al
call fcn.1001feb0
push 0
call fcn.1001b8e0
mov ecx, eax
call fcn.1001b9e0
push 1
lea ecx, [ebp - 0x320]
call fcn.10001740
push 0x164
call fcn.1016120f
add esp, 4
mov dword [ebp - 0x360], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x360], 0
je 0x1000296d
push 1
mov ecx, dword [ebp - 0x360]
call fcn.10002e80
push 1
push 0
push 1
mov eax, dword [ebp - 0x358]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 0x358]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x358]
add ecx, 0x20
push ecx
mov ecx, dword [ebp - 0x360]
call fcn.10011f70
mov dword [ebp - 0x378], eax
jmp 0x10002977
mov dword [ebp - 0x378], 0
mov edx, dword [ebp - 0x378]
mov dword [ebp - 0x3d0], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x320]
call fcn.10003cf0
mov byte [ebp - 4], 9
push 0x101e1c08
lea ecx, [ebp - 0x420]
call fcn.10003850
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x320]
call fcn.10001800
mov dword [ebp - 0x36c], eax
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp - 0x36c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x36c]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x420]
call fcn.100039c0
push 1
lea ecx, [ebp - 0x324]
call fcn.10001740
push 0x3f
push 0x101e1c20
lea ecx, [ebp - 0x324]
call fcn.100014c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x320]
call fcn.10001800
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x398]
push ecx
mov edx, dword [ebp - 0x368]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x368]
mov edx, dword [eax + 0x20]
call edx
lea ecx, [ebp - 0x398]
call fcn.10001600
push str._D_y__m__d__H:_M:_S__Q___t____5p____m_n
mov ecx, dword [ebp - 0x358]
add ecx, 8
call fcn.100039e0
push 0x2c
call fcn.1016120f
add esp, 4
mov dword [ebp - 0x364], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x364], 0
je 0x10002aa5
push 1
mov ecx, dword [ebp - 0x364]
call fcn.10002ec0
mov eax, dword [ebp - 0x358]
add eax, 8
push eax
mov ecx, dword [ebp - 0x364]
call fcn.1001dc60
mov dword [ebp - 0x37c], eax
jmp 0x10002aaf
mov dword [ebp - 0x37c], 0
mov ecx, dword [ebp - 0x37c]
mov dword [ebp - 0x3b8], ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x320]
call fcn.10001800
mov dword [ebp - 0x384], eax
mov edx, dword [ebp - 0x3b8]
push edx
lea ecx, [ebp - 0x388]
call fcn.100014a0
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x3c8], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3d8]
push ecx
mov ecx, dword [ebp - 0x3c8]
call fcn.100078b0
push ecx
mov ecx, esp
mov dword [ebp - 0x3fc], esp
mov edx, dword [eax]
push edx
call fcn.10003a30
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x384]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x384]
mov eax, dword [edx + 0x14]
call eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x388]
call fcn.10003a60
lea ecx, [ebp - 0x320]
call fcn.10001800
mov dword [ebp - 0x370], eax
lea ecx, [ebp - 0x3c0]
push ecx
mov edx, dword [ebp - 0x370]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x370]
mov edx, dword [eax + 0x24]
call edx
lea ecx, [ebp - 0x3c0]
call fcn.10001600
lea ecx, [ebp - 0x3f8]
call fcn.1001ee80
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebp - 0x3b0]
mov dword [ebp - 0x38c], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x38c]
mov dword [ebp - 0x380], ecx
lea ecx, [ebp - 0x320]
call fcn.10001800
push ecx
mov ecx, esp
mov dword [ebp - 0x3e0], esp
push eax
call fcn.10003cf0
mov dword [ebp - 0x3f0], eax
mov edx, dword [ebp - 0x380]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x380]
mov edx, dword [eax]
call edx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3f8]
call fcn.1001f090
mov eax, dword [ebp - 0x358]
movzx ecx, byte [eax + 0x40]
test ecx, ecx
je 0x10002c02
mov ecx, dword [ebp - 0x358]
call fcn.10002cf0
jmp 0x10002c3f
lea ecx, [ebp - 0x3ec]
call fcn.1001ee80
mov dword [ebp - 0x394], eax
mov edx, dword [ebp - 0x394]
mov dword [ebp - 0x39c], edx
mov byte [ebp - 4], 0xf
push 0
mov ecx, dword [ebp - 0x39c]
call fcn.1001f250
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3ec]
call fcn.1001f090
lea ecx, [ebp - 0x404]
call fcn.1001ee80
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x3ac], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x3ac]
push ecx
mov ecx, dword [ebp - 0x358]
call fcn.1001f000
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x404]
call fcn.1001f090
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x324]
call fcn.10001600
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x320]
call fcn.10003d10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x354]
call fcn.100034a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x33c]
call fcn.100034a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x358]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101604df
mov esp, ebp
pop ebp
ret