Function at 0x2d9e3cf840
Capabilities:
Accept command line arguments
Create http request
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x250], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x40]
call fcn.2d9e3e3224
lea rdx, [0x2d9e409e68]
lea rcx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x2d9e3cf9f0
lea rdx, [0x2d9e409e58]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x2d9e3cf910
xor edi, edi
lea r8, [0x2d9e3cd930]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x2d9e3ccb60]
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x2d9e3cfaa3
lea rdx, [0x2d9e409eb0]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x2d9e3cf9af
lea rdx, [0x2d9e409e80]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x2d9e3cf9af
lea rdx, [0x2d9e409ab8]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x2d9e3cfaa3
xor edi, edi
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], edi
call fcn.2d9e3cc100
mov rdi, rax
test rax, rax
je 0x2d9e3cfaa3
mov ebx, dword [rsp + 0x30]
test ebx, ebx
je 0x2d9e3cfaa3
mov edx, ebx
mov rcx, rax
call fcn.2d9e3cf0b0
test eax, eax
jg 0x2d9e3cfaa3
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, ebx
mov rcx, rdi
call fcn.2d9e3cf0b0
test eax, eax
jle 0x2d9e3cf991
jmp 0x2d9e3cfaa3
lea rax, [rsp + 0x30]
xor edi, edi
mov qword [rsp + 0x28], rax
lea r8, [0x2d9e3ce660]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
or edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x2d9e3cfaa3
call fcn.2d9e3cd980
xor edi, edi
test eax, eax
jne 0x2d9e3cfa40
call fcn.2d9e3cda20
test eax, eax
jne 0x2d9e3cfa40
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x2d9e3ce660]
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
or edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x2d9e3cfa48
mov rcx, rbx
call fcn.2d9e3cf600
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea rcx, [0x2d9e4095c8]
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbx, rax
test rax, rax
je 0x2d9e3cfaa3
mov qword [rsp + 0x28], rdi
lea rdx, [0x2d9e417f04]
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
test rax, rax
je 0x2d9e3cfa9a
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.2d9e3da7d0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret