Function at 0x401810
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x478379
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x25c], 1
call fcn.00451fe4
push 0x4971a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 2
call fcn.0046b38a
push 0x4971a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x260], 3
call fcn.0046b38a
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x26c]
mov byte [esp + 0x264], 4
call fcn.00469544
mov eax, dword [eax]
push 0x48f604
push eax
call fcn.0045a38b
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046b31c
test bl, bl
je 0x4018e3
lea ecx, [esp + 0x264]
push 0x48f614
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0046b5b1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x260], 5
call fcn.0046b455
mov byte [esp + 0x25c], 4
lea ecx, [esp + 0x10]
jmp 0x401918
lea eax, [esp + 0x264]
push 0x48f610
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0046b5b1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x260], 6
call fcn.0046b455
mov byte [esp + 0x25c], 4
lea ecx, [esp + 0x10]
call fcn.0046b31c
mov edx, dword [esp + 0x18]
push 0
push edx
lea ecx, [esp + 0x2c]
call fcn.004520a7
test eax, eax
je 0x401c32
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x270]
call fcn.00469544
mov eax, dword [eax]
push 0x48f604
push eax
call fcn.0045a38b
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.0046b31c
test bl, bl
jne 0x4019a7
lea edx, [esp + 0x268]
push 0x48f604
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0046b5b1
push eax
lea ecx, [esp + 0x26c]
mov byte [esp + 0x260], 7
call fcn.0046b455
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 4
call fcn.0046b31c
mov ecx, dword [esp + 0x268]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, dword [esp + 0x26c]
mov dword [esp + 0x10], eax
mov bl, 0xb
lea ecx, [esp + 0x24]
call fcn.004522c7
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
push edx
mov esi, eax
call fcn.00452396
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 8
call fcn.0046b455
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 4
call fcn.0046b31c
lea eax, [esp + 0x40]
lea ecx, [esp + 0x24]
push eax
call fcn.004524bf
lea ecx, [esp + 0x268]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0x268], 9
call fcn.0046b54b
lea ecx, [esp + 0x40]
mov byte [esp + 0x25c], bl
call fcn.0046b31c
mov eax, dword [esp + 0x24]
push 0x10
lea ecx, [esp + 0x28]
call dword [eax + 0x38]
test eax, eax
je 0x401ad8
lea ecx, [esp + 0x24]
call fcn.0045228e
test eax, eax
jne 0x401ad8
lea ecx, [esp + 0x10]
push 0x48f604
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0046b5b1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x260], 0xc
call fcn.0046b455
lea ecx, [esp + 0x1c]
mov byte [esp + 0x25c], bl
call fcn.0046b31c
mov eax, dword [esp + 0x270]
lea edx, [esp + 0x10]
push eax
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.0046b091
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x270], 0xd
call fcn.0046b091
mov byte [esp + 0x26c], bl
call fcn.00401810
add esp, 0x10
jmp 0x401b7e
mov edx, dword [esp + 0x24]
push 0x10
lea ecx, [esp + 0x28]
call dword [edx + 0x38]
test eax, eax
jne 0x401b7e
lea ecx, [esp + 0x24]
call fcn.0045228e
test eax, eax
jne 0x401b7e
mov ecx, 0x41
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x150]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push eax
push 0x48f430
push ecx
call fcn.0045a0fd
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x15c]
push edx
push 0x48f430
push eax
call fcn.0045a0fd
lea ecx, [esp + 0x64]
push ecx
call fcn.00409e00
mov ecx, dword [0x497198]
push ebp
add ecx, eax
mov dword [0x497198], ecx
call fcn.00401da0
lea edx, [esp + 0x170]
push ebp
lea eax, [esp + 0x70]
push edx
push eax
call fcn.00409e40
add esp, 0x2c
test eax, eax
jl 0x401c21
push 0x4971a0
lea ecx, [esp + 0x18]
call fcn.0046b4a5
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 4
call fcn.0046b31c
test esi, esi
jne 0x4019c4
lea ecx, [esp + 0x18]
mov byte [esp + 0x25c], 3
call fcn.0046b31c
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 2
call fcn.0046b31c
lea ecx, [esp + 0x24]
mov byte [esp + 0x25c], 1
call fcn.00452021
lea ecx, [esp + 0x264]
mov byte [esp + 0x25c], 0
call fcn.0046b31c
lea ecx, [esp + 0x268]
mov dword [esp + 0x25c], 0xffffffff
call fcn.0046b31c
mov eax, 1
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x250
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 4
call fcn.0046b31c
lea ecx, [esp + 0x18]
mov byte [esp + 0x25c], 3
call fcn.0046b31c
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 2
call fcn.0046b31c
lea ecx, [esp + 0x24]
mov byte [esp + 0x25c], 1
call fcn.00452021
lea ecx, [esp + 0x264]
mov byte [esp + 0x25c], 0
call fcn.0046b31c
lea ecx, [esp + 0x268]
mov dword [esp + 0x25c], 0xffffffff
call fcn.0046b31c
xor eax, eax
jmp 0x401c08