Function at 0x42f070
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1825
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
mov eax, dword [esp + 0x864]
mov ecx, dword [esp + 0x868]
mov edx, dword [esp + 0x86c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [esp + 0x860]
xor ebp, ebp
mov dword [eax], ebp
mov dword [esp + 0x858], ebp
mov dword [ecx], 1
lea eax, [esp + 0x1c]
push eax
call fcn.00434a60
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
test eax, eax
mov byte [esp + 0x858], 1
jl 0x42f85f
cmp eax, eax
jg 0x42f85f
cmp byte [eax + ecx], 0x5c
lea ecx, [esp + 0x1c]
jne 0x42f129
push 8
push str.ESTsoft_
jmp 0x42f130
push 9
push 0x4a9f74
call fcn.0040e570
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
push eax
call fcn.004017c0
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
mov eax, ebp
sub eax, 0
mov byte [esp + 0x858], 2
je 0x42f1bd
sub eax, 1
je 0x42f191
sub eax, 1
jne 0x42f1db
push 0xb
push str.Alsuite.dat
lea ecx, [esp + 0x20]
call fcn.0040e570
push 7
push str.ALSuite
lea ecx, [esp + 0x868]
call fcn.00401dd0
mov edi, dword [esp + 0x860]
jmp 0x42f1db
push 0xb
push str.Altools.dat
lea ecx, [esp + 0x20]
call fcn.0040e570
push 7
push str.ALTools
lea ecx, [esp + 0x868]
call fcn.00401dd0
mov edi, dword [esp + 0x860]
jmp 0x42f1db
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.0040e570
push 0xc
push str.License.dat
lea ecx, [esp + 0x20]
call fcn.0040e570
push 0x800
lea ecx, [esp + 0x50]
push 0
push ecx
call fcn.00483480
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x42f2c2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x858], 1
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f23a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x858], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f262
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, 3
jl 0x42f0ea
mov eax, dword [esp + 0x860]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x858], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f298
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.004820a1
add esp, 0x848
ret
push 0
lea ecx, [esp + 0x48]
push ecx
push 0x800
lea edx, [esp + 0x58]
push edx
push esi
mov dword [esp + 0x58], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x44], 0
jne 0x42f348
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x858], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f318
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x858], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f340
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
jmp 0x42f278
push 0x4a9f38
lea ecx, [esp + 0x28]
call fcn.0042ce50
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x85c], 3
call fcn.0042ccb0
push 0x4a9f38
lea ecx, [esp + 0x18]
call fcn.0042ce50
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x85c], 4
call fcn.0042ce50
push 0x4a9f38
lea ecx, [esp + 0x2c]
mov byte [esp + 0x85c], 5
call fcn.0042ce50
push 0x800
lea edx, [esp + 0x50]
push 0
push edx
mov byte [esp + 0x864], 6
call fcn.00483480
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push str.ESTsoft_s
push ecx
call fcn.0042cd50
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push 0x400
lea edx, [esp + 0x68]
push edx
push eax
push ecx
call fcn.00436910
lea eax, [esp + 0x74]
add esp, 0x28
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f3f2
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x1c]
call fcn.0042cb90
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
jg 0x42f420
or ebp, 0xffffffff
jmp 0x42f43e
push 0x7c
push ecx
call fcn.0048469b
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x42f438
or ebp, 0xffffffff
jmp 0x42f43e
sub eax, ecx
sar eax, 1
mov ebp, eax
mov edx, dword [ecx - 0xc]
lea eax, [ebp + 1]
test eax, eax
jl 0x42f468
cmp eax, edx
jge 0x42f468
lea eax, [ecx + eax*2]
push 0x7c
push eax
call fcn.0048469b
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x42f468
sub eax, ecx
sar eax, 1
jmp 0x42f46b
or eax, 0xffffffff
mov edx, dword [ecx - 0xc]
mov dword [esp + 0x34], eax
add eax, 1
mov dword [esp + 0x20], eax
js 0x42f49d
cmp eax, edx
jge 0x42f49d
lea ecx, [ecx + eax*2]
push 0x7c
push ecx
call fcn.0048469b
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x42f49d
sub eax, ecx
sar eax, 1
mov edi, eax
jmp 0x42f4a0
or edi, 0xffffffff
mov edx, dword [ecx - 0xc]
lea eax, [edi + 1]
test eax, eax
jl 0x42f4ca
cmp eax, edx
jge 0x42f4ca
lea edx, [ecx + eax*2]
push 0x7c
push edx
call fcn.0048469b
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x42f4ca
sub eax, ecx
sar eax, 1
jmp 0x42f4cd
or eax, 0xffffffff
add eax, 1
mov edx, dword [ecx - 0xc]
js 0x42f4f5
cmp eax, edx
jge 0x42f4f5
lea eax, [ecx + eax*2]
push 0x7c
push eax
call fcn.0048469b
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x42f4f5
sub eax, ecx
sar eax, 1
jmp 0x42f4f8
or eax, 0xffffffff
lea ebx, [eax + 1]
test ebx, ebx
mov dword [esp + 0x30], eax
mov eax, dword [ecx - 0xc]
jl 0x42f526
cmp ebx, eax
jge 0x42f526
lea ecx, [ecx + ebx*2]
push 0x7c
push ecx
call fcn.0048469b
add esp, 8
test eax, eax
je 0x42f526
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
jmp 0x42f529
or esi, 0xffffffff
push ebp
push 0
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x20]
call fcn.0042ca10
mov eax, dword [eax]
push eax
call fcn.00484e3f
mov ebp, eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f567
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
cmp ebp, dword [ecx]
jle 0x42f6c9
sub edi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edx, ecx
sub edi, 1
push edi
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
mov dword [edx], ebp
call fcn.0042ca10
mov eax, dword [eax]
push eax
call fcn.00484e3f
mov edx, dword [esp + 0x3c]
mov dword [edx], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f5c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
cmp dword [ecx], 2
jne 0x42f6c9
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x858], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f5f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x858], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f620
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x858], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f648
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x858], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f670
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x858], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f698
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x858], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f26e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42f26e
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x42f72a
cmp esi, 0xffffffff
je 0x42f72a
sub esi, eax
sub esi, 1
push esi
push ebx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.0042ca10
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
push eax
mov byte [esp + 0x85c], 7
call fcn.0042cd70
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x858], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f73a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42f73a
mov ecx, dword [esp + 0x3c]
push 0
push 0x4a5956
call fcn.00401dd0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x858], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f762
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x858], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f78a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x858], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f7b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x858], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f7da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x858], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f802
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x858], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f82a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x860]
add eax, 0xfffffff0
mov dword [esp + 0x858], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f858
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x42f29a
push 0x80070057
call fcn.004010e0
int3