Function at 0x180090a7c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rdx
mov rdi, rcx
movdqa xmm0, xmmword [0x180283730]
movdqu xmmword [rsp + 0x40], xmm0
xor r15d, r15d
mov byte [rsp + 0x30], r15b
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x60]
call fcn.1801c27d0
mov r8d, dword [0x1802a6c5c]
lea rdx, str.http:__runpikachu.com:39990_api_config_v2_download__d.txt
lea rcx, [rbp - 0x60]
call fcn.18005f93c
mov r14d, r15d
mov dword [rbp + 0x100], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
lea rcx, str.mjhsgid
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
test rax, rax
jne 0x180090bca
mov qword [rdi + 0x10], r15
lea r14d, [r15 + 0xf]
mov qword [rdi + 0x18], r14
mov byte [rdi], r15b
lea rdx, [0x180281130]
mov rcx, rdi
call fcn.18005a838
nop
mov esi, 0x1000
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180090b7c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x180090b77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180091059
call fcn.18009e42c
movdqa xmm0, xmmword [0x180283730]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r15b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180091012
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x18009100d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180091041
jmp 0x18009100a
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rsi, rax
test rax, rax
jne 0x180090caa
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rdi + 0x10], r15
lea r14d, [rsi + 0xf]
mov qword [rdi + 0x18], r14
mov byte [rdi], r15b
lea rdx, [0x180281130]
mov rcx, rdi
call fcn.18005a838
nop
mov esi, 0x1000
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180090c5c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x180090c57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009105f
call fcn.18009e42c
movdqa xmm0, xmmword [0x180283730]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r15b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180091012
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x18009100d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180091047
jmp 0x18009100a
mov r13d, r15d
add r13d, 0x400
mov edx, r13d
mov rcx, r14
call fcn.1801ca890
mov r14, rax
mov rcx, rsi
test rax, rax
je 0x180090f62
mov edx, r15d
add rdx, rax
lea r9, [rbp + 0x100]
mov r8d, 0x400
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180090e9a
mov eax, dword [rbp + 0x100]
add r15d, eax
test eax, eax
jne 0x180090cad
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movdqa xmm0, xmmword [0x180283730]
movdqu xmmword [rsp + 0x60], xmm0
xor r15d, r15d
mov byte [rsp + 0x50], r15b
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.18005a838
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.18008fdb8
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.18005fbc8
mov esi, 0x1000
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180090d8b
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rsi
jb 0x180090d86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180091065
call fcn.18009e42c
mov rcx, r14
call fcn.1801ca87c
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov r8d, 0x20
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1801c2370
movdqa xmm0, xmmword [0x180283730]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r15b
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180090dfa
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, rsi
jb 0x180090df5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009106b
call fcn.18009e42c
movdqa xmm0, xmmword [0x180283730]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], r15b
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180090e46
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x180090e41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180091071
call fcn.18009e42c
movdqa xmm0, xmmword [0x180283730]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r15b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180090e8f
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x180090e8a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180091077
mov rcx, r8
call fcn.18009e42c
mov r14d, reloc.WS2_32.dll_ntohs
jmp 0x180091012
mov rcx, r14
call fcn.1801ca87c
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r15d, r15d
mov qword [rdi + 0x10], r15
lea r14d, [r15 + 0xf]
mov qword [rdi + 0x18], r14
mov byte [rdi], r15b
lea rdx, [0x180281130]
mov rcx, rdi
call fcn.18005a838
nop
mov esi, 0x1000
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180090f14
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x180090f0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009107d
call fcn.18009e42c
movdqa xmm0, xmmword [0x180283730]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r15b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180091012
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x18009100d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009104d
jmp 0x18009100a
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r15d, r15d
mov qword [rdi + 0x10], r15
lea r14d, [r15 + 0xf]
mov qword [rdi + 0x18], r14
mov byte [rdi], r15b
lea rdx, [0x180281130]
mov rcx, rdi
call fcn.18005a838
nop
mov esi, 0x1000
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180090fcd
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x180090fc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009103b
call fcn.18009e42c
movdqa xmm0, xmmword [0x180283730]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r15b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180091012
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x18009100d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180091053
mov rcx, r8
call fcn.18009e42c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r14
mov byte [rbx], r15b
mov rax, rdi
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1801c897c
nop
call fcn.1801c897c
int3
call fcn.1801c897c
int3
call fcn.1801c897c
int3
call fcn.1801c897c
nop
call fcn.1801c897c
int3
call fcn.1801c897c
nop
call fcn.1801c897c
nop
call fcn.1801c897c
nop
call fcn.1801c897c
nop
call fcn.1801c897c
nop
call fcn.1801c897c
int3