Function at 0x401bb0
Capabilities:
Access peb ldr_data
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x43ef23
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.0043b070
mov eax, dword [0x454654]
xor eax, esp
mov dword [esp + 0x1028], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x454654]
xor eax, esp
push eax
lea eax, [esp + 0x1040]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1050]
xor ebx, ebx
mov dword [esp + 0x1048], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [0x45a98c]
mov edi, ecx
mov esi, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x45a98c
mov dword [esp + 0x2c], edi
call edx
add eax, 0x10
mov dword [edi], eax
push ebx
push ebx
push ebx
mov edi, 1
push edi
mov dword [esp + 0x1058], ebx
push ebx
mov dword [esp + 0x44], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x401f31
push 4
lea ecx, [esp + 0x38]
push ecx
push 0x41
push eax
mov dword [esp + 0x44], edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, dword [0x45a98c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45a98c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push str.Accept_Encoding:_gzip__deflate_r_nConnection:_Close_r_n
lea ebx, [edi + 0x32]
lea eax, [esp + 0x1c]
mov dword [esp + 0x104c], edi
call fcn.004016b0
lea ebx, [edi + 1]
test esi, esi
jne 0x401c94
xor eax, eax
jmp 0x401cae
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x401ca0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
call fcn.004041d0
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
xor edi, edi
call fcn.00403530
mov ecx, eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x1048], bl
call fcn.00403940
mov eax, dword [eax]
push str.https:__
push eax
call fcn.00428146
mov byte [esp + 0x1050], bl
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx - 0x10]
add esp, 8
test eax, eax
lea eax, [ecx - 0x10]
sete byte [esp + 0x17]
cmp dword [eax + 4], edi
je 0x401d5a
cmp dword [eax + 0xc], edi
lea edx, [eax + 0xc]
jge 0x401d34
cmp dword [ecx - 8], edi
jge 0x401d1e
push 0x80070057
call fcn.00401960
mov dword [ecx - 0xc], 0
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov word [ecx], ax
mov ecx, dword [esp + 0x1c]
jmp 0x401d5a
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401d4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x1c], ecx
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401d76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1048], 1
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x401de3
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x401dbd
cmp dword [ecx - 8], 0
jge 0x401da7
push 0x80070057
call fcn.00401960
mov dword [ecx - 0xc], 0
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov word [edx], cx
mov ecx, dword [esp + 0x20]
jmp 0x401de3
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401dd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x20], ecx
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401dff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
je 0x401e0b
mov edi, 0x803000
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
mov ecx, dword [esp + 0x28]
push 0
or edi, 0x4000000
push edi
push eax
push ebx
push ebp
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
jne 0x401e5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x18]
mov byte [esp + 0x1048], 0
call fcn.004015c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x401f25
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x24], 0
lea ecx, [ecx]
lea ecx, [esp + 0x24]
push ecx
push 0x1000
lea edx, [esp + 0x40]
push edx
push edi
call ebp
mov esi, eax
mov eax, dword [esp + 0x24]
mov byte [esp + eax + 0x38], 0
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401e94
sub eax, edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push ecx
push edx
mov edx, eax
call fcn.00404040
test esi, esi
je 0x401eb9
cmp dword [esp + 0x24], 0
jne 0x401e70
lea eax, [ebx - 0x10]
mov byte [esp + 0x1048], 0
cmp dword [eax + 4], 0
mov esi, dword [eax]
je 0x401f15
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x401ef3
cmp dword [ebx - 8], 0
jge 0x401ee5
push 0x80070057
call fcn.00401960
xor eax, eax
mov dword [ebx - 0xc], 0
mov word [ebx], ax
jmp 0x401f15
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401f09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ebx, [eax + 0x10]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401f31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1040]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1028]
xor ecx, esp
call fcn.0042761e
add esp, 0x1038
ret