Function at 0x4039e1
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push 0x41ae14
push ebx
call fcn.0040379d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jns 0x403a02
or eax, 0xffffffff
jmp 0x403dfe
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.0040ad11
add esp, 0x10
test edx, edx
jg 0x403a2d
jl 0x403a25
test eax, eax
jae 0x403a2d
push 0xfffffffffffffffe
pop eax
jmp 0x403dfd
push edi
mov edi, dword [esp + 0x20]
push ebp
push edi
push esi
call fcn.00406f98
add esp, 0xc
test eax, eax
jns 0x403a48
push 0xfffffffffffffffd
jmp 0x403df7
cmp eax, ebp
je 0x403a53
push 0xfffffffffffffffb
jmp 0x403df7
lea eax, [ebp - 1]
jmp 0x403a63
cmp byte [eax + edi], 0x7e
jne 0x403a62
mov byte [eax + edi], 0
dec eax
test eax, eax
jg 0x403a58
push edi
call fcn.00406621
pop ecx
test eax, eax
jne 0x403a7d
and dword [0x445120], eax
jmp 0x403df5
xor ebp, ebp
inc ebp
cmp word [0x42f304], bp
jne 0x403c8d
mov esi, str.vst_pers.173
push esi
call fcn.0040a080
push eax
push esi
push ebx
call fcn.0040ae80
add esp, 0x10
test eax, eax
jne 0x403ab6
push edi
call fcn.00402dbc
pop ecx
test eax, eax
js 0x403df5
mov esi, str.vst_klok.174
push esi
call fcn.0040a080
push eax
push esi
push ebx
call fcn.0040ae80
add esp, 0x10
test eax, eax
jne 0x403b4f
push str.TC_KLKGROUP
call fcn.004057d7
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x403b4f
lea ecx, [edi + 0x9a]
push ecx
call fcn.00406618
push ebp
mov esi, eax
call fcn.00406618
pop ecx
pop ecx
cmp eax, esi
je 0x403b4f
lea eax, [edi + 0x9d]
push eax
call fcn.00406618
push ebp
mov esi, eax
call fcn.00406618
pop ecx
pop ecx
cmp eax, esi
je 0x403b4f
lea eax, [edi + 0xa0]
push eax
call fcn.00406618
push ebp
mov esi, eax
call fcn.00406618
pop ecx
pop ecx
cmp eax, esi
je 0x403b4f
lea eax, [edi + 0xa3]
push eax
call fcn.00406618
push ebp
mov esi, eax
call fcn.00406618
pop ecx
pop ecx
cmp eax, esi
jne 0x403df5
mov esi, str.vst_accgrp.bes
push esi
call fcn.0040a080
push eax
push esi
push ebx
call fcn.0040ae80
add esp, 0x10
test eax, eax
jne 0x403bdc
push str.TC_KLKGROUP
call fcn.004057d7
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x403bdc
lea ecx, [edi + 0x3d]
push ecx
call fcn.00406618
push ebp
mov esi, eax
call fcn.00406618
pop ecx
pop ecx
cmp eax, esi
je 0x403bdc
lea eax, [edi + 0x40]
push eax
call fcn.00406618
push ebp
mov esi, eax
call fcn.00406618
pop ecx
pop ecx
cmp eax, esi
je 0x403bdc
lea eax, [edi + 0x43]
push eax
call fcn.00406618
push ebp
mov esi, eax
call fcn.00406618
pop ecx
pop ecx
cmp eax, esi
je 0x403bdc
lea eax, [edi + 0x46]
push eax
call fcn.00406618
push ebp
mov esi, eax
call fcn.00406618
pop ecx
pop ecx
cmp eax, esi
jne 0x403df5
mov esi, str.vst_shftgrp.161
push esi
call fcn.0040a080
push eax
push esi
push ebx
call fcn.0040ae80
add esp, 0x10
test eax, eax
jne 0x403c28
push str.TC_WPLEK
call fcn.004057d7
mov esi, eax
pop ecx
cmp byte [esi], 0
je 0x403c28
lea ebp, [edi + 0x46]
push ebp
call fcn.00405607
pop ecx
test ax, ax
jne 0x403c28
push ebp
push esi
call fcn.00403ff5
pop ecx
pop ecx
test eax, eax
js 0x403df5
mov esi, str.vst_afd.174
push esi
call fcn.0040a080
push eax
push esi
push ebx
call fcn.0040ae80
add esp, 0x10
test eax, eax
jne 0x403c8a
push str.TC_AFD
call fcn.004057d7
pop ecx
cmp byte [eax], 0
je 0x403c66
lea ecx, [edi + 5]
push ecx
push eax
call fcn.00403ff5
pop ecx
pop ecx
test eax, eax
js 0x403df5
push str.TC_ABRKREIS
call fcn.004057d7
pop ecx
cmp byte [eax], 0
je 0x403c8a
lea ecx, [edi + 0x4f]
push ecx
push eax
call fcn.00403ff5
pop ecx
pop ecx
test eax, eax
js 0x403df5
xor ebp, ebp
inc ebp
mov esi, str.vst_wplek.174
push esi
call fcn.0040a080
push eax
push esi
push ebx
call fcn.0040ae80
add esp, 0x10
test eax, eax
jne 0x403cdf
cmp word [0x42f304], bp
jne 0x403cd4
push str.TC_PEE
call fcn.004057d7
pop ecx
cmp byte [eax], 0
je 0x403cd4
lea ecx, [edi + 5]
push ecx
push eax
call fcn.00403ff5
pop ecx
pop ecx
test eax, eax
js 0x403df5
cmp byte [edi + 0x39], 0x31
jne 0x403cdf
call fcn.0040413d
mov esi, str.vst_login.173
push esi
call fcn.0040a080
push eax
push esi
push ebx
call fcn.0040ae80
add esp, 0x10
test eax, eax
jne 0x403d33
cmp word [0x42f304], bp
jne 0x403d33
push str.TC_COMPANY
call fcn.004057d7
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x403d33
lea esi, [edi + 0x452]
push esi
call fcn.0040576c
push esi
push ebp
call fcn.00403ff5
add esp, 0xc
test eax, eax
js 0x403df5
mov ebp, str.vst_klok.174
push ebp
call fcn.0040a080
push eax
push ebp
push ebx
call fcn.0040ae80
xor ebp, ebp
add esp, 0x10
inc ebp
test eax, eax
jne 0x403d86
cmp word [0x42f304], bp
jne 0x403d86
push str.TC_COMPANY
call fcn.004057d7
mov ebp, eax
pop ecx
cmp byte [ebp], 0
je 0x403d83
lea esi, [edi + 0x6d]
push esi
call fcn.0040576c
push esi
push ebp
call fcn.00403ff5
add esp, 0xc
test eax, eax
js 0x403df5
xor ebp, ebp
inc ebp
mov esi, str.vst_team.bes
push esi
call fcn.0040a080
push eax
push esi
push ebx
call fcn.0040ae80
add esp, 0x10
test eax, eax
jne 0x403dfa
cmp word [0x42f304], bp
jne 0x403dfa
push str.TC_TEAM
call fcn.004057d7
mov esi, eax
pop ecx
cmp byte [esi], 0
je 0x403dfa
push str.TNT
push 0x45317a
call fcn.00409ff0
pop ecx
test eax, eax
lea eax, [edi + 5]
pop ecx
jne 0x403de1
push 0xa
push eax
push esi
call fcn.0040404c
add esp, 0xc
jmp 0x403dea
push eax
push esi
call fcn.00403ff5
pop ecx
pop ecx
mov word [0x445000], ax
test ax, ax
jns 0x403dfa
push 0xfffffffffffffffc
pop eax
jmp 0x403dfc
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
ret