Function at 0x40e068
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push 0x429264
push ebx
call fcn.0040de24
mov esi, eax
pop ecx
pop ecx
test esi, esi
jns 0x40e089
or eax, 0xffffffff
jmp 0x40e485
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
dec eax
imul ebp
push 0
push edx
push eax
push esi
call fcn.0041aa8c
add esp, 0x10
test edx, edx
jg 0x40e0b4
jl 0x40e0ac
test eax, eax
jae 0x40e0b4
push 0xfffffffffffffffe
pop eax
jmp 0x40e484
push edi
mov edi, dword [esp + 0x20]
push ebp
push edi
push esi
call fcn.00416e6c
add esp, 0xc
test eax, eax
jns 0x40e0cf
push 0xfffffffffffffffd
jmp 0x40e47e
cmp eax, ebp
je 0x40e0da
push 0xfffffffffffffffb
jmp 0x40e47e
lea eax, [ebp - 1]
jmp 0x40e0ea
cmp byte [eax + edi], 0x7e
jne 0x40e0e9
mov byte [eax + edi], 0
dec eax
test eax, eax
jg 0x40e0df
push edi
call fcn.004161d4
pop ecx
test eax, eax
jne 0x40e104
and dword [0x49c360], eax
jmp 0x40e47c
xor ebp, ebp
inc ebp
cmp word [0x4416e4], bp
jne 0x40e314
mov esi, str.vst_pers.173
push esi
call fcn.00416140
push eax
push esi
push ebx
call fcn.00418e90
add esp, 0x10
test eax, eax
jne 0x40e13d
push edi
call fcn.0040d442
pop ecx
test eax, eax
js 0x40e47c
mov esi, str.vst_klok.174
push esi
call fcn.00416140
push eax
push esi
push ebx
call fcn.00418e90
add esp, 0x10
test eax, eax
jne 0x40e1d6
push str.TC_KLKGROUP
call fcn.00403ff4
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x40e1d6
lea ecx, [edi + 0x9a]
push ecx
call fcn.004161cb
push ebp
mov esi, eax
call fcn.004161cb
pop ecx
pop ecx
cmp eax, esi
je 0x40e1d6
lea eax, [edi + 0x9d]
push eax
call fcn.004161cb
push ebp
mov esi, eax
call fcn.004161cb
pop ecx
pop ecx
cmp eax, esi
je 0x40e1d6
lea eax, [edi + 0xa0]
push eax
call fcn.004161cb
push ebp
mov esi, eax
call fcn.004161cb
pop ecx
pop ecx
cmp eax, esi
je 0x40e1d6
lea eax, [edi + 0xa3]
push eax
call fcn.004161cb
push ebp
mov esi, eax
call fcn.004161cb
pop ecx
pop ecx
cmp eax, esi
jne 0x40e47c
mov esi, str.vst_accgrp.bes
push esi
call fcn.00416140
push eax
push esi
push ebx
call fcn.00418e90
add esp, 0x10
test eax, eax
jne 0x40e263
push str.TC_KLKGROUP
call fcn.00403ff4
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x40e263
lea ecx, [edi + 0x3d]
push ecx
call fcn.004161cb
push ebp
mov esi, eax
call fcn.004161cb
pop ecx
pop ecx
cmp eax, esi
je 0x40e263
lea eax, [edi + 0x40]
push eax
call fcn.004161cb
push ebp
mov esi, eax
call fcn.004161cb
pop ecx
pop ecx
cmp eax, esi
je 0x40e263
lea eax, [edi + 0x43]
push eax
call fcn.004161cb
push ebp
mov esi, eax
call fcn.004161cb
pop ecx
pop ecx
cmp eax, esi
je 0x40e263
lea eax, [edi + 0x46]
push eax
call fcn.004161cb
push ebp
mov esi, eax
call fcn.004161cb
pop ecx
pop ecx
cmp eax, esi
jne 0x40e47c
mov esi, str.vst_shftgrp.161
push esi
call fcn.00416140
push eax
push esi
push ebx
call fcn.00418e90
add esp, 0x10
test eax, eax
jne 0x40e2af
push str.TC_WPLEK
call fcn.00403ff4
mov esi, eax
pop ecx
cmp byte [esi], 0
je 0x40e2af
lea ebp, [edi + 0x46]
push ebp
call fcn.00411003
pop ecx
test ax, ax
jne 0x40e2af
push ebp
push esi
call fcn.0040e67c
pop ecx
pop ecx
test eax, eax
js 0x40e47c
mov esi, str.vst_afd.174
push esi
call fcn.00416140
push eax
push esi
push ebx
call fcn.00418e90
add esp, 0x10
test eax, eax
jne 0x40e311
push str.TC_AFD
call fcn.00403ff4
pop ecx
cmp byte [eax], 0
je 0x40e2ed
lea ecx, [edi + 5]
push ecx
push eax
call fcn.0040e67c
pop ecx
pop ecx
test eax, eax
js 0x40e47c
push str.TC_ABRKREIS
call fcn.00403ff4
pop ecx
cmp byte [eax], 0
je 0x40e311
lea ecx, [edi + 0x4f]
push ecx
push eax
call fcn.0040e67c
pop ecx
pop ecx
test eax, eax
js 0x40e47c
xor ebp, ebp
inc ebp
mov esi, str.vst_wplek.174
push esi
call fcn.00416140
push eax
push esi
push ebx
call fcn.00418e90
add esp, 0x10
test eax, eax
jne 0x40e366
cmp word [0x4416e4], bp
jne 0x40e35b
push str.TC_PEE
call fcn.00403ff4
pop ecx
cmp byte [eax], 0
je 0x40e35b
lea ecx, [edi + 5]
push ecx
push eax
call fcn.0040e67c
pop ecx
pop ecx
test eax, eax
js 0x40e47c
cmp byte [edi + 0x39], 0x31
jne 0x40e366
call fcn.0040e7c4
mov esi, str.vst_login.173
push esi
call fcn.00416140
push eax
push esi
push ebx
call fcn.00418e90
add esp, 0x10
test eax, eax
jne 0x40e3ba
cmp word [0x4416e4], bp
jne 0x40e3ba
push str.TC_COMPANY
call fcn.00403ff4
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x40e3ba
lea esi, [edi + 0x452]
push esi
call fcn.00404ad5
push esi
push ebp
call fcn.0040e67c
add esp, 0xc
test eax, eax
js 0x40e47c
mov ebp, str.vst_klok.174
push ebp
call fcn.00416140
push eax
push ebp
push ebx
call fcn.00418e90
xor ebp, ebp
add esp, 0x10
inc ebp
test eax, eax
jne 0x40e40d
cmp word [0x4416e4], bp
jne 0x40e40d
push str.TC_COMPANY
call fcn.00403ff4
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x40e40a
lea esi, [edi + 0x6d]
push esi
call fcn.00404ad5
push esi
push ebp
call fcn.0040e67c
add esp, 0xc
test eax, eax
js 0x40e47c
xor ebp, ebp
inc ebp
mov esi, str.vst_team.bes
push esi
call fcn.00416140
push eax
push esi
push ebx
call fcn.00418e90
add esp, 0x10
test eax, eax
jne 0x40e481
cmp word [0x4416e4], bp
jne 0x40e481
push str.TC_TEAM
call fcn.00403ff4
mov esi, eax
pop ecx
cmp byte [esi], 0
je 0x40e481
push str.TNT
push 0x4aa83a
call fcn.004160b0
pop ecx
test eax, eax
lea eax, [edi + 5]
pop ecx
jne 0x40e468
push 0xa
push eax
push esi
call fcn.0040e6d3
add esp, 0xc
jmp 0x40e471
push eax
push esi
call fcn.0040e67c
pop ecx
pop ecx
mov word [0x49c242], ax
test ax, ax
jns 0x40e481
push 0xfffffffffffffffc
pop eax
jmp 0x40e483
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
ret