Function at 0x442d50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c2cd4
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.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x442d96
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 0x442dd2
push edi
lea ecx, [esp + 0x18]
call fcn.004051d0
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x442de1
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 0x442e10
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405400
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.004e5ac0
sub eax, esi
add esp, 8
add eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00404c00
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 1
call fcn.00404e30
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 0x442e63
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.00416f20
lea ecx, [esp + 0x2c]
push ecx
call fcn.00467300
mov byte [esp + 0x50], 2
mov edi, dword [esp + 0x14]
lea ebx, [edi - 0x10]
push ebx
call fcn.00405220
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x54], 3
call fcn.004678d0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x442f52
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
lea ecx, [esp + 0x48]
call fcn.004427f0
push 1
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 4
call fcn.00467db0
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 0x442f10
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.00469080
push esi
call fcn.004c4986
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov byte [esp + 0x74], 8
call fcn.00442890
mov byte [esp + 0x50], 3
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, eax
je 0x442f52
push eax
call fcn.00469080
push esi
call fcn.004c4986
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.00467ed0
lea edi, [esp + 0x2c]
call fcn.00467b60
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 0x442f96
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.00467390
mov dword [esp + 0x50], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x442fc6
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