Function at 0x4526f4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4526fd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404704
mov eax, dword [ebp - 0xc]
call fcn.00404704
xor eax, eax
push ebp
push 0x452c7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.0040832c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.004042fc
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040832c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.004042fc
xor eax, eax
push ebp
push 0x4527b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404714
push eax
mov ecx, dword [0x456714]
mov dl, 1
mov eax, dword [0x416d18]
call fcn.0041b488
mov ebx, eax
push 0x452c94
push 0x452c9c
mov ecx, dword [0x456714]
mov dl, 1
mov eax, dword [0x416d18]
call fcn.0041b488
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45280b
lea eax, [ebp - 0x14]
mov edx, 0x452cec
call fcn.004042fc
mov eax, dword [ebp - 0x14]
call fcn.004086e8
test al, al
jne 0x452863
lea eax, [ebp - 0x14]
mov edx, 0x452cf8
call fcn.004042fc
mov eax, dword [ebp - 0x14]
call fcn.004086e8
test al, al
jne 0x452863
lea eax, [ebp - 0x14]
mov edx, 0x452d04
call fcn.004042fc
mov eax, dword [ebp - 0x14]
call fcn.004086e8
test al, al
jne 0x452863
lea eax, [ebp - 0x14]
mov edx, 0x452d10
call fcn.004042fc
lea eax, [ebp - 0x30]
mov ecx, 0x452d1c
mov edx, dword [ebp - 0x14]
call fcn.00404568
mov eax, dword [ebp - 0x30]
call fcn.004086e8
test al, al
jne 0x45289f
push 0
lea eax, [ebp - 0x34]
mov ecx, 0x452d1c
mov edx, dword [ebp - 0x14]
call fcn.00404568
mov eax, dword [ebp - 0x34]
call fcn.00404714
push eax
call sub.kernel32.dll_CreateDirectoryA
lea eax, [ebp - 0x38]
mov ecx, 0x452d1c
mov edx, dword [ebp - 0x14]
call fcn.00404568
mov eax, dword [ebp - 0x38]
call fcn.0040870c
mov edi, eax
test edi, 2
jne 0x4528dc
lea eax, [ebp - 0x3c]
mov ecx, 0x452d1c
mov edx, dword [ebp - 0x14]
call fcn.00404568
mov eax, dword [ebp - 0x3c]
lea edx, [edi + 2]
call fcn.00408720
lea eax, [ebp - 0x40]
mov ecx, 0x452d28
mov edx, dword [ebp - 0x14]
call fcn.00404568
mov eax, dword [ebp - 0x40]
call fcn.004086e8
test al, al
jne 0x452918
push 0
lea eax, [ebp - 0x44]
mov ecx, 0x452d28
mov edx, dword [ebp - 0x14]
call fcn.00404568
mov eax, dword [ebp - 0x44]
call fcn.00404714
push eax
call sub.kernel32.dll_CreateDirectoryA
push dword [ebp - 0x14]
push 0x452d38
push dword [ebp - 0xc]
push 0x452d4c
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004045dc
mov eax, dword [ebp - 0x18]
call fcn.004086d8
test al, al
je 0x4529ce
mov eax, dword [ebp - 0x18]
call fcn.00408748
test al, al
jne 0x4529ce
mov eax, dword [ebp - 4]
call fcn.00453100
mov eax, dword [ebp - 4]
call fcn.00452f24
test al, al
jne 0x45297c
mov eax, ebx
call fcn.00403510
mov eax, dword [ebp - 4]
call fcn.0044d804
jmp 0x452c53
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x18]
call fcn.00408748
test al, al
jne 0x4529ce
push 0x40
push 0x452d58
push dword [ebp - 0x18]
push 0x452d68
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004045dc
mov eax, dword [ebp - 0x48]
call fcn.00404714
mov edx, eax
mov ecx, 0x452cd8
mov eax, dword [0x454f20]
mov eax, dword [eax]
call fcn.00450f20
jmp 0x452c53
xor eax, eax
push ebp
push 0x4529f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.0041b284
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x452a3b
mov eax, ebx
call fcn.00403510
mov eax, dword [ebp - 0x18]
call fcn.00404714
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x452acf
lea eax, [ebp - 0x20]
mov edx, 0x452d98
call fcn.004042fc
mov eax, dword [ebp - 0x20]
call fcn.00404714
push eax
push ebx
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x452a85
push 0
push 0
push 0
push ebx
push eax
call sub.user32.dll_CallWindowProcA
jmp 0x452ac7
push 0x40
push 0x452db4
push dword [ebp - 0x18]
push 0x452dc0
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.004045dc
mov eax, dword [ebp - 0x50]
call fcn.00404714
mov edx, eax
mov ecx, 0x452cd8
mov eax, dword [0x454f20]
mov eax, dword [eax]
call fcn.00450f20
push ebx
call sub.kernel32.dll_FreeLibrary_1
jmp 0x452c53
push ebx
call sub.kernel32.dll_FreeLibrary_1
jmp 0x452b0b
push 0x40
push 0x452db4
push dword [ebp - 0x18]
push 0x452ddc
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.004045dc
mov eax, dword [ebp - 0x54]
call fcn.00404714
mov edx, eax
mov ecx, 0x452cd8
mov eax, dword [0x454f20]
mov eax, dword [eax]
call fcn.00450f20
jmp 0x452c53
lea eax, [ebp - 0x58]
mov ecx, 0x452df8
mov edx, dword [ebp - 0x14]
call fcn.00404568
mov eax, dword [ebp - 0x58]
call fcn.004086e8
test al, al
jne 0x452b47
push 0
lea eax, [ebp - 0x5c]
mov ecx, 0x452df8
mov edx, dword [ebp - 0x14]
call fcn.00404568
mov eax, dword [ebp - 0x5c]
call fcn.00404714
push eax
call sub.kernel32.dll_CreateDirectoryA
lea eax, [ebp - 0x1c]
mov ecx, 0x452e08
mov edx, dword [ebp - 0x14]
call fcn.00404568
mov eax, dword [ebp - 0x1c]
call fcn.004086d8
test al, al
je 0x452bde
mov eax, dword [ebp - 0x1c]
call fcn.00408748
test al, al
jne 0x452bde
mov eax, dword [ebp - 4]
call fcn.00453100
test al, al
jne 0x452b8f
mov eax, esi
call fcn.00403510
mov eax, dword [ebp - 4]
call fcn.0044d804
jmp 0x452c53
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x1c]
call fcn.00408748
test al, al
jne 0x452bde
push 0x40
push 0x452d58
push dword [ebp - 0x1c]
push 0x452d68
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.004045dc
mov eax, dword [ebp - 0x60]
call fcn.00404714
mov edx, eax
mov ecx, 0x452cd8
mov eax, dword [0x454f20]
mov eax, dword [eax]
call fcn.00450f20
jmp 0x452c53
xor eax, eax
push ebp
push 0x452c00
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0041b284
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x452c48
mov eax, esi
call fcn.00403510
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452c82
lea eax, [ebp - 0x64]
mov edx, 0x15
call fcn.00404288
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404288
ret