Function at 0x412f30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x517ff4
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5566e0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x5566e0]
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.0041f9e0
mov dword [esp + 0x278], 0
mov ecx, dword [0x5737f4]
mov dword [esp + 0x20], ecx
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x412fab
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.004e9730
add esp, 0xc
call fcn.004c6f68
mov eax, dword [eax + 8]
push 0x64
lea edx, [esp + 0x200]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41300a
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.0041aa20
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], 3
call fcn.00404e60
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 0x41306d
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.004e16f2
add esp, 8
test eax, eax
jne 0x413085
or eax, 0xffffffff
jmp 0x413087
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.00404e60
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 0x4130eb
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 0x413113
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 0x41320a
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413146
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.0041c760
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 7
call fcn.00404e60
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 0x4131a7
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 0x529b37
push esi
mov ecx, edi
call fcn.004cc7e7
cmp eax, 6
jne 0x413249
lea ecx, [esp + 0x24]
call fcn.004c6456
cmp eax, 1
jne 0x413249
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x20]
mov dword [edx + 0x20], ecx
mov ecx, edi
call fcn.00412f30
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 0x41320a
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 0x413354
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.hook.dll_clearMyHook]
add esp, 4
mov ecx, edi
call fcn.004c5e2a
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4132a5
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 0x41326d
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 0x413295
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 0x413449
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.0041c760
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 9
call fcn.00404e60
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 0x413306
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.00405250
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004534e0
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 0x413412
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x413412
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41336e
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.0041c760
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0xb
call fcn.00404e60
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 0x4133cf
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 0x529b37
push esi
mov ecx, edi
call fcn.004cc7e7
cmp eax, 6
jne 0x4133ee
mov ecx, edi
call fcn.00412f30
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 0x413412
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 0x41343a
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 0x413462
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.0041faf0
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.004e0b83
mov esp, ebp
pop ebp
ret