Function at 0x403fed
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push 0x41e328
push ebx
call fcn.00403da9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jns 0x40400e
or eax, 0xffffffff
jmp 0x40440a
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.0040e2dc
add esp, 0x10
test edx, edx
jg 0x404039
jl 0x404031
test eax, eax
jae 0x404039
push 0xfffffffffffffffe
pop eax
jmp 0x404409
push edi
mov edi, dword [esp + 0x20]
push ebp
push edi
push esi
call fcn.0040a885
add esp, 0xc
test eax, eax
jns 0x404054
push 0xfffffffffffffffd
jmp 0x404403
cmp eax, ebp
je 0x40405f
push 0xfffffffffffffffb
jmp 0x404403
lea eax, [ebp - 1]
jmp 0x40406f
cmp byte [eax + edi], 0x7e
jne 0x40406e
mov byte [eax + edi], 0
dec eax
test eax, eax
jg 0x404064
push edi
call fcn.0040a6cc
pop ecx
test eax, eax
jne 0x404089
and dword [0x460dc0], eax
jmp 0x404401
xor ebp, ebp
inc ebp
cmp word [0x4346f4], bp
jne 0x404299
mov esi, str.vst_pers.173
push esi
call fcn.0040a180
push eax
push esi
push ebx
call fcn.0040a210
add esp, 0x10
test eax, eax
jne 0x4040c2
push edi
call fcn.004033c8
pop ecx
test eax, eax
js 0x404401
mov esi, str.vst_klok.174
push esi
call fcn.0040a180
push eax
push esi
push ebx
call fcn.0040a210
add esp, 0x10
test eax, eax
jne 0x40415b
push str.TC_KLKGROUP
call fcn.00406283
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x40415b
lea ecx, [edi + 0x9a]
push ecx
call fcn.0040a6c3
push ebp
mov esi, eax
call fcn.0040a6c3
pop ecx
pop ecx
cmp eax, esi
je 0x40415b
lea eax, [edi + 0x9d]
push eax
call fcn.0040a6c3
push ebp
mov esi, eax
call fcn.0040a6c3
pop ecx
pop ecx
cmp eax, esi
je 0x40415b
lea eax, [edi + 0xa0]
push eax
call fcn.0040a6c3
push ebp
mov esi, eax
call fcn.0040a6c3
pop ecx
pop ecx
cmp eax, esi
je 0x40415b
lea eax, [edi + 0xa3]
push eax
call fcn.0040a6c3
push ebp
mov esi, eax
call fcn.0040a6c3
pop ecx
pop ecx
cmp eax, esi
jne 0x404401
mov esi, str.vst_accgrp.bes
push esi
call fcn.0040a180
push eax
push esi
push ebx
call fcn.0040a210
add esp, 0x10
test eax, eax
jne 0x4041e8
push str.TC_KLKGROUP
call fcn.00406283
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x4041e8
lea ecx, [edi + 0x3d]
push ecx
call fcn.0040a6c3
push ebp
mov esi, eax
call fcn.0040a6c3
pop ecx
pop ecx
cmp eax, esi
je 0x4041e8
lea eax, [edi + 0x40]
push eax
call fcn.0040a6c3
push ebp
mov esi, eax
call fcn.0040a6c3
pop ecx
pop ecx
cmp eax, esi
je 0x4041e8
lea eax, [edi + 0x43]
push eax
call fcn.0040a6c3
push ebp
mov esi, eax
call fcn.0040a6c3
pop ecx
pop ecx
cmp eax, esi
je 0x4041e8
lea eax, [edi + 0x46]
push eax
call fcn.0040a6c3
push ebp
mov esi, eax
call fcn.0040a6c3
pop ecx
pop ecx
cmp eax, esi
jne 0x404401
mov esi, str.vst_shftgrp.161
push esi
call fcn.0040a180
push eax
push esi
push ebx
call fcn.0040a210
add esp, 0x10
test eax, eax
jne 0x404234
push str.TC_WPLEK
call fcn.00406283
mov esi, eax
pop ecx
cmp byte [esi], 0
je 0x404234
lea ebp, [edi + 0x46]
push ebp
call fcn.00404f75
pop ecx
test ax, ax
jne 0x404234
push ebp
push esi
call fcn.00404601
pop ecx
pop ecx
test eax, eax
js 0x404401
mov esi, str.vst_afd.174
push esi
call fcn.0040a180
push eax
push esi
push ebx
call fcn.0040a210
add esp, 0x10
test eax, eax
jne 0x404296
push str.TC_AFD
call fcn.00406283
pop ecx
cmp byte [eax], 0
je 0x404272
lea ecx, [edi + 5]
push ecx
push eax
call fcn.00404601
pop ecx
pop ecx
test eax, eax
js 0x404401
push str.TC_ABRKREIS
call fcn.00406283
pop ecx
cmp byte [eax], 0
je 0x404296
lea ecx, [edi + 0x4f]
push ecx
push eax
call fcn.00404601
pop ecx
pop ecx
test eax, eax
js 0x404401
xor ebp, ebp
inc ebp
mov esi, str.vst_wplek.174
push esi
call fcn.0040a180
push eax
push esi
push ebx
call fcn.0040a210
add esp, 0x10
test eax, eax
jne 0x4042eb
cmp word [0x4346f4], bp
jne 0x4042e0
push str.TC_PEE
call fcn.00406283
pop ecx
cmp byte [eax], 0
je 0x4042e0
lea ecx, [edi + 5]
push ecx
push eax
call fcn.00404601
pop ecx
pop ecx
test eax, eax
js 0x404401
cmp byte [edi + 0x39], 0x31
jne 0x4042eb
call fcn.00404749
mov esi, str.vst_login.173
push esi
call fcn.0040a180
push eax
push esi
push ebx
call fcn.0040a210
add esp, 0x10
test eax, eax
jne 0x40433f
cmp word [0x4346f4], bp
jne 0x40433f
push str.TC_COMPANY
call fcn.00406283
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x40433f
lea esi, [edi + 0x452]
push esi
call fcn.00402eca
push esi
push ebp
call fcn.00404601
add esp, 0xc
test eax, eax
js 0x404401
mov ebp, str.vst_klok.174
push ebp
call fcn.0040a180
push eax
push ebp
push ebx
call fcn.0040a210
xor ebp, ebp
add esp, 0x10
inc ebp
test eax, eax
jne 0x404392
cmp word [0x4346f4], bp
jne 0x404392
push str.TC_COMPANY
call fcn.00406283
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x40438f
lea esi, [edi + 0x6d]
push esi
call fcn.00402eca
push esi
push ebp
call fcn.00404601
add esp, 0xc
test eax, eax
js 0x404401
xor ebp, ebp
inc ebp
mov esi, str.vst_team.bes
push esi
call fcn.0040a180
push eax
push esi
push ebx
call fcn.0040a210
add esp, 0x10
test eax, eax
jne 0x404406
cmp word [0x4346f4], bp
jne 0x404406
push str.TC_TEAM
call fcn.00406283
mov esi, eax
pop ecx
cmp byte [esi], 0
je 0x404406
push str.TNT
push 0x44ec1a
call fcn.0040a0f0
pop ecx
test eax, eax
lea eax, [edi + 5]
pop ecx
jne 0x4043ed
push 0xa
push eax
push esi
call fcn.00404658
add esp, 0xc
jmp 0x4043f6
push eax
push esi
call fcn.00404601
pop ecx
pop ecx
mov word [0x460ca4], ax
test ax, ax
jns 0x404406
push 0xfffffffffffffffc
pop eax
jmp 0x404408
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
ret