Function at 0x42d8cc
Capabilities:
Create directory

Disassembly:
mov eax, 0x49b45f
call fcn.00497330
sub esp, 0x2b8
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push ebx
push esi
push edi
push ecx
mov edi, 0x4cbe74
push eax
mov dword [ebp - 0x6c], edi
call fcn.0042dd18
push 0x104
lea eax, [ebp - 0x2c4]
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x30]
call fcn.00407b50
lea eax, [ebp - 0x30]
mov dword [ebp - 0x50], ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00406923
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0042ddad
lea ecx, [ebp - 0x4c]
call fcn.004045a0
lea ecx, [ebp - 0x30]
call fcn.004045a0
mov dword [ebp - 0x68], ebx
xor eax, eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0041775b
test al, al
jne 0x42d97e
push str.C:Temp_
lea ecx, [ebp - 0x68]
call fcn.00407b29
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmovae eax, dword [ebp - 0x68]
push ebx
push eax
call esi
mov dword [ebp - 0x4c], ebx
xor eax, eax
mov dword [ebp - 0x3c], ebx
push 0x4b31e4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 4
call fcn.00407b29
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x30]
call fcn.00416814
pop ecx
lea ecx, [ebp - 0x68]
cmp ecx, eax
je 0x42d9de
mov byte [ebp - 0x14], bl
push dword [ebp - 0x14]
push eax
call fcn.0040683f
lea ecx, [ebp - 0x30]
call fcn.004045a0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.004045a0
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push ebx
cmovae eax, dword [ebp - 0x68]
push eax
call esi
lea eax, [ebp - 0x68]
mov dword [ebp - 0x34], 2
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00404378
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0042ddad
lea ecx, [ebp - 0x30]
call fcn.004045a0
mov dword [ebp - 0x4c], ebx
xor eax, eax
mov dword [ebp - 0x3c], ebx
push str.msetup.json
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 4
call fcn.00407b29
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x30]
call fcn.00416814
pop ecx
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xa0], 1
call fcn.00406923
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0042ddad
lea ecx, [ebp - 0x9c]
call fcn.004045a0
lea ecx, [ebp - 0x30]
call fcn.004045a0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.004045a0
mov edx, str.Downloads_msetup
lea ecx, [ebp - 0xb8]
call fcn.00417004
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00404378
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0042ddad
lea ecx, [ebp - 0x30]
call fcn.004045a0
mov dword [ebp - 0x30], ebx
xor eax, eax
mov dword [ebp - 0x20], ebx
push str.msetup
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 0xc
call fcn.00407b29
mov dword [ebp - 0x4c], ebx
xor eax, eax
mov dword [ebp - 0x3c], ebx
push str._LOCALAPPDATA_
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 0xf
call fcn.00407b29
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x84]
call fcn.004168e0
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.004045a0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x14
call fcn.004045a0
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push ebx
cmovae eax, dword [ebp - 0x84]
push eax
call esi
lea eax, [ebp - 0x84]
mov ecx, edi
push eax
push 4
call fcn.0042dc6e
lea ecx, [ebp - 0x84]
call fcn.004045a0
lea ecx, [ebp - 0xb8]
call fcn.004045a0
lea ecx, [ebp - 0x68]
call fcn.004045a0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret