Function at 0x409150
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5c3e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x511080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00403100
cmp dword [ebp - 0x34], 0
je 0x409479
push str.log
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.0040ef20
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x84]
cmp dword [ebp - 0x70], 7
push 0
cmova eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x1000
call fcn.004d31b2
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
mov esi, eax
mov dword [ebp - 0x18], 0xf
movups xmmword [ebp - 0x2c], xmm0
add esp, 4
mov dword [ebp - 0x8c], esi
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx eax, word [ebp - 0x5e]
push eax
movzx eax, word [ebp - 0x60]
push eax
movzx eax, word [ebp - 0x62]
push eax
movzx eax, word [ebp - 0x64]
push eax
push str._02d:_02d:_02d._03d:__ITHWInfo_lu_
push 0x1000
push esi
call fcn.004018e0
mov ecx, esi
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409270
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040dd70
cmp dword [ebx + 0x1c], 0xf
lea ecx, [ebx + 8]
mov esi, dword [ebp - 0x18]
mov eax, esi
cmova ecx, dword [ebx + 8]
mov edi, dword [ebx + 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x4092c3
lea eax, [edi + edx]
cmp esi, 0xf
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
lea esi, [eax + edx]
push esi
call fcn.004d4640
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4092d9
mov byte [ebp - 0x88], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x88]
push edi
call fcn.0040fbb0
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x409307
cmp esi, 0xf
lea eax, [edx + 1]
mov dword [ebp - 0x1c], eax
cmova ecx, dword [ebp - 0x2c]
mov al, byte [0x5053c8]
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x409322
push 1
push 0x5053c8
mov byte [ebp - 0x88], 0
push dword [ebp - 0x88]
push 1
call fcn.0040fbb0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 7
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x5c], ax
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.0040c2b0
push 0x5053cc
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x5c]
call fcn.00409520
add esp, 0x1c
cmp dword [ebp - 0x4c], 0
je 0x40939a
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x88], esp
push eax
call fcn.0040c430
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.0040c2b0
mov byte [ebp - 4], 4
call fcn.00409820
add esp, 0x30
push dword [ebp - 0x8c]
call fcn.004d2f5c
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 7
jbe 0x4093e2
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4093d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409511
push ecx
push edx
call fcn.004d2f2b
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 0xf
jbe 0x40942a
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409420
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409511
push ecx
push edx
call fcn.004d2f2b
add esp, 8
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 7
jbe 0x409479
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40946f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409511
push ecx
push edx
call fcn.004d2f2b
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x4094af
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4094a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409516
push ecx
push edx
call fcn.004d2f2b
add esp, 8
mov ecx, dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp ecx, 0xf
jbe 0x4094f3
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4094e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409516
push ecx
push edx
call fcn.004d2f2b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d2eed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004d7de5
call fcn.004d7de5
int3