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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507f88
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x543720]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0xa4], ecx
test edi, edi
je 0x42fbd8
test eax, eax
je 0x42fbd8
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401d30
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x20], 0
je 0x42f969
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0042fc00
test eax, eax
je 0x42f8cd
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f8c3
push 0x44
push 0
push 0x5f5
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, 0x44
jmp 0x42fb83
cmp dword [ebp - 0x1c], 0
je 0x42f95e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push eax
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00401ed0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x44]
cmovae edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 0x10
cmovae ecx, dword [ebp - 0x44]
call fcn.0042f790
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x400
push esi
call fcn.004e2945
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
push 0xffffffffffffffff
push 0
push eax
call fcn.0040a270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00401d90
jmp 0x42f98a
push esi
lea ecx, [ebp - 0x5c]
call fcn.00409b70
jmp 0x42f98a
cmp byte [esi], 0
jne 0x42f972
xor ecx, ecx
jmp 0x42f980
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f977
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x5c]
call fcn.0040a330
call fcn.004a61e0
mov esi, eax
test esi, esi
jne 0x42f99c
xor edi, edi
jmp 0x42fb83
push edi
push 0x2712
push esi
call fcn.004a6240
add esp, 0xc
cmp dword [ebp + 0x28], 0
je 0x42f9ca
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x42fa55
push eax
push 0x2715
jmp 0x42fa4c
push 0
push 0x4e2c
push esi
call fcn.004a6240
add esp, 0xc
push 0
push 0x40
push esi
call fcn.004a6240
mov edx, dword [ebp - 0xa0]
add esp, 0xc
test edx, edx
je 0x42fa21
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xa0], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fa00
sub ecx, dword [ebp - 0xa0]
cmp ecx, 3
jbe 0x42fa21
push edx
push 0x2720
push esi
call fcn.004a6240
add esp, 0xc
push 1
push 0x3a
push esi
call fcn.004a6240
add esp, 0xc
push 1
push 0x34
push esi
call fcn.004a6240
add esp, 0xc
push 5
push 0x44
push esi
call fcn.004a6240
add esp, 0xc
push 1
push 0x63
push esi
call fcn.004a6240
add esp, 0xc
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.2__WOW64__Trident_5.0_
push 0x2722
push esi
call fcn.004a6240
add esp, 0xc
push 0x1e
push 0x4e
push esi
call fcn.004a6240
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x6c], 0
add esp, 0xc
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x68], 0
push eax
push 0x2711
push esi
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x70], esi
call fcn.004a6240
add esp, 0xc
push 0x42f230
push 0x4e2b
push esi
call fcn.004a6240
add esp, 0xc
lea ecx, [ebp - 0x9c]
call fcn.0042f170
mov eax, dword [ebp + 0x1c]
push 0
push 0x2b
push esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x98], ebx
call fcn.004a6240
add esp, 0xc
push 0x42f530
push 0x4efb
push esi
call fcn.004a6240
add esp, 0xc
lea eax, [ebp - 0x9c]
push eax
push 0x2749
push esi
call fcn.004a6240
add esp, 0xc
cmp dword [ebp + 0x24], 0
jne 0x42fb2f
push 0x384
push 0xd
push esi
call fcn.004a6240
add esp, 0xc
push esi
call fcn.004a6220
add esp, 4
mov edi, eax
push esi
call fcn.004a61a0
mov eax, dword [ebp - 0x68]
add esp, 4
test eax, eax
je 0x42fb53
push eax
call fcn.004e1e26
add esp, 4
cmp edi, 0x17
jne 0x42fb5e
cmp dword [ebp - 0x64], 0
je 0x42fb67
cmp dword [ebp - 0x8c], 0x5d
jne 0x42fb69
xor edi, edi
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42fb83
push edi
push 0
push 0x5f5
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
jb 0x42fb98
push dword [ebp - 0x2c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x48], 0x10
jb 0x42fbc2
push dword [ebp - 0x5c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x48], 0xf
mov eax, edi
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jmp 0x42fbda
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 - 0x14]
xor ecx, ebp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 0x2c