Function at 0x410ff0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d58d4
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x628560]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x628560]
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.00425ad0
mov dword [esp + 0x278], 0
mov ecx, dword [0x647fdc]
mov dword [esp + 0x1c], ecx
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41106b
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 + 0x20], eax
push 0x64
lea ecx, [esp + 0x200]
push 0
push ecx
mov byte [esp + 0x284], 1
call fcn.004f9940
add esp, 0xc
call fcn.004d8fd9
mov eax, dword [eax + 8]
push 0x64
lea edx, [esp + 0x200]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4110ca
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.0041c4a0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], 3
call fcn.00404ec0
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 0x41112d
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.004f35e7
add esp, 8
test eax, eax
jne 0x411145
or eax, 0xffffffff
jmp 0x411147
sub eax, esi
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404c40
push str._rtcc.tmp
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x284], 4
call fcn.00404cc0
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], 5
call fcn.00404ec0
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 0x4111ab
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 0x4111d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x20], 0
jne 0x4112ca
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411206
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.00422da0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 7
call fcn.00404ec0
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 0x411267
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 0x60518f
push esi
mov ecx, edi
call fcn.004de6de
cmp eax, 6
jne 0x411309
lea ecx, [esp + 0x24]
call fcn.004d84c7
cmp eax, 1
jne 0x411309
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x20], ecx
mov ecx, edi
call fcn.00410ff0
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 0x4112ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x20]
cmp dword [edx + 0x30], 1
jne 0x411414
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.hook.dll_clearMyHook]
add esp, 4
mov ecx, edi
call fcn.004d7e9b
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411365
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 0x41132d
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 0x411355
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 0x411525
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.00422da0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 9
call fcn.00404ec0
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 0x4113c6
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.004052b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00458670
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 0x4114ee
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x4114ee
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41142e
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.00422da0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0xb
call fcn.00404ec0
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 0x41148f
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 0x60518f
push esi
mov ecx, edi
call fcn.004de6de
cmp eax, 6
jne 0x4114ca
lea ecx, [esp + 0x24]
call fcn.004d84c7
cmp eax, 1
jne 0x4114ca
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x20], ecx
mov ecx, edi
call fcn.00410ff0
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 0x4114ee
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 0x411516
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 + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41153e
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.00425be0
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.004f2a78
mov esp, ebp
pop ebp
ret