Function at 0x449420
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d2be4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x449466
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 0x4494a2
push edi
lea ecx, [esp + 0x18]
call fcn.00405260
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x4494b1
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 0x4494e0
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405490
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.004f5000
sub eax, esi
add esp, 8
add eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00404c40
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 1
call fcn.00404ec0
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 0x449533
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xa
push str.config.dat
lea ecx, [esp + 0x1c]
call fcn.0041cc70
lea ecx, [esp + 0x2c]
push ecx
call fcn.00475880
mov byte [esp + 0x50], 2
mov edi, dword [esp + 0x14]
lea ebx, [edi - 0x10]
push ebx
call fcn.004052b0
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x54], 3
call fcn.00475e50
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x449622
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
lea ecx, [esp + 0x48]
call fcn.00448ec0
push 1
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 4
call fcn.00476330
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 0x4495e0
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.00477f40
push esi
call fcn.004d401b
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov byte [esp + 0x74], 8
call fcn.00448f60
mov byte [esp + 0x50], 3
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, eax
je 0x449622
push eax
call fcn.00477f40
push esi
call fcn.004d401b
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.00476450
lea edi, [esp + 0x2c]
call fcn.004760e0
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 0x449666
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.00475910
mov dword [esp + 0x50], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x449696
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