Function at 0x48d0d8
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x48d0e0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48d75c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040af08
fstp qword [ebp - 0x20]
wait
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c], 2
jle 0x48d13a
mov edx, 7
mov eax, 0x48d774
call fcn.00426b0c
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 0xa
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x2c], edx
jmp 0x48d739
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x2c]
mov edx, 0x48d7b8
call fcn.00404a2c
mov eax, dword [ebp - 0x2c]
mov edx, 7
call fcn.00426aec
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
lea eax, [ebp - 0x30]
call fcn.00404a2c
mov eax, dword [ebp - 0x30]
call fcn.004297f0
test al, al
jne 0x48d1b4
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea eax, [ebp - 0x34]
mov edx, 0x48d7cc
call fcn.00404a2c
mov eax, dword [ebp - 0x34]
mov edx, 7
call fcn.00426b0c
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 0xa
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x2c], edx
jmp 0x48d739
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.00429924
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408b24
mov eax, dword [ebp - 0x38]
mov edx, 0x48d800
call fcn.00404b2c
jne 0x48d4f1
xor eax, eax
push ebp
push 0x48d4db
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
lea eax, [ebp - 0x40]
call fcn.00404a2c
mov eax, dword [ebp - 0x40]
call fcn.00404be0
push eax
call sub.kernel32.dll_CreateDirectoryA
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48d810
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48d81c
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.00404aa0
mov eax, dword [ebp - 0x44]
call fcn.00404be0
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
lea eax, [ebp - 0x48]
call fcn.00404a2c
mov eax, dword [ebp - 0x48]
call fcn.00404be0
push eax
call sub.kernel32.dll_MoveFileA
mov dl, 1
mov eax, dword [0x416998]
call fcn.00403840
mov ebx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x24]
mov edx, 0x48d82c
mov eax, ebx
call fcn.004198dc
mov eax, ebx
call fcn.00403870
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call fcn.004047a8
mov edx, dword [ebp - 0x28]
mov eax, 0x48d844
call fcn.00404d24
mov ecx, eax
lea eax, [ebp - 0x28]
mov edx, 1
call fcn.00404c80
cmp dword [ebp - 0x28], 0
jne 0x48d2d0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call fcn.004047a8
mov dl, 1
mov eax, dword [0x416998]
call fcn.00403840
mov ebx, eax
mov edx, 0x48d850
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x48d870
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x48d880
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x48d894
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x48d8b4
push dword [ebp - 0x28]
push 0x48d8c8
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404aa0
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x48d8d8
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x48d900
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48d914
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404aa0
mov edx, dword [ebp - 0x50]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x48d924
push dword [ebp - 0x24]
push 0x48d93c
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404aa0
mov edx, dword [ebp - 0x54]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x48d950
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x48d9b8
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x48d9cc
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x48d9e4
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48da00
push dword [ebp - 0x24]
push 0x48da24
lea eax, [ebp - 0x58]
mov edx, 5
call fcn.00404aa0
mov edx, dword [ebp - 0x58]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x48d9e4
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48da3c
push dword [ebp - 0x24]
push 0x48da24
lea eax, [ebp - 0x5c]
mov edx, 5
call fcn.00404aa0
mov edx, dword [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x48da60
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x48da78
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48d810
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48da88
lea eax, [ebp - 0x60]
mov edx, 5
call fcn.00404aa0
mov edx, dword [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, ebx
call fcn.00403870
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48d810
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48da88
lea eax, [ebp - 0x64]
mov edx, 5
call fcn.00404aa0
mov eax, dword [ebp - 0x64]
call fcn.004297f0
test al, al
je 0x48d4c7
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48d810
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48d81c
lea eax, [ebp - 0x68]
mov edx, 5
call fcn.00404aa0
mov eax, dword [ebp - 0x68]
call fcn.004297f0
test al, al
je 0x48d4c7
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 3
jmp 0x48d4ce
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d731
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48a664]
call fcn.0048b034
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48d712
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x48da90]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48d810
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.00404aa0
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
lea eax, [ebp - 0x70]
call fcn.00404a2c
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0048b754
mov dl, 1
mov eax, dword [0x44ab28]
call fcn.0044abcc
mov edi, eax
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48d810
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48da9c
lea eax, [ebp - 0x74]
mov edx, 5
call fcn.00404aa0
mov edx, dword [ebp - 0x74]
mov eax, edi
call fcn.0044abec
test al, al
jne 0x48d5bd
mov edx, 7
mov eax, 0x48daac
call fcn.00426b0c
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d739
mov eax, dword [edi + 0x20]
call fcn.00405b0c
test eax, eax
jle 0x48d67f
mov eax, dword [edi + 0x20]
call fcn.00405b0c
mov esi, eax
dec esi
test esi, esi
jl 0x48d67f
inc esi
xor ebx, ebx
mov eax, dword [edi + 0x20]
mov eax, dword [eax + ebx*8]
lea edx, [ebp - 0x78]
call fcn.00408b24
mov eax, dword [ebp - 0x78]
mov edx, 0x48dad4
call fcn.00404b2c
jne 0x48d677
lea eax, [ebp - 0x10]
mov edx, dword [edi + 0x20]
mov edx, dword [edx + ebx*8 + 4]
call fcn.004047a8
mov edx, 7
mov eax, dword [ebp - 0x10]
call fcn.0040901c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x12]
call fcn.0045c170
movzx eax, word [ebp - 0x12]
cmp eax, dword [ebp - 0x18]
jge 0x48d677
push 0x48dae4
lea edx, [ebp - 0x80]
movzx eax, word [ebp - 0x12]
call fcn.00408e74
push dword [ebp - 0x80]
push 0x48db18
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404aa0
mov eax, dword [ebp - 0x7c]
mov edx, 7
call fcn.00426b70
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d739
inc ebx
dec esi
jne 0x48d5e3
mov eax, dword [ebp - 8]
add eax, 0x14
call fcn.00404710
mov eax, dword [edi + 0x1c]
call fcn.00405b0c
mov esi, eax
dec esi
test esi, esi
jl 0x48d6e3
inc esi
xor ebx, ebx
mov eax, dword [ebp - 8]
push dword [eax + 0x14]
mov eax, dword [edi + 0x1c]
push dword [eax + ebx*8]
push 0x48db34
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, 3
call fcn.00404aa0
mov eax, dword [ebp - 8]
push dword [eax + 0x14]
mov eax, dword [edi + 0x1c]
push dword [eax + ebx*8 + 4]
push 0x48db34
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, 3
call fcn.00404aa0
inc ebx
dec esi
jne 0x48d69c
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 3
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 4]
call fcn.0048be08
mov eax, edi
call fcn.00403870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d731
mov eax, dword [ebp - 0xc]
call fcn.00403870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d763
lea eax, [ebp - 0x80]
mov edx, 0x18
call fcn.00404734
lea eax, [ebp - 0x10]
call fcn.00404710
ret