Function at 0x1000de50
Capabilities:
Initialize winhttp library
Reference http user-agent string
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058d17
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x100764f8]
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 ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1fc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1f0], ecx
lea ecx, [ebp - 0x240]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x23c], 0
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x228], xmm0
movlpd qword [ebp - 0x220], xmm0
movlpd qword [ebp - 0x218], xmm0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x240], 0x3c
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x22c], 0xffffffff
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x208], 0xffffffff
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x1000e269
xor edi, edi
mov dword [ebp - method.WinHTTPWrappers::CHandle.virtual_0], 0x1005cc7c
mov dword [ebp - 0x200], edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x1f4], ebx
mov dword [ebp - method.WinHTTPWrappers::CHandle.virtual_0], 0x1005cc8c
lea ecx, [ebp - 0x1e8]
call fcn.1000be00
push ebx
push ebx
push ebx
push ebx
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
mov byte [ebp - 4], 2
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
test eax, eax
jne 0x1000df6e
call fcn.1000c4a0
mov dword [ebp - 0x1ec], eax
jmp 0x1000df80
mov edi, eax
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x200], edi
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x1000df9b
call fcn.1000c4a0
cmp dword [ebp - 0x1ec], 0
jl 0x1000e24a
mov ecx, dword [ebp - 0x230]
xor esi, esi
mov eax, dword [ebp - 0x22c]
mov edx, 7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], si
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x1000dfe1
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10006f50
mov edx, dword [ebp - 0x14]
push 0
push dword [ebp - 0x228]
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
jne 0x1000e008
call fcn.1000c4a0
mov esi, eax
jmp 0x1000e012
mov ebx, eax
xor esi, esi
mov dword [ebp - 0x1f4], ebx
lea ecx, [ebp - 0x28]
call fcn.10003fd0
test esi, esi
js 0x1000e24a
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0
movlpd qword [ebp - 0x170], xmm0
push 8
mov byte [ebp - 4], 3
call fcn.1003db67
mov esi, eax
mov dword [ebp - 0x60], 0
xor edx, edx
mov dword [ebp - 0x1ec], esi
add esp, 4
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], dx
mov dword [esi], 0x1005cebc
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x208]
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x1000e08f
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.10006f50
mov ecx, dword [ebp - 0x214]
xor edx, edx
mov eax, dword [ebp - 0x210]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
lea eax, [ecx + eax*2]
mov word [ebp - 0x58], dx
cmp ecx, eax
je 0x1000e0c8
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.10006f50
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1000bbd0
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.10003fd0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.10003fd0
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
push 0
cmovae ecx, dword [ebp - 0x88]
mov edx, 0x800000
push 0x1fa0
xor eax, eax
cmp dword [ebp - 0x234], 2
cmove eax, edx
push eax
push esi
push 0
push 0
push str.POST
push ecx
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.1000cc10
test eax, eax
js 0x1000e236
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x28]
call fcn.100036b0
push dword [ebp - 0x18]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push str.Content_Type:_text_plain_r_nContent_Length:__d_r_nProxy_Connection:_Keep_Alive_r_nPragma:_no_cache_r_n
push eax
call fcn.10014fd0
add esp, 0xc
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x1000000
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x1e4]
mov byte [ebp - 4], 0xa
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1000e199
call fcn.1000c4a0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1e8]
push eax
call fcn.1000e310
test eax, eax
js 0x1000e226
push dword [ebp - 0x1f0]
mov ecx, dword [ebp - 0x1f0]
push dword [ebp - 0x130]
push dword [ebp - 0x134]
mov eax, dword [ecx]
push eax
mov dword [ecx + 4], eax
call fcn.1000bc60
lea ecx, [ebp - 0x40]
call fcn.10003fd0
lea ecx, [ebp - 0x28]
call fcn.10003f80
lea ecx, [ebp - 0x88]
call fcn.10003fd0
push esi
call fcn.1003cdec
add esp, 4
lea ecx, [ebp - 0x1e8]
call fcn.1000bff0
lea ecx, [ebp - 0x1f8]
call fcn.1000c2f0
lea ecx, [ebp - 0x204]
call fcn.1000c2f0
mov eax, 1
jmp 0x1000e26b
lea ecx, [ebp - 0x40]
call fcn.10003fd0
lea ecx, [ebp - 0x28]
call fcn.10003f80
lea ecx, [ebp - 0x88]
call fcn.10003fd0
push esi
call fcn.1003cdec
add esp, 4
lea ecx, [ebp - 0x1e8]
call fcn.1000bff0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test ebx, ebx
je 0x1000e262
push ebx
call esi
test edi, edi
je 0x1000e269
push edi
call esi
xor eax, eax
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.10034676
mov esp, ebp
pop ebp
ret 0xc