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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027c1cb
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.1004fdb0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x28
call fcn.1004fdb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x5c
call fcn.1004fdb0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x90
call fcn.1004f390
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0x9c
call fcn.1004f390
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0xa8
call fcn.1004f390
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
add ecx, 0xb4
call fcn.1004fdb0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
add ecx, 0xcc
call fcn.1004fdb0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
add ecx, 0xe4
call fcn.1004fdb0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1fc
call fcn.1004fdb0
mov byte [ebp - 4], 9
movzx eax, byte [0x1034f9e0]
test eax, eax
jne 0x1004da31
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x218], 1
push 3
call fcn.100e7500
add esp, 4
push 4
call fcn.100e70d0
add esp, 4
mov dword [ebp - 0x34], eax
push str.WinSSL
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x14]
push eax
call fcn.10251130
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp eax, dword [ecx + 0x14]
je 0x1004d98e
mov dword [ebp - 0x38], 1
jmp 0x1004d995
mov dword [ebp - 0x38], 0
mov dl, byte [ebp - 0x38]
mov byte [0x1034f9e1], dl
push 0x3ff
push 0x1034f9e8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x1034f9e8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
jmp 0x1004d9cf
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jl 0x1004da0b
mov edx, dword [ebp - 0x30]
movsx eax, byte [edx + 0x1034f9e8]
cmp eax, 0x5c
jne 0x1004da09
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0x400
jae 0x1004d9f8
jmp 0x1004d9fd
call fcn.100e62e7
mov edx, dword [ebp - 0x3c]
mov byte [edx + 0x1034f9e8], 0
jmp 0x1004da0b
jmp 0x1004d9c6
push str.curl_ca_bundle.crt
push 0x1034f9e8
call fcn.10050c90
add esp, 8
push 0x1004e7f0
call fcn.100e61b1
add esp, 4
mov byte [0x1034f9e0], 1
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x220], 0xffffffff
mov dword [ecx + 0x224], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x228], 0xffffffff
mov dword [edx + 0x22c], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x214], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x80], 0xffffffff
mov dword [ecx + 0x84], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x24], 0
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x2c]
mov byte [edx + ecx + 0xfc], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x50], 0
call fcn.100e7470
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x4c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [edx], 0x10000
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x54], 1
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x58], edx
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x230], 0
push 0x102fc213
push 0x2797
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call fcn.100ec1e0
add esp, 0xc
push str.Mozilla_5.0
lea ecx, [ebp - 0x28]
call fcn.1004fd40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.1004e490
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.1004fbe0
push 0x1004d5e0
push 0x4e2b
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call fcn.100ec1e0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
push ecx
push 0x2711
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call fcn.100ec1e0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add ecx, 0x54
push ecx
push 0x272d
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call fcn.100ec1e0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfc
push ecx
push 0x271a
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call fcn.100ec1e0
add esp, 0xc
push 0x1004d710
push 0x4e58
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call fcn.100ec1e0
add esp, 0xc
push 0
push 0x2b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call fcn.100ec1e0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
push 0x2749
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call fcn.100ec1e0
add esp, 0xc
push 1
push 0x34
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call fcn.100ec1e0
add esp, 0xc
push 0x102fc232
push 0x2776
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call fcn.100ec1e0
add esp, 0xc
push 0x1004d5a0
push 0x4eb4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call fcn.100ec1e0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
push 0x27a5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call fcn.100ec1e0
add esp, 0xc
push 0x1034f9e8
push 0x2751
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call fcn.100ec1e0
add esp, 0xc
push 0
push 0x40
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call fcn.100ec1e0
add esp, 0xc
push 0
push 0x51
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call fcn.100ec1e0
add esp, 0xc
push 1
push 0x3a
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call fcn.100ec1e0
add esp, 0xc
push 0x8000
push 0x62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call fcn.100ec1e0
add esp, 0xc
push 0
push 0x29
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call fcn.100ec1e0
add esp, 0xc
push 3
push 0xd
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call fcn.100ec1e0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret