Function at 0x48ed60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b59c
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
mov dword [ebp - 0x10], 0
jmp 0x48edb6
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 3
jge 0x48f2cf
lea eax, [ebp - 0x844]
push eax
call fcn.00498fb0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x844]
call fcn.004920f0
push eax
lea ecx, [ebp - 0x844]
call fcn.00491c40
movsx ecx, al
cmp ecx, 0x5c
jne 0x48ee04
push 0x5b0450
lea ecx, [ebp - 0x844]
call fcn.00427160
jmp 0x48ee14
push str.ESTsoft_
lea ecx, [ebp - 0x844]
call fcn.00427160
lea edx, [ebp - 0x844]
push edx
lea ecx, [ebp - 0x24]
call fcn.00408fd0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0
je 0x48ee4d
cmp dword [ebp - 0x868], 1
je 0x48ee68
cmp dword [ebp - 0x868], 2
je 0x48ee84
jmp 0x48ee9e
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00427140
push str.License.dat
lea ecx, [ebp - 0x24]
call fcn.00427160
jmp 0x48ee9e
push str.Altools.dat
lea ecx, [ebp - 0x24]
call fcn.00427160
push str.ALTools
lea ecx, [ebp + 8]
call fcn.00409090
jmp 0x48ee9e
push str.Alsuite.dat
lea ecx, [ebp - 0x24]
call fcn.00427160
push str.ALSuite
lea ecx, [ebp + 8]
call fcn.00409090
push 0x800
push 0
lea edx, [ebp - 0x834]
push edx
call fcn.0056f420
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
lea ecx, [ebp - 0x24]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x850], eax
cmp dword [ebp - 0x850], 0xffffffff
jne 0x48ef04
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.00408330
jmp 0x48edad
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 0x800
lea ecx, [ebp - 0x834]
push ecx
mov edx, dword [ebp - 0x850]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], 0
jne 0x48ef79
mov byte [ebp - 0x851], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov al, byte [ebp - 0x851]
jmp 0x48f2eb
push 0x5b04a0
lea ecx, [ebp - 0x20]
call fcn.00491c80
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004090f0
push eax
lea ecx, [ebp - 0x20]
call fcn.00408540
push 0x5b04a4
lea ecx, [ebp - 0x83c]
call fcn.00491c80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x834]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00491c80
mov byte [ebp - 4], 5
push 0x5b04a8
lea ecx, [ebp - 0x840]
call fcn.00491c80
mov byte [ebp - 4], 6
push 0x800
push 0
lea edx, [ebp - 0x834]
push edx
call fcn.0056f420
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
push str.ESTsoft_s
lea ecx, [ebp - 0x840]
push ecx
call fcn.00492580
add esp, 0xc
push 0x400
lea edx, [ebp - 0x834]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004090f0
push eax
lea ecx, [ebp - 0x840]
call fcn.004090f0
push eax
call fcn.0048ec80
add esp, 0x10
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00491d00
push 0
push 0x7c
lea ecx, [ebp - 0x83c]
call fcn.00491d20
mov dword [ebp - 0x84c], eax
mov ecx, dword [ebp - 0x84c]
add ecx, 1
push ecx
push 0x7c
lea ecx, [ebp - 0x83c]
call fcn.00491d20
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
add edx, 1
push edx
push 0x7c
lea ecx, [ebp - 0x83c]
call fcn.00491d20
mov dword [ebp - 0x838], eax
mov eax, dword [ebp - 0x838]
add eax, 1
push eax
push 0x7c
lea ecx, [ebp - 0x83c]
call fcn.00491d20
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
push 0x7c
lea ecx, [ebp - 0x83c]
call fcn.00491d20
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
push 0x7c
lea ecx, [ebp - 0x83c]
call fcn.00491d20
mov dword [ebp - 0x848], eax
mov eax, dword [ebp - 0x84c]
push eax
push 0
lea ecx, [ebp - 0x858]
push ecx
lea ecx, [ebp - 0x83c]
call fcn.00491db0
mov dword [ebp - 0x86c], eax
mov ecx, dword [ebp - 0x86c]
call fcn.004090f0
push eax
call fcn.00577e39
add esp, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x858]
call fcn.00408330
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx]
jle 0x48f1dc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp - 0x30]
add eax, 1
mov ecx, dword [ebp - 0x838]
sub ecx, eax
push ecx
mov edx, dword [ebp - 0x30]
add edx, 1
push edx
lea eax, [ebp - 0x85c]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00491db0
mov dword [ebp - 0x870], eax
mov ecx, dword [ebp - 0x870]
call fcn.004090f0
push eax
call fcn.00577e39
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x85c]
call fcn.00408330
mov edx, dword [ebp + 0x10]
cmp dword [edx], 2
jne 0x48f1dc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x840]
call fcn.00408330
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00408330
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x83c]
call fcn.00408330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00408330
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.00408330
jmp 0x48f2cf
cmp dword [ebp - 0x1c], 0xffffffff
je 0x48f24e
cmp dword [ebp - 0x848], 0xffffffff
je 0x48f24e
mov eax, dword [ebp - 0x1c]
add eax, 1
mov ecx, dword [ebp - 0x848]
sub ecx, eax
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
lea eax, [ebp - 0x860]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00491db0
mov dword [ebp - 0x874], eax
mov ecx, dword [ebp - 0x874]
mov dword [ebp - 0x878], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x878]
call fcn.004090f0
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0043bbe0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x860]
call fcn.00408330
jmp 0x48f25b
push 0x5b0282
mov ecx, dword [ebp + 0x14]
call fcn.00409090
mov byte [ebp - 0x861], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x840]
call fcn.00408330
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00408330
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x83c]
call fcn.00408330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00408330
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov al, byte [ebp - 0x861]
jmp 0x48f2eb
mov byte [ebp - 0x862], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov al, byte [ebp - 0x862]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret