Function at 0x421ab0
Capabilities:
Check for peb ntglobalflag flag
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c259
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x47802c]
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 dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x74], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], esi
mov dword [esi + 0x6c], 1
mov dword [esi + 0x4c], 1
mov dword [esi + 0x68], 0
mov byte [ebp - 0x69], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push 3
push 0x46f0d8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.004314f0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add ecx, 0x30
call fcn.0042e650
lea ecx, [ebp - 0x64]
cmp ecx, eax
je 0x421b75
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x421b69
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004314f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x421bad
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421ba3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422653
push edx
push ecx
call fcn.0043a86a
add esp, 8
cmp dword [ebp - 0x54], 0
jne 0x421dde
mov dword [esi + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.00412170
mov esi, eax
mov dword [ebp - 0x1c], eax
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 0x30
push str.aI6v7tS72qi6ECPGloJhXlEAOMQyfRSDQ06pBidKP8pP4GHS
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.004314f0
lea ecx, [ebp - 0xb4]
call fcn.00410da0
add esp, 0x18
mov edi, eax
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
sub eax, edx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], eax
cmp ecx, eax
jbe 0x421c63
mov eax, dword [esi + 0x14]
sub eax, ecx
cmp eax, edx
jb 0x421c60
cmp dword [edi + 0x14], 0x10
jb 0x421c36
mov edi, dword [edi]
push edx
push edi
push 0
mov ecx, esi
call fcn.004312e0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
jmp 0x421cca
mov eax, dword [ebp - 0x78]
cmp dword [esi + 0x14], 0x10
jb 0x421c6e
mov esi, dword [esi]
mov dword [ebp - 0x1c], esi
cmp ecx, eax
ja 0x421c9a
cmp dword [edi + 0x14], 0x10
lea eax, [edx + ecx]
mov dword [edi + 0x10], eax
mov esi, edi
jb 0x421c82
mov esi, dword [edi]
push ecx
push dword [ebp - 0x1c]
add esi, edx
push esi
call fcn.0043ccc0
mov eax, dword [ebp - 0x80]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x421cad
push ecx
push esi
mov byte [ebp - 0x78], 0
push dword [ebp - 0x78]
push ecx
mov ecx, edi
call fcn.00433b20
mov edi, eax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
push eax
movq qword [ebp - 0x24], xmm0
lea ecx, [esi + 0x50]
call fcn.00430250
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x421d12
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421d08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422658
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x421d4c
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421d42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422658
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
cmp edx, 0x10
jb 0x421da1
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421d97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422658
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x422634
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421dcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422671
push edx
push ecx
call fcn.0043a86a
add esp, 8
jmp 0x422634
push 7
push str.timeout
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.004314f0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add ecx, 0x30
call fcn.0042e650
mov edi, dword [eax + 0x10]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x421e4f
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421e45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42265d
push edx
push ecx
call fcn.0043a86a
add esp, 8
test edi, edi
jne 0x421e5f
mov dword [ebp - 0x7c], 0x14
jmp 0x421ee1
push 7
push str.timeout
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.004314f0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add ecx, 0x30
call fcn.0042e650
cmp dword [eax + 0x14], 0x10
jb 0x421e9d
mov eax, dword [eax]
push eax
call fcn.00444926
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x7c], eax
cmp edx, 0x10
jb 0x421ee1
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421ed7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422662
push edx
push ecx
call fcn.0043a86a
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x10
push str.bZe_c68ymrFg
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.004314f0
lea ecx, [ebp - 0x9c]
call fcn.00410da0
add esp, 0x18
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x421f1b
mov edx, dword [eax]
push dword [eax + 0x10]
cmp dword [ebp - 0x50], 0x10
lea ecx, [ebp - 0x64]
push edx
cmovae ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x54]
push 0
call fcn.00433a20
mov edx, dword [ebp - 0x88]
add esp, 0xc
mov edi, eax
cmp edx, 0x10
jb 0x421f73
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421f69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422667
push edx
push ecx
call fcn.0043a86a
add esp, 8
test edi, edi
jne 0x421fcd
sub esp, 0x18
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.00430330
mov ecx, esi
call fcn.00421120
mov edi, eax
test edi, edi
je 0x421fcd
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x421fc6
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421fbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422671
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov eax, edi
jmp 0x422637
push 0
push 0x46e3c9
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.004314f0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.00430330
lea ecx, [ebp - 0x9c]
call fcn.004159b0
add esp, 0x18
lea ecx, [ebp - 0x64]
push eax
call fcn.00430250
mov edx, dword [ebp - 0x88]
cmp edx, 0x10
jb 0x422051
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422047
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42266c
push edx
push ecx
call fcn.0043a86a
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.00430330
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x4221a2
lea ecx, [ebp - 0x34]
call fcn.00410160
add esp, 0x18
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.0042ff50
call fcn.004136a0
add esp, 0x18
mov dword [esi + 0x4c], 1
lea ecx, [esi + 0x50]
push 0
push 0x46e3c9
test al, al
je 0x4220be
call fcn.004314f0
push 0
push 0x46e3c9
lea ecx, [esi + 0x70]
call fcn.004314f0
mov eax, 1
jmp 0x4220d4
call fcn.004314f0
push 0
push 0x46e3c9
lea ecx, [esi + 0x70]
call fcn.004314f0
xor eax, eax
mov dword [esi + 0x6c], eax
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x422111
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422107
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422671
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 0x10
jb 0x422159
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42214f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422671
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x422634
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421dcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422671
jmp 0x421dcf
lea eax, [ebp - 0x194]
push eax
call fcn.00412310
add esp, 0x1c
lea edi, [ebp - 0x128]
mov esi, eax
mov ecx, 0x1b
rep movsd dword es:[edi], dword [esi]
push 0
call fcn.004448a8
mov esi, dword [ebp - 0x74]
add esp, 4
cmp dword [ebp - 0xc4], 0
mov edi, dword [ebp - 0xd4]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], edx
mov dword [esi + 0x6c], 1
jbe 0x42252e
push 0xa
mov dword [ebp - 0x1c], 0
call fcn.0043a878
add esp, 4
nop
mov dword [ebp - 0x18], 0
nop word [eax + eax]
push dword [ebp - 0xc4]
mov ecx, 0x100000
call fcn.00411480
add esp, 4
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0xd4]
lea eax, [ebp - 0x18]
push 0
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp esi, 0x102
jne 0x422292
cmp dword [ebp - 0x18], 0
ja 0x422292
push 0
call fcn.004448a8
mov esi, eax
add esp, 4
sub esi, dword [ebp - 0x80]
mov ecx, edx
mov eax, dword [ebp - 0x7c]
sbb ecx, dword [ebp - 0x78]
cdq
cmp ecx, edx
jl 0x422369
jg 0x42228d
cmp esi, eax
jbe 0x422369
call fcn.00411910
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push 0
call fcn.004448a8
mov esi, eax
add esp, 4
sub esi, dword [ebp - 0x80]
mov ecx, edx
mov eax, dword [ebp - 0x7c]
sbb ecx, dword [ebp - 0x78]
cdq
cmp ecx, edx
jl 0x4222df
jg 0x4222cc
cmp esi, eax
jbe 0x4222df
call fcn.00411910
mov eax, dword [ebp - 0x74]
mov byte [ebp - 0x69], 1
mov dword [eax + 0x68], 1
cmp dword [ebp - 0x18], 0
jbe 0x42238c
push 0x1000
call fcn.0043a878
add esp, 4
mov esi, eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0xb8], esi
push 0
push eax
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4223e9
mov edi, dword [ebp - 0x68]
test edi, edi
je 0x4223e3
mov edx, dword [ebp - 0x38]
mov eax, edx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
mov dword [ebp - 0xbc], ecx
push edi
cmp edi, eax
ja 0x422379
push dword [ebp - 0xb8]
cmp edx, 0x10
lea esi, [ebp - 0x4c]
lea eax, [ecx + edi]
cmovae esi, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
lea eax, [ecx + esi]
push eax
call fcn.0043ccc0
mov eax, dword [ebp - 0xbc]
add esp, 0xc
add eax, edi
mov byte [eax + esi], 0
jmp 0x4223d9
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x422210
push esi
mov byte [ebp - 0x70], 0
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x70]
push edi
call fcn.00433b20
jmp 0x4223d9
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push dword [ebp - 0xc4]
mov ecx, 0x100000
call fcn.00411480
add esp, 4
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x102
je 0x4223d9
cmp dword [ebp - 0x18], 0
je 0x4223e3
cmp byte [ebp - 0x69], 0
je 0x422200
mov edi, dword [ebp - 0xd4]
mov esi, dword [ebp - 0x74]
push 1
push 0x46f0d4
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
call fcn.004314f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
push 2
push 0x46f124
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.004314f0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x9c]
call fcn.0040f1c0
add esp, 8
lea ecx, [ebp - 0x4c]
push eax
call fcn.00430250
mov edx, dword [ebp - 0x88]
cmp edx, 0x10
jb 0x4224a1
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422497
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422676
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp edx, 0x10
jb 0x4224f4
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4224ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422676
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x42259a
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422590
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422676
jmp 0x422590
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.00412170
push eax
lea ecx, [ebp - 0x4c]
call fcn.00430250
mov edx, dword [ebp - 0x88]
cmp edx, 0x10
jb 0x422584
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42257a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42267b
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov dword [esi + 0x6c], 0
jmp 0x4223ec
push edx
push ecx
call fcn.0043a86a
add esp, 8
cmp edi, 0xffffffff
je 0x4225aa
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x4225b0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xd0]
cmp eax, 0xffffffff
je 0x4225be
push eax
call edi
lea ecx, [esi + 0x70]
lea eax, [ebp - 0x4c]
cmp ecx, eax
je 0x4225d9
cmp dword [ebp - 0x38], 0x10
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.004314f0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x422159
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42214f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422671
jmp 0x42214f
lea eax, [esi + 0x14]
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.0043a313
mov esp, ebp
pop ebp
ret
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
int3