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

Disassembly:
push 0xffffffffffffffff
push 0x45a128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov eax, dword [0x471df4]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x244], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
push 0x46bdc4
lea ecx, [esp + 0x20]
mov byte [esp + 0x248], 4
call fcn.0044a511
mov eax, dword [esp + 0x250]
lea ecx, [esp + 0x1c]
push eax
call fcn.0044a764
push 0x46bdc0
lea ecx, [esp + 0x20]
call fcn.0044a764
mov ebp, dword [esp + 0x24c]
lea ecx, [esp + 0x20]
push ebp
call fcn.0044a511
push 0x5c
lea ecx, [esp + 0x24]
call fcn.00449442
cmp eax, 0xffffffff
je 0x42d6f6
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.004490eb
lea ecx, [esp + 0x138]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [esp + 0x254]
lea ecx, [esp + 0x28]
push edx
call fcn.0044a442
mov esi, eax
lea eax, [esp + 0x138]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x248], 5
call fcn.0044a442
push esi
lea ecx, [esp + 0x30]
mov bl, 6
push eax
push ecx
mov byte [esp + 0x250], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 7
call fcn.0044a4c1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x244], bl
call fcn.0044a3d4
lea ecx, [esp + 0x30]
mov byte [esp + 0x244], 5
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x244], 4
call fcn.0044a3d4
mov edx, dword [esp + 0x18]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
call fcn.0044a7a0
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 0x46ae38
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x260]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0043af00
mov esi, eax
add esp, 8
test esi, esi
mov ebx, 2
je 0x42d95e
mov eax, dword [esp + 0x18]
push 0x46ae3c
push eax
call fcn.0043af00
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x42d95e
push esi
lea ecx, [esp + 0x38]
push 0x1f3
push ecx
call fcn.0043ae30
add esp, 0xc
test eax, eax
je 0x42d95e
lea edx, [esp + 0x34]
lea ecx, [esp + 0x10]
push edx
call fcn.0044a511
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42d935
test eax, eax
jne 0x42d86b
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.00449464
test eax, eax
jne 0x42d935
mov dword [esp + 0x24], 1
jmp 0x42d935
push 0x46bdc4
lea ecx, [esp + 0x14]
call fcn.00449464
test eax, eax
jne 0x42d894
push ebp
push 0x46b908
mov dword [esp + 0x2c], ebx
call fcn.0043add0
add esp, 8
jmp 0x42d935
push str.AddReg
lea ecx, [esp + 0x14]
call fcn.00449464
test eax, eax
jne 0x42d8e1
mov edi, str.AddReg
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004490eb
push str.DelReg
lea ecx, [esp + 0x18]
call fcn.0044a511
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0044a7a0
lea edx, [esp + 0x14]
push edx
jmp 0x42d92c
push str.CopyFiles
lea ecx, [esp + 0x14]
call fcn.00449464
test eax, eax
jne 0x42d943
mov edi, str.CopyFiles
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004490eb
push str.DelFiles
lea ecx, [esp + 0x18]
call fcn.0044a511
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0044a7a0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0044a4c1
mov edx, dword [esp + 0x10]
push ebp
push edx
call fcn.0043add0
add esp, 8
push esi
lea eax, [esp + 0x38]
push 0x1f3
push eax
call fcn.0043ae30
add esp, 0xc
test eax, eax
jne 0x42d82a
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 3
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], bl
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 1
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 0
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov dword [esp + 0x244], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret 0x10