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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [0x5fa4f4], 1
jne 0x40e772
jmp 0x40f16e
mov ebx, dword [0x5fa510]
call fcn.00401cfe
cmp dword [ebp + 8], eax
jle 0x40e78b
jmp 0x40f16e
mov eax, 0x57e7bd
push eax
mov ebx, dword [0x5fa520]
test ebx, ebx
je 0x40e7a4
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [0x5fa520], eax
cmp dword [0x5fa524], 1
jne 0x40e886
push 0x57e7bd
push dword [0x5fa528]
call fcn.00401bb5
add esp, 8
cmp eax, 0
jne 0x40e80c
mov ebx, 6
call fcn.004011f1
push 0x80000301
push 0
push 0
push VariantClear
push 0
push 0x586dc9
push 4
mov ebx, 0x4aee90
call fcn.004abf8d
add esp, 0x34
jmp 0x40f16e
call fcn.0040f1b4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x5fa520]
test ebx, ebx
je 0x40e82b
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [0x5fa520], eax
push 0x57f1dd
push dword [0x5fa520]
call fcn.00401bb5
add esp, 8
cmp eax, 0
jne 0x40e886
mov ebx, 6
call fcn.004011f1
push 0x80000301
push 0
push 0
push VariantClear
push 0
push 0x586ddd
push 4
mov ebx, 0x4aee90
call fcn.004abf8d
add esp, 0x34
jmp 0x40f16e
push 0x57f1dd
push dword [0x5fa520]
call fcn.00401bb5
add esp, 8
cmp eax, 0
je 0x40e8c5
push 0x57e7bd
push dword [0x5fa520]
call fcn.00401bb5
add esp, 8
cmp eax, 0
je 0x40e8c5
mov eax, 1
jmp 0x40e8ca
mov eax, 0
test eax, eax
je 0x40e90a
mov eax, dword [0x5fa520]
test eax, eax
je 0x40e8f0
push eax
mov ebx, eax
call fcn.0040112a
inc eax
push eax
call fcn.004abf7b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x5fa52c]
test ebx, ebx
je 0x40e904
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [0x5fa52c], eax
mov ebx, dword [0x5fa510]
call fcn.004017ba
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x40e934
push 0x355
push 0x401d38d
push 4
call fcn.004abf93
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e951
push 0x355
push 0x401d38d
push 1
call fcn.004abf93
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x40e979
push eax
mov ebx, eax
call fcn.0040112a
inc eax
push eax
call fcn.004abf7b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e98a
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x5fa510]
call fcn.004017ba
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x40e9b8
push 0x386
push 0x401d38d
push 4
call fcn.004abf93
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e9d5
push 0x386
push 0x401d38d
push 1
call fcn.004abf93
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 8]
call fcn.004017ba
mov eax, 0
cmp eax, ecx
jl 0x40ea04
push 0x386
push 0x401d38d
push 1
call fcn.004abf93
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x40ea2a
push eax
mov ebx, eax
call fcn.0040112a
inc eax
push eax
call fcn.004abf7b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ea3b
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [0x5fa510]
call fcn.004017ba
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x40ea69
push 0x3bd
push 0x401d38d
push 4
call fcn.004abf93
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ea86
push 0x3bd
push 0x401d38d
push 1
call fcn.004abf93
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x40eab1
push eax
mov ebx, eax
call fcn.0040112a
inc eax
push eax
call fcn.004abf7b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40eac2
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, 0x57e7bd
push eax
mov ebx, dword [0x5fa530]
test ebx, ebx
je 0x40eadf
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [0x5fa530], eax
push 0
push 0x57e7bd
push 0xffffffffffffffff
push 8
push 0x1601d3c1
push 0x52010001
call fcn.004abfab
add esp, 0x18
push 0x586dec
push dword [ebp - 0xc]
call fcn.00401bb5
add esp, 8
cmp eax, 0
jne 0x40ece7
push 1
push 0x8a
push 1
push 0x64
call fcn.00410237
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4ae200
call fcn.004abf8d
add esp, 0x10
mov dword [ebp - 0x18], eax
push 1
push 0x270f
push 1
push 0x457
call fcn.00410237
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4ae200
call fcn.004abf8d
add esp, 0x10
mov dword [ebp - 0x20], eax
push 1
push 0x3e7
push 1
push 0x6f
call fcn.00410237
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4ae200
call fcn.004abf8d
add esp, 0x10
mov dword [ebp - 0x28], eax
push 1
push 0x3e7
push 1
push 0x6f
call fcn.00410237
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4ae200
call fcn.004abf8d
add esp, 0x10
mov dword [ebp - 0x30], eax
push str._Safari_537.36
push dword [ebp - 0x30]
push 0x586dfd
push dword [ebp - 0x28]
push 0x586dfd
push dword [ebp - 0x20]
push 0x586dfd
push dword [ebp - 0x18]
push str.Mozilla_5.0__Windows_NT_6.1__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_
mov ecx, 9
call fcn.00401195
add esp, 0x24
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ec20
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40ec30
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40ec40
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ec50
push ebx
call fcn.004abf81
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ec64
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0x483
push 0xffffffffffffffff
push 2
push 0x601d26f
push 0x5201d270
call fcn.004abfab
add esp, 0x18
push 0
push 0x2fe
push 0xffffffffffffffff
push 3
push 0x601d26f
push 0x5201d270
call fcn.004abfab
add esp, 0x18
push 0
push 1
push 0xffffffffffffffff
push 9
push 0x601d26f
push 0x5201d270
call fcn.004abfab
add esp, 0x18
push 0x2fe
push 0x483
push 0
push 0
push 0x5fa534
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x74]
jmp 0x40edad
push 0x586e57
push dword [ebp - 0xc]
call fcn.00401bb5
add esp, 8
cmp eax, 0
jne 0x40edad
mov eax, dword [0x5fa538]
test eax, eax
je 0x40ed1e
push eax
mov ebx, eax
call fcn.0040112a
inc eax
push eax
call fcn.004abf7b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ed2f
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0x168
push 0xffffffffffffffff
push 2
push 0x601d26f
push 0x5201d270
call fcn.004abfab
add esp, 0x18
push 0
push 0x2d5
push 0xffffffffffffffff
push 3
push 0x601d26f
push 0x5201d270
call fcn.004abfab
add esp, 0x18
push 0
push 1
push 0xffffffffffffffff
push 9
push 0x601d26f
push 0x5201d270
call fcn.004abfab
add esp, 0x18
push 0x2d5
push 0x168
push 0
push 0
push 0x5fa534
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x74]
mov eax, 0x57e7bd
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0x57e7bd
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x5fa53c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ede4
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40edf4
push ebx
call fcn.004abf81
add esp, 4
push 0x5fa534
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xbc]
push 0x5fa534
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
cmp dword [ebp + 8], 5
jne 0x40ee58
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40ee3e
push eax
mov ebx, eax
call fcn.0040112a
inc eax
push eax
call fcn.004abf7b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x5fa540]
test ebx, ebx
je 0x40ee52
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [0x5fa540], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5fa534
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ee98
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40eea8
push ebx
call fcn.004abf81
add esp, 4
cmp dword [0x5fa544], 1
jne 0x40ef87
push 0x80000301
push 0
push dword [0x5fa548]
push 1
mov ebx, 0x4ae200
call fcn.004abf8d
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push str.127.0.0.1:
mov ecx, 2
call fcn.00401195
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40eeff
push ebx
call fcn.004abf81
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5fa534
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x6c]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ef3c
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40ef4c
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40ef5c
push ebx
call fcn.004abf81
add esp, 4
push 0x57e7bd
push dword [0x5fa52c]
call fcn.00401bb5
add esp, 8
cmp eax, 0
je 0x40ef82
push 0x5fa52c
call fcn.00410282
jmp 0x40effe
cmp dword [0x5fa544], 0
jne 0x40effe
push 0x57e7bd
push dword [0x5fa52c]
call fcn.00401bb5
add esp, 8
cmp eax, 0
je 0x40effe
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0x5fa52c
push 0x5fa534
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x6c]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40efee
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40effe
push ebx
call fcn.004abf81
add esp, 4
lea eax, [ebp - 0x10]
push eax
push 0x5fa534
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x7c]
mov ebx, dword [0x5fa54c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40f032
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40f02e
imul eax, dword [ebx]
jmp 0x40f023
mov ecx, eax
test ecx, ecx
je 0x40f051
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004abf81
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40f038
call fcn.004abf81
add esp, 4
mov eax, 0x57e7c4
mov dword [0x5fa54c], eax
call fcn.004045eb
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.004011f1
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40f094
mov eax, 0x57e7bd
push eax
push VariantClear
push 0
push 0x586e64
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40f0b4
mov eax, 0x57e7bd
push eax
push 6
mov ebx, 0x4ad650
call fcn.004abf8d
add esp, 0x4c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40f0da
push ebx
call fcn.004abf81
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f0ee
push ebx
call fcn.004abf81
add esp, 4
pop eax
mov dword [ebp - 8], eax
push dword [0x5fa554]
push 0x5fa550
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004abf81
add esp, 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004abf81
add esp, 4
mov eax, 0x586e6b
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041028b
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40f16e
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f17e
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f18e
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f19e
push ebx
call fcn.004abf81
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40f1ae
push ebx
call fcn.004abf81
add esp, 4
mov esp, ebp
pop ebp
ret 4