Function at 0x40fef0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c5364
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x617560]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
mov edi, ecx
call fcn.0041f650
mov dword [esp + 0x278], 0
mov ecx, dword [0x636fb4]
mov dword [esp + 0x20], ecx
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ff6b
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x64
lea ecx, [esp + 0x200]
push 0
push ecx
mov byte [esp + 0x284], 1
call fcn.004ea260
add esp, 0xc
call fcn.004c9922
mov eax, dword [eax + 8]
push 0x64
lea edx, [esp + 0x200]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ffca
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1fc]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 2
call fcn.00416360
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], 3
call fcn.00404e30
mov byte [esp + 0x278], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41002d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push 0x5c
push esi
call fcn.004e40b2
add esp, 8
test eax, eax
jne 0x410045
or eax, 0xffffffff
jmp 0x410047
sub eax, esi
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404c00
push str._rtcc.tmp
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x284], 4
call fcn.00404c80
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 5
call fcn.00404e30
mov byte [esp + 0x278], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4100ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x278], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4100d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x20], 0
jne 0x4101ca
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410106
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x628
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x280], 6
call fcn.0041c990
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 7
call fcn.00404e30
mov byte [esp + 0x278], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410167
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
push 4
push 0x5f50ef
push esi
mov ecx, edi
call fcn.004cf180
cmp eax, 6
jne 0x410209
lea ecx, [esp + 0x24]
call fcn.004c8e10
cmp eax, 1
jne 0x410209
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x20]
mov dword [edx + 0x20], ecx
mov ecx, edi
call fcn.0040fef0
lea eax, [esi - 0x10]
mov byte [esp + 0x278], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4101ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x20]
cmp dword [edx + 0x30], 1
jne 0x410314
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.hook.dll_clearMyHook]
add esp, 4
mov ecx, edi
call fcn.004c87e4
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410265
push 0x80004005
call fcn.00404150
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x278], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41022d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x278], 1
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 0x410255
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x278], 0
lea eax, [ebx - 0x10]
jmp 0x410409
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x6ac
lea ecx, [esp + 0x18]
mov bl, 8
push ecx
mov byte [esp + 0x280], bl
call fcn.0041c990
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 9
call fcn.00404e30
mov byte [esp + 0x278], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4102c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push esi
call fcn.00405220
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0044db50
add esp, 4
mov byte [esp + 0x278], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4103d2
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x4103d2
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41032e
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x628
lea ecx, [esp + 0x18]
mov bl, 0xa
push ecx
mov byte [esp + 0x280], bl
call fcn.0041c990
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0xb
call fcn.00404e30
mov byte [esp + 0x278], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41038f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
push 4
push 0x5f50ef
push esi
mov ecx, edi
call fcn.004cf180
cmp eax, 6
jne 0x4103ae
mov ecx, edi
call fcn.0040fef0
lea eax, [esi - 0x10]
mov byte [esp + 0x278], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4103d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x278], 1
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 0x4103fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x278], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410422
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x278], 0xffffffff
call fcn.0041f760
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004e3543
mov esp, ebp
pop ebp
ret