Function at 0x4a38ac
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x4a38b4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov ebx, 0x4ae810
xor eax, eax
push ebp
push 0x4a4333
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
cmp byte [eax + 0x38], 0
je 0x4a390e
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.00438184
mov edx, 0x4a434c
call fcn.004380e0
jmp 0x4a3932
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.00438184
mov edx, 0x4a4368
call fcn.004380e0
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.0044bab0
mov eax, dword [0x4acb08]
mov eax, dword [eax]
call fcn.0046b1e0
mov byte [ebx], 0
mov byte [ebx + 1], 0xe9
mov byte [ebx + 2], 0x16
mov byte [ebx + 3], 0xc0
mov byte [ebx + 4], 0xc0
mov byte [ebx + 5], 0x3f
mov byte [ebx + 6], 0x3f
mov byte [ebx + 7], 9
mov byte [ebx + 8], 0
mov byte [ebx + 9], 0
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x344]
mov edx, dword [eax]
call dword [edx + 0xcc]
dec eax
jne 0x4a3a14
mov byte [ebx + 9], 1
call fcn.0040a43c
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x26]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x22]
call fcn.0040a394
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0x2e]
push eax
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x2a]
lea eax, [ebp - 0x28]
call fcn.0040a0b8
mov al, byte [ebp - 0x28]
mov byte [ebx + 0xa], al
mov al, byte [ebp - 0x2a]
mov byte [ebx + 0xb], al
mov al, byte [ebp - 0x2c]
mov byte [ebx + 0xc], al
movzx eax, word [ebp - 0x22]
mov edx, eax
and edx, 0xff
mov byte [ebx + 0xd], dl
shr eax, 8
mov byte [ebx + 0xe], al
mov al, byte [ebp - 0x24]
mov byte [ebx + 0xf], al
mov al, byte [ebp - 0x26]
mov byte [ebx + 0x10], al
call fcn.0040a3dc
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0040a3b4
dec eax
mov byte [ebx + 0x11], al
cmp dword [0x4ae80c], 2
jne 0x4a3a2a
mov eax, dword [ebp - 4]
call fcn.004a4dac
jmp 0x4a42b5
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00488d28
movzx esi, word [ebp - 0x72]
lea eax, [ebp - 0x34]
push eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov ecx, esi
call fcn.00488fcc
test al, al
jne 0x4a3ac1
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.0040b9a4
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0xb
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x80], 0
lea edx, [ebp - 0x8c]
mov ecx, 1
mov eax, 0x4a4384
call fcn.0040976c
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [0x4ae801], 1
mov eax, dword [0x4ac8c4]
mov dword [eax], 0x64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
xor edx, edx
call fcn.0044b5a4
xor ebx, ebx
mov byte [0x4ae800], 0
mov eax, 0xbb8
test eax, eax
jl 0x4a3baf
inc eax
mov dword [ebp - 0x38], eax
xor edi, edi
cmp byte [0x4ae800], 0
je 0x4a3b8e
mov eax, dword [0x4ae804]
mov edx, 0x4a43a4
call fcn.00404510
jne 0x4a3b1d
mov ebx, 0xb
jmp 0x4a3b8e
mov eax, dword [0x4ae804]
mov edx, 0x4a43c0
call fcn.00404510
jne 0x4a3b35
mov ebx, 0x16
jmp 0x4a3b8e
mov eax, dword [0x4ae804]
mov edx, 0x4a43dc
call fcn.00404510
jne 0x4a3b8e
mov eax, 0x4ae804
call fcn.00404104
mov eax, dword [0x4ac8c4]
mov dword [eax], 0x64
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x308]
mov eax, esi
call fcn.0044b574
lea eax, [ebp - 0x94]
mov edx, 0x4a43f8
call fcn.004043cc
mov edx, dword [ebp - 0x94]
mov eax, esi
call fcn.0044b5a4
test ebx, ebx
jg 0x4a3baf
push 0xa
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x4acb08]
mov eax, dword [eax]
call fcn.0046b1e0
inc edi
dec dword [ebp - 0x38]
jne 0x4a3af8
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x308]
mov eax, esi
call fcn.0044b574
push dword [ebp - 0x9c]
push 0x4a4404
lea edx, [ebp - 0xa0]
mov eax, edi
call fcn.004087d4
push dword [ebp - 0xa0]
push 0x4a4410
lea edx, [ebp - 0xa4]
mov eax, ebx
call fcn.004087d4
push dword [ebp - 0xa4]
lea eax, [ebp - 0x98]
mov edx, 5
call fcn.00404484
mov edx, dword [ebp - 0x98]
mov eax, esi
call fcn.0044b5a4
test ebx, ebx
je 0x4a42b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, 0xff
call fcn.004027b4
mov esi, eax
push 0xff
push esi
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.004042fc
lea eax, [ebp - 0x18]
mov ecx, 0x4a441c
mov edx, dword [ebp - 0x14]
call fcn.00404410
push 0
lea eax, [ebp - 0xa8]
mov ecx, 0x4a4434
mov edx, dword [ebp - 0x14]
call fcn.00404410
mov eax, dword [ebp - 0xa8]
call fcn.004045c4
push eax
call sub.kernel32.dll_CreateDirectoryA
push 0
mov eax, dword [ebp - 0x18]
call fcn.004045c4
push eax
call sub.kernel32.dll_CreateDirectoryA
lea eax, [ebp - 0xac]
mov ecx, 0x4a4444
mov edx, dword [ebp - 0x18]
call fcn.00404410
mov eax, dword [ebp - 0xac]
mov dl, 1
call fcn.004a2ddc
lea edx, [ebp - 0x10]
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x310]
call fcn.0044b574
mov eax, dword [ebp - 0x10]
call fcn.00408d0c
test al, al
jne 0x4a3cfd
push 0x30
push 0x4a4448
push 0x4a4450
mov eax, dword [ebp - 4]
call fcn.00451ea8
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x4a42b5
push 1
push 1
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00451ea8
mov ecx, 0x4a4468
mov edx, dword [ebp - 0x10]
call fcn.004a25f8
mov esi, eax
test esi, esi
je 0x4a3d3f
push 0x30
push 0x4a4448
push 0x4a446c
mov eax, dword [ebp - 4]
call fcn.00451ea8
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x4a42b5
cmp ebx, 0xb
jne 0x4a3e10
mov esi, 2
lea edx, [ebp - 0xb4]
mov eax, esi
call fcn.004087d4
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
mov edx, 0x4a4484
call fcn.00404410
mov eax, dword [ebp - 0xb0]
push eax
lea edx, [ebp - 0xbc]
mov eax, esi
call fcn.004087d4
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
mov edx, 0x4a4490
call fcn.00404410
mov eax, dword [ebp - 0xb8]
call fcn.004045c4
push eax
mov ecx, dword [0x4ad668]
mov dl, 1
mov eax, dword [0x419244]
call fcn.0041ddc0
mov ebx, eax
push dword [ebp - 0x18]
push 0x4a44a0
lea edx, [ebp - 0xc4]
mov eax, esi
sub eax, 2
call fcn.004087d4
push dword [ebp - 0xc4]
push 0x4a44ac
lea eax, [ebp - 0xc0]
mov edx, 4
call fcn.00404484
mov edx, dword [ebp - 0xc0]
mov eax, ebx
call fcn.0041db68
mov eax, ebx
call fcn.00403314
inc esi
cmp esi, 0x26
jne 0x4a3d4d
jmp 0x4a3e99
xor esi, esi
push dword [ebp - 0x18]
push 0x4a4444
lea edx, [ebp - 0xcc]
mov eax, esi
call fcn.004087d4
push dword [ebp - 0xcc]
push 0x4a44ac
lea eax, [ebp - 0xc8]
mov edx, 4
call fcn.00404484
mov eax, dword [ebp - 0xc8]
call fcn.00408e34
inc esi
cmp esi, 0xa
jne 0x4a3e12
lea eax, [ebp - 0xd0]
mov ecx, 0x4a44bc
mov edx, dword [ebp - 0x18]
call fcn.00404410
mov eax, dword [ebp - 0xd0]
call fcn.00408e34
lea eax, [ebp - 0xd4]
mov ecx, 0x4a44d0
mov edx, dword [ebp - 0x18]
call fcn.00404410
mov eax, dword [ebp - 0xd4]
call fcn.00408e34
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x110]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
call fcn.0049e190
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov dword [ebp - 8], eax
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x348]
mov edx, 0x64
call fcn.004392a0
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x348]
xor edx, edx
call fcn.004392b0
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x4a419c
inc eax
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [esi + 1]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 8]
mov edi, eax
add edi, edi
mov eax, edi
mov ecx, 0x65
cdq
idiv ecx
mov ebx, edx
mov edx, ebx
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x348]
call fcn.004392b0
cmp edi, 0x64
jle 0x4a3fa8
lea eax, [ebp - 0xd8]
push eax
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 0xdc], 0
lea edx, [ebp - 0xe0]
xor ecx, ecx
mov eax, 0x4a44e4
call fcn.0040976c
lea eax, [ebp - 0xd8]
mov edx, 0x4a44f8
call fcn.004043cc
mov eax, dword [ebp - 0xd8]
push eax
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.00438184
pop edx
call fcn.004380e0
jmp 0x4a4005
lea eax, [ebp - 0xe4]
push eax
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 0xdc], 0
lea edx, [ebp - 0xe0]
xor ecx, ecx
mov eax, 0x4a4504
call fcn.0040976c
lea eax, [ebp - 0xe4]
mov edx, 0x4a44f8
call fcn.004043cc
mov eax, dword [ebp - 0xe4]
push eax
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.00438184
pop edx
call fcn.004380e0
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.0044bab0
mov eax, dword [0x4acb08]
mov eax, dword [eax]
call fcn.0046b1e0
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x218]
mov edx, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov byte [0x4ae800], 0
cmp byte [0x4ae801], 0
jne 0x4a419c
mov eax, esi
inc eax
push eax
mov al, byte [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004a3404
push 0x4a4518
lea edx, [ebp - 0xec]
lea eax, [esi + 1]
call fcn.004087d4
push dword [ebp - 0xec]
push 0x4a4528
push dword [ebp - 0xc]
lea eax, [ebp - 0xe8]
mov edx, 4
call fcn.00404484
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0xf4]
mov eax, dword [0x4ac8c4]
mov eax, dword [eax]
call fcn.004087d4
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0xf0]
mov edx, 0x4a4538
call fcn.00404410
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, dword [0x4ae808]
test ebx, ebx
jl 0x4a412b
inc ebx
xor edi, edi
cmp byte [0x4ae800], 0
jne 0x4a412b
push 0xa
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x4ac8c4]
mov dword [eax], 0xa
mov eax, dword [0x4acb08]
mov eax, dword [eax]
call fcn.0046b1e0
inc edi
dec ebx
jne 0x4a4100
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x308]
mov eax, ebx
call fcn.0044b574
push dword [ebp - 0xfc]
push 0x4a4548
lea edx, [ebp - 0x100]
mov eax, edi
call fcn.004087d4
push dword [ebp - 0x100]
lea eax, [ebp - 0xf8]
mov edx, 3
call fcn.00404484
mov edx, dword [ebp - 0xf8]
mov eax, ebx
call fcn.0044b5a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec dword [ebp - 0x38]
jne 0x4a3f16
cmp esi, dword [ebp - 8]
jne 0x4a4278
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
cmp byte [eax + 0x38], 0
je 0x4a41de
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.00438184
mov edx, 0x4a4558
call fcn.004380e0
jmp 0x4a4202
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.00438184
mov edx, 0x4a4570
call fcn.004380e0
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x324]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x348]
mov edx, 0x64
call fcn.004392a0
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x348]
xor edx, edx
call fcn.004392b0
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4a4278
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x350]
mov dl, 1
call fcn.00433070
mov eax, dword [0x4ac7e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x16c]
mov edx, 0xff00000f
call fcn.004253f0
lea eax, [ebp - 0x104]
mov ecx, 0x4a4444
mov edx, dword [ebp - 0x18]
call fcn.00404410
mov eax, dword [ebp - 0x104]
mov dl, 1
call fcn.004a2ddc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a433a
lea eax, [ebp - 0x104]
mov edx, 2
call fcn.00404128
lea eax, [ebp - 0xfc]
mov edx, 2
call fcn.00404128
lea eax, [ebp - 0xf4]
mov edx, 5
call fcn.00404128
lea eax, [ebp - 0xd8]
mov edx, 0xf
call fcn.00404128
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00404128
lea eax, [ebp - 0x90]
call fcn.00404104
lea eax, [ebp - 0x7c]
call fcn.00404104
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404128
ret