Function at 0x40b080
Capabilities:
Read file on windows

Disassembly:
invalid
adc dword [ecx], eax
add byte [eax + 0x7750845], bh
add dword [ebx + 0x28], 1
mov edx, dword [ebx]
or al, 0x5f
mov dword [esi], eax
mov eax, dword [ebp + 8]
pop esi
pop ebx
sti
neg dword [ebp - 0x3e]
or al, 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
jge 0x40b010
jne 0x40b052
stosb byte es:[edi], al
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
or eax, ecx
mov dword [ebp + 0x10], 0
jne 0x40b10d
mov al, byte [esi + 0x38]
jbe 0x40b061
je 0x40b05a
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x63]
push 0x2b
push ecx
push 0
push 0
push 0
push edx
add edx, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x40b0f2
mov esi, dword [0x409198]
inc dword [ebx - 0x7b]
sal byte [ebp + 9], 0x8b
dec ebp
adc al, 0x5f
outsd dx, dword [esi]
mov dword [ecx], eax
pop ebp
ret
mov ebp, dword [edx + 0x27c0852e]
sub byte [ebx + 0x5e3d1459], cl
mov dword [edx], eax
mov eax, 0xbd
pop ebp
ret
mov eax, dword [esi - 0xe]
test eax, eax
je 0x40b137
mov al, bh
or ch, bl
leave
jne 0x40b137
mov ecx, dword [esi + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esi - 0x10a97473]
mov ecx, 0x20
call 0x7940b810
mov edx, dword [esi + 0xc]
mov dword [edx + 0x72], eax
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
push ebx
mov eax, 0x8b501010
inc esi
add al, 0x51
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40b15a
xor eax, eax
jmp 0x7d3385
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor bh, dl
test eax, eax
je 0x40b285
call edi
add eax, 0xafc80
push esi
add byte gs:[ebx], cl
add cl, bl
test dword [eax + eax + 0x1d8b0000], esp
pushfd
dec ebp
pop ebp
xor cl, byte [ebx + 0x468b144e]
mov ebp, 0x167c031c
jg 0x40b1f2
mov al, 0x76
adc byte [edx + 0x5f], ch
push 0xfc00030d
push ecx
push eax
call 0x5c29d690
jmp 0x40b1af
mov ecx, dword [esi + 0xc]
push eax
mov edx, dword [ecx + 0x10]
add eax, 0xf88bd3ff
xor dword [ecx + edx*2 + 0x74f50000], 0x74ff85bf
xor dword [ecx + 0x410960], esp
or dword [ecx], eax
mov ebx, dword [esi + 4]
test eax, eax
jne 0x40b1eb
push eax
push str.CancelIo
int1
lahf
push ss
int1
invalid
push ebx
call eax
jmp 0x40b1f8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi - 0x75]
lea eax, [ebp + 0x10]
push 1
push eax
adc dword [edx - 1], 0x15
faddp st(0)
inc eax
add byte [eax + 0x330474c0], al
shr bl, 0x71
mov ecx, eax
cwde
rol byte [eax], 0x2c
rol dword [ebp - 0x128b40], cl
rol dword [eax], cl
cmp ah, 0xa
add byte [0xb6664], bh
je 0x40b1c9
cmp eax, 0xb0063
jne 0x40b24f
cmp edi, 0xbd70883e
mov dl, 0x12
mov ecx, dword [ebp - 0x37]
mov edx, dword [ebp + 0x10]
xor ebx, dword [edi - 0x48]
ja 0x40b2a4
add dword [eax], eax
mov dword [ecx], edx
lodsb al, byte [esi]
pop ebp
ret
cmp eax, 0x240afced
jne 0x40b268
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x41]
pop ebx
pop edi
mov eax, 0x5a0131be
mov esp, ecx
pop esi
push ds
ret
cmp eax, 0xf0afca6
jne 0x40b281
loope 0x40b2be
adc al, 0x53
push ebp
adc byte [ebx + 0x5f], bl
mov eax, 0x1f117e
mov dword [ecx], edx
pop esi
pop ebp
ret
pop eax
jne 0x40b2bd
mov ecx, dword [ebp + 0x1c]
test dword [ebp + 0x75], ebp
or dword [ebx + 0x558b144d], 0xffffffa8
pop ebx
pop edi
mov eax, 0x1111b
mov dword [ecx], edx
cmp eax, 0x568b595d
or al, 0x85
sal byte [eax + ebx - 0x76], cl
push esi
insb byte es:[edi], dx
test dl, dl
sbb byte [edx - 0x2d7b93aa], cl
jne 0x40b2bd
out dx, al
push esi
push eax
add edx, ecx
mov ecx, dword [esi - 0x12]
sub dword [ebp], 0xffffff89
push esi
push eax
mov dword [esi - 0x73], ecx
les ecx, [ebp + 0x14]
mov ebp, dword [eax + esi]
dec ebp
adc al, 0x8b
sub al, 0x30
pop ebx
pop edi
mov dword [ecx], edx
pop esi
pop ebp
ret