Function at 0x410f30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d55e4
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x629560]
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.004257d0
mov dword [esp + 0x278], 0
mov ecx, dword [0x648fc4]
mov dword [esp + 0x1c], ecx
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410fab
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.004f9810
add esp, 0xc
call fcn.004d8c67
mov eax, dword [eax + 8]
push 0x64
lea edx, [esp + 0x200]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41100a
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.0041c260
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], 3
call fcn.00404f90
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 0x41106d
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.004f3288
add esp, 8
test eax, eax
jne 0x411085
or eax, 0xffffffff
jmp 0x411087
sub eax, esi
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404d30
push str._rtcc.tmp
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x284], 4
call fcn.00404db0
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], 5
call fcn.00404f90
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 0x4110eb
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 0x411113
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 0x41120a
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411146
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.00422af0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 7
call fcn.00404f90
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 0x4111a7
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 0x605167
push esi
mov ecx, edi
call fcn.004de328
cmp eax, 6
jne 0x411249
lea ecx, [esp + 0x24]
call fcn.004d8155
cmp eax, 1
jne 0x411249
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x20], ecx
mov ecx, edi
call fcn.00410f30
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 0x41120a
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 0x411354
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.hook.dll_clearMyHook]
add esp, 4
mov ecx, edi
call fcn.004d7b29
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4112a5
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 0x41126d
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 0x411295
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 0x411465
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.00422af0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 9
call fcn.00404f90
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 0x411306
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.004053b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00458510
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 0x41142e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x41142e
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41136e
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.00422af0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0xb
call fcn.00404f90
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 0x4113cf
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 0x605167
push esi
mov ecx, edi
call fcn.004de328
cmp eax, 6
jne 0x41140a
lea ecx, [esp + 0x24]
call fcn.004d8155
cmp eax, 1
jne 0x41140a
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x20], ecx
mov ecx, edi
call fcn.00410f30
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 0x41142e
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 0x411456
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 0x41147e
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.004258e0
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.004f2719
mov esp, ebp
pop ebp
ret