Function at 0x100027f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x113c
call fcn.10036fa0
mov eax, dword [0x1005d330]
push ebx
push esi
push edi
mov dword [esp + 0x1144], eax
mov ebx, ecx
xor eax, eax
mov byte [esp + 0x30], 0
mov ecx, 0x41
lea edi, [esp + 0x31]
push 0x100674e0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x100506fc
push eax
call fcn.10036e11
add esp, 0xc
push 0
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [esp + 0x20]
xor eax, eax
mov byte [esp + 0x138], 0
mov ecx, 0x400
lea edi, [esp + 0x139]
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x26]
movzx ecx, word [esp + 0x22]
movzx edx, word [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x144]
push str._04d_02d_02d
push eax
call fcn.10036e11
lea ecx, [esp + 0x14c]
push ecx
push 0x100674e0
lea edx, [esp + 0x4c]
push str._sdata_s.txt
push edx
call fcn.10036e11
lea eax, [esp + 0x54]
push 0x100506d8
push eax
call fcn.10037995
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x10002a98
push 2
push 0
push esi
call fcn.100378f0
push esi
call fcn.10037820
push 0
push 0
push esi
mov edi, eax
call fcn.100378f0
add esp, 0x1c
test edi, edi
jle 0x10002a8f
lea ecx, [edi + 1]
push ecx
call fcn.10045c41
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
push esi
je 0x10002a90
push 1
push edi
push eax
call fcn.10037672
push esi
call fcn.10037538
mov eax, dword [esp + 0x24]
mov byte [eax + edi], 0
mov cl, byte [eax]
add esp, 0x14
test cl, cl
mov dword [esp + 0xc], eax
je 0x10002a6f
mov edi, edi
mov edx, dword [esp + 0xc]
push 0x100506d4
push edx
call fcn.10036fe0
add esp, 8
test eax, eax
je 0x10002a6f
mov byte [eax], 0
inc eax
push 0x100506d4
push eax
mov dword [esp + 0x20], eax
call fcn.10036fe0
add esp, 8
test eax, eax
je 0x10002a6f
mov byte [eax], 0
inc eax
push 0x100506d0
push eax
mov dword [esp + 0x1c], eax
call fcn.10036fe0
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
je 0x10002a6f
xor edi, edi
mov byte [eax], 0
xor esi, esi
mov eax, dword [ebx + 0x414]
test eax, eax
je 0x100029b4
mov ecx, dword [ebx + 0x418]
sub ecx, eax
mov eax, 0x2f149903
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x10002a59
mov eax, dword [ebx + 0x414]
mov ecx, dword [esp + 0xc]
add eax, esi
push ecx
push eax
call fcn.1003ebdf
add esp, 8
test eax, eax
je 0x100029df
inc edi
add esi, 0x2b8
jmp 0x10002991
mov edx, dword [esp + 0x18]
mov esi, edi
mov edi, dword [ebx + 0x414]
imul esi, esi, 0x2b8
push edx
add edi, esi
call fcn.10036ef6
mov dword [edi + 0x170], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x174], edx
mov edi, dword [ebx + 0x414]
push eax
add edi, esi
call fcn.10036ef6
mov dword [edi + 0x178], eax
mov dword [edi + 0x17c], edx
mov ecx, dword [ebx + 0x414]
mov edx, dword [ecx + esi + 0x178]
mov edi, dword [ecx + esi + 0x170]
lea eax, [ecx + esi]
mov ecx, dword [eax + 0x17c]
mov esi, dword [eax + 0x174]
add esp, 8
add edx, edi
adc ecx, esi
mov dword [eax + 0x188], edx
mov dword [eax + 0x18c], ecx
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + 2]
add eax, 2
test cl, cl
mov dword [esp + 0xc], eax
jne 0x10002930
mov edx, dword [esp + 0x10]
push edx
call fcn.10045c46
add esp, 4
mov ecx, dword [esp + 0x1144]
call fcn.10036c09
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.10037538
add esp, 4
mov ecx, dword [esp + 0x1144]
call fcn.10036c09
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret