Function at 0x410190
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c5bd4
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.0041fe80
mov dword [esp + 0x278], 0
mov ecx, dword [0x636fb4]
mov dword [esp + 0x20], ecx
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41020b
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.004eaae0
add esp, 0xc
call fcn.004ca1a2
mov eax, dword [eax + 8]
push 0x64
lea edx, [esp + 0x200]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41026a
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.00416b90
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], 3
call fcn.00404e20
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 0x4102cd
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.004e4932
add esp, 8
test eax, eax
jne 0x4102e5
or eax, 0xffffffff
jmp 0x4102e7
sub eax, esi
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404bf0
push str._rtcc.tmp
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x284], 4
call fcn.00404c70
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 5
call fcn.00404e20
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 0x41034b
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 0x410373
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 0x41046a
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4103a6
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.0041d1c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 7
call fcn.00404e20
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 0x410407
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 0x5f510f
push esi
mov ecx, edi
call fcn.004cf9c0
cmp eax, 6
jne 0x4104a9
lea ecx, [esp + 0x24]
call fcn.004c9690
cmp eax, 1
jne 0x4104a9
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x20]
mov dword [edx + 0x20], ecx
mov ecx, edi
call fcn.00410190
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 0x41046a
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 0x4105b4
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.hook.dll_clearMyHook]
add esp, 4
mov ecx, edi
call fcn.004c9064
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410505
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 0x4104cd
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 0x4104f5
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 0x4106a9
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.0041d1c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 9
call fcn.00404e20
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 0x410566
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.00405210
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0044e3d0
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 0x410672
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x410672
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4105ce
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.0041d1c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0xb
call fcn.00404e20
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 0x41062f
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 0x5f510f
push esi
mov ecx, edi
call fcn.004cf9c0
cmp eax, 6
jne 0x41064e
mov ecx, edi
call fcn.00410190
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 0x410672
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 0x41069a
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 0x4106c2
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.0041ff90
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.004e3dc3
mov esp, ebp
pop ebp
ret