Function at 0x41cab0
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46a498
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x48b270]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b270]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov eax, dword [esp + 0x450]
mov esi, dword [esp + 0x454]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41cb1b
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x448], 0
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41cb50
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov byte [esp + 0x448], 1
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41cb82
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x448], 2
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41cbb4
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push str.TQWBResource
push esi
lea ecx, [esp + 0x1c]
push 0x47128c
push ecx
mov byte [esp + 0x458], 3
call fcn.00401f50
mov ebx, dword [esp + 0x24]
add esp, 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41cc13
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push ebx
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0042d4b0
add esp, 4
push 7
push str.client
lea ecx, [esp + 0x1c]
call fcn.00401e60
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41cc52
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x28], esp
mov ebx, esp
push eax
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0042d4b0
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x400
or eax, ecx
jge 0x41cc78
push 0x400
lea ecx, [esp + 0x38]
call fcn.004017a0
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edx
push 0x400
push ebp
push str.1.0.0.0
push 0x471448
push str.NBupdateset
call ebx
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.00450e3f
add esp, 8
test eax, eax
jl 0x41d1a7
cmp eax, dword [ebp - 8]
jg 0x41d1a7
mov dword [ebp - 0xc], eax
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x1c]
add eax, 0xc
push 0x471360
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
call fcn.00401d80
add esp, 0xc
mov esi, dword [eax]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
mov byte [esp + 0x448], 4
jge 0x41cd0d
push 0x400
lea ecx, [esp + 0x2c]
call fcn.004017a0
mov edi, dword [esp + 0x28]
push esi
push 0x400
push edi
push str.1.0.0.0
push 0x471448
push str.NBupdateset
call ebx
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x448], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cd4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00450e3f
add esp, 8
test eax, eax
jl 0x41d1a7
cmp eax, dword [edi - 8]
jg 0x41d1a7
push 0x46eb20
mov dword [edi - 0xc], eax
push ebp
mov byte [eax + edi], 0
call fcn.0045100a
add esp, 8
test eax, eax
setne al
test al, al
je 0x41d0dc
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00401290
mov ebx, dword [esp + 0x24]
add esp, 4
lea ecx, [esp + 0x30]
add eax, 0x10
push ecx
mov ecx, ebx
mov dword [esi], eax
call fcn.004190f0
mov esi, eax
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
mov byte [esp + 0x450], 5
call fcn.00401290
add esp, 4
lea edx, [esp + 0x24]
add eax, 0x10
push edx
mov ecx, ebx
mov dword [edi], eax
call fcn.004190f0
mov eax, dword [eax]
mov esi, dword [esi]
push eax
call fcn.004535eb
push esi
mov edi, eax
call fcn.004535eb
add esp, 8
cmp eax, edi
mov eax, dword [esp + 0x20]
setl bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ce1d
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 + 0x448], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ce45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41d0d8
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41ce67
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
mov byte [esp + 0x448], 6
jge 0x41cea5
push 0x400
lea ecx, [esp + 0x24]
call fcn.004017a0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 0x400
push edi
push 0x46eb20
push str.clnurl
push str.NBupdateset
call esi
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00450e3f
add esp, 8
test eax, eax
jl 0x41d1a7
cmp eax, dword [edi - 8]
jg 0x41d1a7
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 1
jle 0x41cf07
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401720
mov eax, dword [esp + 0x14]
push str.Net_BarClient.bak
push eax
lea edx, [esp + 0x20]
push 0x47128c
push edx
call fcn.00401f50
add esp, 0x10
push 0x12
push str.Net_BarClient.exe
lea ecx, [esp + 0x1c]
call fcn.00401e60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push edi
call fcn.00418700
test eax, eax
je 0x41d0b4
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41d0b4
push 0x3ff
lea edx, [esp + 0x41]
push 0
push edx
mov byte [esp + 0x48], 0
call fcn.00451390
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00401850
push ebx
push 0x400
push 0x400
lea ecx, [esp + 0x28]
mov byte [esp + 0x454], 7
call fcn.004018e0
push eax
push 0x46eb20
push str.clnmd5
push str.NBupdateset
call esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00450e3f
add esp, 8
test eax, eax
jl 0x41d1a7
cmp eax, dword [esi - 8]
jg 0x41d1a7
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [esp + 0x18]
mov ebx, 1
cmp dword [eax - 4], ebx
jle 0x41cff1
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401720
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00422210
add esp, 8
cmp dword [esi - 4], ebx
jle 0x41d015
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x20]
call fcn.00401720
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
lea esp, [esp]
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x41d040
test cl, cl
je 0x41d03c
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x41d040
add esi, 2
add eax, 2
test cl, cl
jne 0x41d020
xor eax, eax
jmp 0x41d045
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41d0a0
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41d05f
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.00454763
mov ecx, dword [esp + 0x2c]
push 0x471360
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00401d80
mov eax, dword [eax]
add esp, 0x14
push eax
push ebp
push 0x471448
push str.NBupdateset
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x24]
call fcn.004018a0
jmp 0x41d0ab
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
call fcn.004018a0
add edi, 0xfffffff0
mov byte [esp + 0x448], 3
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d0d8
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x448], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d104
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 + 0x448], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d12c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x448], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d150
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov dword [esp + 0x448], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d178
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, 1
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.004517f0
add esp, 0x438
ret 8
push 0x80070057
call fcn.00401090
int3