Function at 0x100d5290
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10261b4b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10320c34]
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 edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xf
mov dword [ebp - 4], 0
mov byte [edi + 0x28], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0xf
mov byte [edi + 0x5c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0xf
mov byte [edi + 0xb4], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0xf
mov byte [edi + 0xcc], 0
lea ebx, [edi + 0xe4]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [edi + 0x20c], 0
mov dword [edi + 0x210], 0xf
mov byte [edi + 0x1fc], 0
cmp byte [0x10323858], 0
mov byte [ebp - 4], 9
jne 0x100d546a
push 3
mov byte [edi + 0x218], 1
call fcn.100dabc0
push 4
call fcn.100db320
mov esi, eax
push str.WinSSL
push dword [esi + 0x14]
call fcn.102335b0
add esp, 0x10
cmp eax, dword [esi + 0x14]
setne byte [0x10323859]
push 0x3ff
push 0x10323860
push 0
call dword [0x102632b0]
push 0x10323860
call dword [0x102632ac]
test eax, eax
js 0x100d5442
nop word [eax + eax]
cmp byte [eax + 0x10323860], 0x5c
je 0x100d557c
sub eax, 1
jns 0x100d5430
push str.curl_ca_bundle.crt
push 0x400
push 0x10323860
call fcn.102388e7
push 0x100d5e30
call fcn.102308fb
add esp, 0x10
mov byte [0x10323858], 1
mov dword [edi + 8], 0
lea esi, [edi + 0xfc]
mov dword [edi + 0x220], 0xffffffff
mov dword [edi + 0x224], 0xffffffff
mov dword [edi + 0x228], 0xffffffff
mov dword [edi + 0x22c], 0xffffffff
mov dword [edi + 0x214], 0
mov dword [edi + 0x80], 0xffffffff
mov dword [edi + 0x84], 0xffffffff
mov dword [edi + 0x24], 0
mov byte [esi], 0
mov dword [edi + 0x50], 0
call fcn.100dab30
push 0x102f046f
push 0x2797
push eax
mov dword [edi + 4], eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], edi
mov dword [edi], 0x10000
mov dword [edi + 0x54], 1
mov dword [edi + 0x58], edi
mov dword [edi + 0x44], 0
mov byte [edi + 0x230], 0
call fcn.100df900
add esp, 0xc
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0xb
push str.Mozilla_5.0
call fcn.100b6c80
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
cmp ebx, eax
je 0x100d5550
cmp dword [ebp - 0x14], 0x10
mov ecx, ebx
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100b6c80
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100d559e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d5594
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d56ce
jmp 0x100d5594
inc eax
cmp eax, 0x400
jae 0x100d56d3
mov byte [eax + 0x10323860], 0
jmp 0x100d5442
push edx
push ecx
call fcn.1023030b
add esp, 8
push 0x100d7640
push 0x4e2b
push dword [edi + 4]
call fcn.100df900
lea eax, [edi + 0x48]
push eax
push 0x2711
push dword [edi + 4]
call fcn.100df900
lea eax, [edi + 0x54]
push eax
push 0x272d
push dword [edi + 4]
call fcn.100df900
push esi
push 0x271a
push dword [edi + 4]
call fcn.100df900
push 0x100d5c00
push 0x4e58
push dword [edi + 4]
call fcn.100df900
push 0
push 0x2b
push dword [edi + 4]
call fcn.100df900
add esp, 0x48
push edi
push 0x2749
push dword [edi + 4]
call fcn.100df900
push 1
push 0x34
push dword [edi + 4]
call fcn.100df900
push 0x102f046f
push 0x2776
push dword [edi + 4]
call fcn.100df900
push 0x100d77d0
push 0x4eb4
push dword [edi + 4]
call fcn.100df900
push edi
push 0x27a5
push dword [edi + 4]
call fcn.100df900
push 0x10323860
push 0x2751
push dword [edi + 4]
call fcn.100df900
add esp, 0x48
push 0
push 0x40
push dword [edi + 4]
call fcn.100df900
push 0
push 0x51
push dword [edi + 4]
call fcn.100df900
push 1
push 0x3a
push dword [edi + 4]
call fcn.100df900
push 0x8000
push 0x62
push dword [edi + 4]
call fcn.100df900
push 0
push 0x29
push dword [edi + 4]
call fcn.100df900
push 3
push 0xd
push dword [edi + 4]
call fcn.100df900
add esp, 0x48
mov eax, edi
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.102302a7
mov esp, ebp
pop ebp
ret
call fcn.1023650a
call fcn.10230f0d
int3