Function at 0x42bcb0
Capabilities:
Initialize winhttp library
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f69e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5b0514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
mov ecx, edx
mov ebx, dword [ebp + 0xc]
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bcf0
sub ecx, edi
lea edi, [esi + 0x280]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00410900
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
test eax, eax
jle 0x42bd2c
push 0x104
push ebx
lea eax, [esi + 0x2b0]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
push 0x3c
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.005219d0
add esp, 0xc
mov dword [ebp - 0x7c], 0x3c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
jb 0x42bd67
mov edi, dword [edi]
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x42bda0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov eax, dword [esi]
test eax, eax
je 0x42bd99
push 0
push 0x81f8
push 0x81f4
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x42c1d3
mov eax, dword [esi + 0x24]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x42bdb7
push eax
call ebx
mov dword [esi + 0x24], 0
push 0x10000000
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_67.0.3396.99_Safari_537.36
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
test eax, eax
jne 0x42bddd
call fcn.0042fb30
mov edi, eax
mov eax, dword [esi + 0x24]
jmp 0x42bde2
mov dword [esi + 0x24], eax
xor edi, edi
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x42bdfe
call fcn.0042fb30
test edi, edi
js 0x42bd80
mov eax, dword [esi + 0x27c]
test eax, eax
je 0x42be1d
push eax
call ebx
mov dword [esi + 0x27c], 0
mov ecx, dword [ebp - 0x6c]
xor edi, edi
mov eax, dword [ebp - 0x68]
mov edx, 7
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], edx
mov word [ebp - 0x94], di
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x42be59
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.00410900
mov edx, dword [ebp - 0x80]
push 0
push dword [ebp - 0x64]
cmp edx, 8
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push dword [esi + 0x24]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
jne 0x42be85
call fcn.0042fb30
mov edi, eax
jmp 0x42be8d
mov dword [esi + 0x27c], eax
xor edi, edi
mov edx, dword [ebp - 0x80]
cmp edx, 8
jb 0x42beca
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bec0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c1f1
push edx
push ecx
call fcn.00497cc1
add esp, 8
test edi, edi
js 0x42bd80
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x42bee3
push eax
call ebx
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 8]
lea edi, [esi + 0x2b0]
mov dword [esi + 0xe0], eax
mov eax, dword [esi + 0xc]
push edi
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], 0
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
test eax, eax
jle 0x42bf5d
cmp byte [esi + 0x25c], 0
jne 0x42bf3c
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bf20
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x168]
call fcn.00410900
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bf41
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x260]
call fcn.00410900
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], dx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x42bf95
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.00410900
mov dword [ebp - 4], 0
xor edx, edx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], dx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x42bfd7
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0xac]
call fcn.00410900
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x40]
call fcn.0042c710
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x98]
cmp edx, 8
jb 0x42c037
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c02d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c1f6
push edx
push ecx
call fcn.00497cc1
add esp, 8
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x80]
cmp edx, 8
jb 0x42c095
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c08b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c1fb
push edx
push ecx
call fcn.00497cc1
add esp, 8
xor eax, eax
mov dword [ebp - 0x84], 0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov word [ebp - 0x94], ax
mov edx, 0x800000
cmovae ecx, dword [ebp - 0x40]
sub esp, 8
cmp dword [ebp - 0x70], 2
mov dword [ebp - 0x80], 7
cmove eax, edx
push eax
push 0
sub esp, 8
lea eax, [esi + 0x278]
push 0x58db98
push ecx
push eax
lea ecx, [esi + 0x28]
call fcn.0042e090
test eax, eax
js 0x42c179
cmp dword [esi + 0x2a8], 0
jbe 0x42c169
cmp dword [esi + 0x2ac], 8
lea eax, [esi + 0x298]
jb 0x42c106
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push str.Referer:__s_r_n
push eax
call fcn.00413710
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x28]
cmovae eax, dword [ebp - 0x28]
add esp, 8
push dword [ebp - 0x18]
push eax
call fcn.0042dfc0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42c169
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c200
push edx
push ecx
call fcn.00497cc1
add esp, 8
push 0
push 0
lea ecx, [esi + 0x28]
call fcn.0042de80
test eax, eax
jns 0x42c196
mov eax, dword [esi]
test eax, eax
je 0x42c192
push 0
push 0x81f8
push 0x81f4
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
jmp 0x42c19b
mov esi, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42c1d1
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c1c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c205
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497cb0
mov esp, ebp
pop ebp
ret 8
call fcn.00524999
call fcn.00524999
call fcn.00524999
call fcn.00524999
call fcn.00524999
int3