Function at 0x437330
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4376d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
je 0x43738c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0042f790
mov dl, byte [0x4376e0]
cmp dl, al
je 0x43737f
mov eax, dword [ebp - 4]
inc dword [eax + 0x2c]
jmp 0x4376b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0042f6cc
jmp 0x4373d4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
mov dl, 1
mov eax, dword [0x42f544]
call fcn.0042f5b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
call fcn.0041b544
test al, al
jne 0x4373cc
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
call fcn.00405290
push eax
call sub.kernel32.dll_CreateDirectoryA
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.00424d54
mov edx, eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
call fcn.0043367c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xe8]
call fcn.00425998
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43760a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00425c6c
test eax, eax
jl 0x4375ea
mov eax, dword [ebp - 0x14]
call fcn.00420b84
xor eax, eax
push ebp
push 0x4375dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00420554
jmp 0x43758d
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00426440
test eax, eax
jle 0x43758d
lea ecx, [ebp - 0x40]
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00426440
test eax, eax
jg 0x437490
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x28]
mov edx, 2
mov eax, dword [ebp - 0xc]
call fcn.00426844
test eax, eax
jle 0x43758d
lea ecx, [ebp - 0x2c]
mov edx, 3
mov eax, dword [ebp - 0xc]
call fcn.00426844
test eax, eax
jl 0x43758d
lea ecx, [ebp - 0x38]
mov edx, 4
mov eax, dword [ebp - 0xc]
call fcn.00426644
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x43758d
cmp dword [ebp - 0x3c], 0
jle 0x4374f1
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.004372e8
mov dword [ebp - 0x3c], eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00420a5c
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.00420a04
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
push eax
mov al, byte [0x4376e4]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0041fdb0
mov eax, dword [ebp - 0x40]
push eax
mov al, byte [0x4376e4]
push eax
mov ecx, 1
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0041fdb0
mov eax, dword [ebp - 0x28]
push eax
mov al, byte [0x4376e4]
push eax
mov ecx, 2
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0041f6b0
mov eax, dword [ebp - 0x2c]
push eax
mov al, byte [0x4376e4]
push eax
mov ecx, 3
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0041f6b0
cmp dword [ebp - 0x3c], 0
je 0x43758d
mov eax, dword [ebp - 0x3c]
push eax
mov al, byte [0x4376e4]
push eax
mov ecx, 7
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0041fdb0
mov eax, dword [ebp - 0xc]
call fcn.00425d70
test al, al
jne 0x437460
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x88]
mov dl, 1
call fcn.004218e4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x88]
xor edx, edx
call fcn.00422368
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.00420874
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4375e4
mov eax, dword [ebp - 0x14]
call fcn.00420bd0
ret
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004249a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437611
lea eax, [ebp - 0xc]
call fcn.0041b40c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4376d7
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404e08
ret