Function at 0x454c10
Capabilities:
Check for peb beingdebugged flag
Get number of processors
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b5bad
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4f4930]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4930]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [esp + 0x138]
mov ebp, dword [esp + 0x13c]
mov edi, edx
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
call fcn.004646b0
xor ebx, ebx
mov dword [esp + 0x130], ebx
xor eax, eax
mov word [esp + 0x20], ax
mov eax, str.SogouComponentAgent
mov dword [esp + 0x5c], 3
mov dword [esp + 0x60], 0x3b
mov dword [esp + 0x68], 0x64
mov dword [esp + 0x64], 0x84000000
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x454cb1
sub eax, ecx
sar eax, 1
push eax
mov eax, str.SogouComponentAgent
lea esi, [esp + 0x20]
call fcn.004065f0
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 1
call fcn.00406460
mov byte [esp + 0x130], bl
cmp dword [esp + 0x34], 8
jb 0x454d03
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0046fda3
add esp, 4
xor edx, edx
mov eax, edi
mov word [esp + 0x20], dx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
lea edx, [eax + 2]
jmp 0x454d20
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x454d20
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x20]
call fcn.004065f0
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0xa0]
mov byte [esp + 0x138], 2
call fcn.00406460
mov edi, 8
mov byte [esp + 0x130], bl
cmp dword [esp + 0x34], edi
jb 0x454d73
mov eax, dword [esp + 0x20]
push eax
call fcn.0046fda3
add esp, 4
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
lea edx, [eax + 2]
jmp 0x454d90
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x454d90
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x20]
call fcn.004065f0
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0xd8]
mov byte [esp + 0x138], 3
call fcn.00406460
mov byte [esp + 0x130], bl
cmp dword [esp + 0x34], edi
jb 0x454dde
mov edx, dword [esp + 0x20]
push edx
call fcn.0046fda3
add esp, 4
mov esi, dword [esp + 0x38]
xor eax, eax
mov word [esp + 0x20], ax
mov ebp, 7
mov eax, esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
lea edx, [eax + 2]
jmp 0x454e00
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x454e00
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x20]
call fcn.004065f0
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0xbc]
mov byte [esp + 0x138], 4
call fcn.00406460
mov byte [esp + 0x130], bl
cmp dword [esp + 0x34], edi
jb 0x454e4e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0046fda3
add esp, 4
xor edx, edx
xor eax, eax
mov word [esp + 0x20], dx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x454e62
sub eax, edx
sar eax, 1
push eax
xor eax, eax
lea esi, [esp + 0x20]
call fcn.004065f0
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0x110]
mov byte [esp + 0x138], 5
call fcn.00406460
mov byte [esp + 0x130], bl
cmp dword [esp + 0x34], edi
jb 0x454eb0
mov eax, dword [esp + 0x20]
push eax
call fcn.0046fda3
add esp, 4
mov ecx, dword [esp + 0x40]
push ecx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00453e90
test al, al
je 0x454f2f
mov edi, dword [esp + 0x18]
cmp edi, 0xffffffff
je 0x454f2f
xor ebx, ebx
cmp dword [0x504f90], ebx
jne 0x454efa
push 4
call fcn.004706a8
add esp, 4
cmp eax, ebx
je 0x454ef3
mov dword [eax], 0x4db8b8
jmp 0x454ef5
xor eax, eax
mov dword [0x504f90], eax
lea esi, [esp + 0x4c]
call fcn.00455600
push ebx
push ebx
lea edx, [esp + 0x4c]
push edx
push edi
mov esi, eax
mov dword [esp + 0x54], 2
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x454f64
cmp esi, ebx
je 0x454f28
call fcn.00454020
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x4c]
call fcn.004647d0
xor al, al
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0046fdae
add esp, 0x120
ret 8
push ebx
mov dword [esp + 0x4c], ebx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
jne 0x454f87
call fcn.00454020
jmp 0x454f2f
call fcn.00454020
mov byte [esp + 0x17], bl
mov dword [esp + 0x38], ebx
xor esi, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0xffffffff
push 8
mov byte [esp + 0x134], 6
call fcn.004706a8
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
cmp ebp, ebx
je 0x454fd7
mov esi, 8
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ebx
push ebx
lea eax, [esp + 0x40]
push eax
push esi
push ebp
push edi
mov dword [esp + 0x50], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x454fff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4550c6
mov esi, dword [ebp + 4]
push esi
mov dword [esp + 0x2c], esi
call fcn.004706a8
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
cmp edi, ebx
je 0x455021
mov dword [esp + 0x2c], 1
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x40]
push ecx
push esi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x455049
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4550d1
cmp dword [0x504f90], ebx
jne 0x45506e
push 4
call fcn.004706a8
add esp, 4
cmp eax, ebx
je 0x455067
mov dword [eax], 0x4db8b8
jmp 0x455069
xor eax, eax
mov dword [0x504f90], eax
cmp edi, ebx
je 0x4550d1
push edi
mov eax, esi
call fcn.00455210
cmp eax, ebx
je 0x4550d1
mov esi, dword [eax + 8]
cmp esi, 0x15
je 0x455090
mov dword [esp + 0x38], 0x186a0
jmp 0x45509c
mov ecx, dword [eax + 0x18]
mov byte [esp + 0x17], 1
mov dword [esp + 0x38], ecx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
cmp esi, 0x15
je 0x4550d1
push edi
call fcn.0046fda3
add esp, 4
push ebp
call fcn.0046fda3
mov edi, dword [esp + 0x1c]
add esp, 4
jmp 0x454f94
lea esi, [esp + 0x1c]
call fcn.00464ba0
jmp 0x4550de
lea esi, [esp + 0x1c]
call fcn.00464ba0
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x17], bl
je 0x4550f3
cmp dword [esp + 0x38], ebx
jne 0x4550f3
mov bl, 1
lea ecx, [esp + 0x4c]
call fcn.004647d0
mov al, bl
jmp 0x454f3a