Function at 0x4435c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c3544
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x443606
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x50], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x401
sub eax, edi
or eax, ecx
jge 0x443642
push edi
lea ecx, [esp + 0x18]
call fcn.004051c0
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x443651
push 0x80070057
call fcn.00404150
push 0x400
push esi
mov dword [esi - 0xc], edi
push 0
mov byte [esi + 0x401], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [esi - 4], 1
jle 0x443680
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.004053f0
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.004e6340
sub eax, esi
add esp, 8
add eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00404bf0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 1
call fcn.00404e20
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4436d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
push str.config_r.dat
lea ecx, [esp + 0x1c]
call fcn.00417750
lea ecx, [esp + 0x2c]
push ecx
call fcn.00467b60
mov byte [esp + 0x50], 2
mov edi, dword [esp + 0x14]
lea ebx, [edi - 0x10]
push ebx
call fcn.00405210
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x54], 3
call fcn.00468130
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x4437c2
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
lea ecx, [esp + 0x48]
call fcn.00443060
push 1
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 4
call fcn.00468610
mov ecx, dword [eax]
push ecx
mov esi, ecx
mov ecx, esp
mov dword [esp + 0x48], esp
mov dword [eax], 0
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
mov dword [ecx], 0
mov byte [esp + 0x70], 7
mov eax, dword [esi]
test eax, eax
je 0x443780
mov dword [ecx], eax
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov byte [esp + 0x74], 5
call fcn.004698e0
push esi
call fcn.004c5206
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov byte [esp + 0x74], 8
call fcn.00443100
mov byte [esp + 0x50], 3
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, eax
je 0x4437c2
push eax
call fcn.004698e0
push esi
call fcn.004c5206
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
lea edx, [esp + 0x2c]
call fcn.00468730
lea edi, [esp + 0x2c]
call fcn.004683c0
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443806
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x54], 0
call fcn.00467bf0
mov dword [esp + 0x50], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x443836
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4