Function at 0x40b080
Capabilities:
Read file on windows

Disassembly:
or al, 0x3a
mov dword [esi], eax
mov edi, 0x5b5e0845
mov esp, ebp
pop ebp
ret 0xc
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
and byte [ebx + 0x468b107d], cl
adc byte [ebx - 0x3e46ebb2], cl
push edx
inc ebp
adc bh, ch
sub al, 0
fnsave dword [ebp + 0x71]
mov al, byte [esi + 8]
test al, al
je 0x40b10d
mov esp, dword [ecx + 0x84d8d04]
push 0x5c
jno 0x40b063
add byte [edx - 0x4d], ch
push 0
push edx
push dword [esi + 0x11c02f]
test dword [ebx + 0x75], eax
xor eax, 0x1e98848b
inc eax
add bh, bh
salc
test dword [ebp + esi*2 + 0x144d8b09], ebx
pop edi
pop edi
mov dword [ecx], eax
add al, 0xc3
call dword [ebx + 0xafc9405]
add byte [0xafced], bh
xchg esp, eax
pop ebp
mov eax, 0x1117e
mov ebp, dword [ecx]
adc al, 0x5f
pop esi
mov dword [ecx], 0x53000000
pop ebp
ret
inc byte [esi + 0xc]
test eax, eax
mov edi, 0x84e5f23
test cl, cl
jne 0x40b177
mov esi, esi
jns 0x40b168
or byte [ebx + 0x74515014], cl
push esp
mov ecx, 0x20
call 0x2f40b7c4
cli
push esi
or al, 0x89
inc edx
or al, 0x8b
inc esi
mov byte [0x530c558b], al
lea ecx, [ebx - 0x36]
push eax
mov eax, dword [esi + 4]
push ecx
push edi
push edx
cmpsd dword [esi], dword es:[edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40b15a
xor eax, eax
retf 0x12b
mov edi, dword [0xf6402398]
inc edi
xlatb
mov dl, 0xc0
je 0xa4b298
add bh, bh
mov dh, 5
cmp ah, 0xa
push dword [esi + 0xafc8005]
cmp byte [0xb0065], bh
jne 0x40b1f9
test dword [ebp], edi
add byte [eax], al
pop esi
sbb eax, sym.imp.KERNEL32.dll_WaitForSingleObject
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
test ecx, ecx
jl 0x40b1b8
salc
add dword [ebp + 0x6adb77c0], 0
push 0x3f03e8
push ecx
push eax
call fcn.0040b590
jmp 0x40b1c2
ror dword [ebx - 0x7f3c7e08], cl
add byte [eax], ch
adc dh, byte [edi + edi*4 - 0x7b]
push dword [ecx + esi - 0x5f]
pushal
daa
inc ecx
add byte [edi - 0x3f10fba2], bh
mov edi, 0x3174ff85
mov eax, dword [0x412760]
mov edi, 0xc0ef045e
jne 0x40b1eb
push eax
push 0x58ff00ec
push eax
mov word [ecx - 0x18], fs
invalid
adc edi, edi
rol byte [edx + 8], 1
push 1
call dword [0x23c04c]
mov ecx, dword [esi - 0x75]
not byte [esi + 4]
lea eax, [ebp + 0x10]
xor dword [ecx], eax
push eax
add dl, byte [edx + 0x79]
adc eax, 0xbf40c0b4
push eax
sal byte [esp + eax + 0x33], 0xc0
dec esi
mov esi, esi
push esi
add al, 0x8d
inc ebp
adc byte [ecx], dh
add dword [eax + 2], edx
push edx
jns 0x40b21d
mov ah, 0xc0
inc eax
mov edi, 0x474c050
xor eax, eax
jmp 0x40b285
sal byte [ebp - 1], 0xd3
add eax, 0xa00afc80
cmp eax, 0x8352fc
frstor dword [ebx]
cmp eax, 0x8f0063
jne 0x40b24f
cmp edi, 0x6802
jne 0x40b200
mov dl, 0x4d
invalid
cmp eax, 0xafc2a
jne 0x40b268
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
pop ebx
lds edi, [eax + 0x1110c]
inc ebx
adc dword [esi + 0x5d], ebx
mov al, 0x3d
cmpsb byte [esi], byte es:[edi]
cld
push cs
test dword [ecx + 0x12], edx
mov ecx, dword [ebp - 0x32]
pop es
push ebp
cmp eax, 0x850efca6
push ecx
adc cl, byte [ebx + 0x5507ce4d]
adc byte [ebx - 0x39], bl
xchg esp, eax
jle 0x40b28b
add dword [eax], eax
mov dword [ecx], edx
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test ecx, ecx
in eax, dx
adc cl, byte [ebx + 0x558b144d]
adc byte [ebx + 0x5f], bl
mov eax, 0xa996117e
mov dword [ecx], edx
pop esi
pop ebp
adc dl, byte [0xd2850c56]
je 0x40b2bd
mov dl, byte [esi + 8]
test byte [eax + 0x562a1175], dh
push eax
add edx, ecx
mov ecx, dword [esi + 0x54]
adc ecx, 0
dec edx
push esi
push eax
mov dword [esi + 0x54], ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [eax]
adc byte [ecx + 0x5f], ah
mov dword [ecx], edx
pop esi
pop ebp
ret