Function at 0x140052a90
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1c8
mov dword [rsp + 0x40], 0
lea rcx, [0x14007f628]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140052aea
lea rdx, [0x14007f638]
mov rcx, qword [rsp + 0x1d0]
call fcn.140005e80
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1d0]
jmp 0x140052fa0
lea rdx, [0x14007f650]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
lea rdx, [0x14007f660]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rdx, [0x14007f678]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rdx, [0x14007f690]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.InternetReadFile
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rdx, [0x14007f6c0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x78], 0
je 0x140052bbc
cmp qword [rsp + 0x80], 0
je 0x140052bbc
cmp qword [rsp + 0x88], 0
je 0x140052bbc
cmp qword [rsp + 0x90], 0
je 0x140052bbc
cmp qword [rsp + 0x98], 0
je 0x140052bbc
cmp qword [rsp + 0x50], 0
jne 0x140052bf3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, [0x14007f6d8]
mov rcx, qword [rsp + 0x1d0]
call fcn.140005e80
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1d0]
jmp 0x140052fa0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.IPRetrieval
call qword [rsp + 0xa0]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140052c65
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, [0x14007f700]
mov rcx, qword [rsp + 0x1d0]
call fcn.140005e80
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1d0]
jmp 0x140052fa0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x50
lea rdx, str.api.ipify.org
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140052d0f
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, [0x14007f728]
mov rcx, qword [rsp + 0x1d0]
call fcn.140005e80
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1d0]
jmp 0x140052fa0
lea rax, str.text_
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14007f744]
lea rdx, [0x14007f748]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0xb8]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140052df4
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0xc0]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, [0x14007f750]
mov rcx, qword [rsp + 0x1d0]
call fcn.140005e80
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1d0]
jmp 0x140052fa0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xd0]
test eax, eax
jne 0x140052eaa
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xd8]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0xe0]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, str.Unknown_IP_Address
mov rcx, qword [rsp + 0x1d0]
call fcn.140005e80
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1d0]
jmp 0x140052fa0
lea rcx, [rsp + 0x120]
call fcn.140006100
nop
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xf0], rax
lea r9, [rsp + 0x60]
mov r8d, 0x7f
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xf0]
test eax, eax
je 0x140052f15
cmp dword [rsp + 0x60], 0
je 0x140052f15
mov eax, dword [rsp + 0x60]
mov byte [rsp + rax + 0x140], 0
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x120]
call fcn.140008c30
jmp 0x140052eb8
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xf8]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x70]
call qword [rsp + pe_nt_image_headers64]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x108]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x1d0]
call fcn.140005d60
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x120]
call fcn.140007450
mov rax, qword [rsp + 0x1d0]
add rsp, 0x1c8
ret