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

Disassembly:
push 0xffffffffffffffff
push 0x46a6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b270]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41e477
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401720
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x24]
call fcn.00402600
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 0x10]
sub eax, 0x10
push eax
mov dword [esp + 0x38], 0
call fcn.00401290
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
push str._tmp.zip
lea ecx, [esp + 0x1c]
push esi
push ecx
mov byte [esp + 0x44], 1
call fcn.00401d80
add esp, 0x10
mov byte [esp + 0x34], 2
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e4d8
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 3
call fcn.0042e880
push ebp
mov byte [esp + 0x38], 4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41e526
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x2c], esp
mov edi, esp
push eax
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0042d4b0
add esp, 4
push str.TQWB_Config.ini
add ebx, 0xc
lea ecx, [esp + 0x2c]
push ebx
push ecx
call fcn.00401d80
add esp, 0xc
mov edi, dword [eax]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
mov byte [esp + 0x34], 5
jge 0x41e569
push 0x400
lea ecx, [esp + 0x20]
call fcn.004017a0
mov esi, dword [esp + 0x1c]
push edi
push 0x400
push esi
push str.000000
push str.VERSION
push str.MANAGER_VERSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x34], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e5aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00450e3f
add esp, 8
test eax, eax
jl 0x41e8f4
cmp eax, dword [esi - 8]
jg 0x41e8f4
mov ebp, dword [esp + 0x40]
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebp]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41e5ea
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebp
call fcn.00401720
cmp dword [esi - 4], 1
mov edi, dword [ebp]
jle 0x41e604
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x20]
call fcn.00401720
mov esi, dword [esp + 0x1c]
mov ecx, edi
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41e628
test dl, dl
je 0x41e624
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41e628
add eax, 2
add ecx, 2
test dl, dl
jne 0x41e608
xor eax, eax
jmp 0x41e62d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41e790
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00418700
test eax, eax
je 0x41e84c
push str._show
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00401d80
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov edi, eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e692
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x41e6b8
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str._show
lea edx, [esp + 0x20]
push edx
push ecx
call fcn.00401d80
add esp, 0xc
call fcn.0042d500
add esp, 4
mov eax, dword [esp + 0x18]
mov edi, 1
cmp dword [eax - 4], edi
jle 0x41e6d3
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401720
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], edi
jle 0x41e6ed
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401720
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.00422430
test eax, eax
je 0x41e76b
push str.TQWB_Config.ini
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.00401d80
add esp, 0xc
mov edi, dword [eax]
mov eax, dword [ebp]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov byte [esp + 0x34], 6
jle 0x41e731
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebp
call fcn.00401720
mov eax, dword [ebp]
push edi
push eax
push str.VERSION
push str.MANAGER_VERSION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x34], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e76b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x170]
push 0
push 0
push 0x8033
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 3
call fcn.00404fc0
lea eax, [esi - 0x10]
mov byte [esp + 0x34], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e7bf
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 + 0x34], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e7e4
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 + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e809
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e831
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 3
call fcn.00404fc0
lea eax, [esi - 0x10]
mov byte [esp + 0x34], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e87b
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 + 0x34], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e8a0
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 + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e8c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e8ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41e836
push 0x80070057
call fcn.00401090
int3