Function at 0x4a17d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5fbb58
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov esi, ecx
lea ebx, [esi + 0x234c]
lea eax, [ebp + 4]
mov edi, ebx
call fcn.0040ab90
lea edi, [esi + 0x2350]
lea eax, [ebp + 8]
call fcn.0040ab90
mov eax, dword [ebp]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
sub eax, 0x10
call fcn.0040a210
add eax, 0x10
mov dword [esp + 0x2c], eax
push 0
push 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esi + 0x2338]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0xf0
push ecx
call ebp
test eax, eax
jne 0x4a1866
lea eax, [esi + 0x2350]
lea edi, [esp + 0x2c]
call fcn.0040ab90
cmp dword [esi + 0x11b0], 0
mov eax, ebx
je 0x4a1884
lea edi, [esi + 0x2340]
call fcn.0040ab90
lea edi, [esi + 0x2348]
jmp 0x4a1895
lea edi, [esi + 0x233c]
call fcn.0040ab90
lea edi, [esi + 0x2344]
lea eax, [esi + 0x2350]
call fcn.0040ab90
cmp dword [esp + 0x18], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x4a197a
mov eax, dword [esp + 0x2c]
cmp dword [eax - 0xc], 0
je 0x4a197a
push 0
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.0040a210
mov edx, dword [0x679074]
add edx, 0x1054
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.004a5030
test eax, eax
je 0x4a197a
mov eax, dword [esi + 0x2338]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x679074]
mov edx, dword [ecx + 0x2150]
push 0x631600
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [0x679074]
add edi, 0x1170
lea eax, [esp + 0x2c]
call fcn.0040ab90
mov eax, dword [0x679074]
mov ecx, dword [eax + 0x11ac]
xor esi, esi
push esi
push esi
push 0xf0
push ecx
call ebp
test eax, eax
mov eax, dword [0x679074]
je 0x4a1953
mov dword [eax + 0x1180], esi
mov edx, dword [eax + 0x11a8]
push esi
push esi
push 0xf0
push edx
call ebp
test eax, eax
mov eax, dword [0x679074]
je 0x4a1972
mov dword [eax + 0x1194], esi
push eax
call fcn.004a0470
jmp 0x4a19a1
mov eax, dword [0x679074]
mov ecx, dword [eax + 4]
push 0x524
push ecx
call ebx
push 0x631614
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x679074]
mov ecx, dword [eax + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x679074]
mov eax, dword [edx + 4]
push 0
push 0xbb8
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [0x679074]
mov edx, dword [ecx + 4]
push 0x4c7
push edx
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push eax
call esi
mov eax, dword [0x679074]
mov ecx, dword [eax + 4]
push 0x4c8
push ecx
call ebx
push 1
push eax
call esi
mov edx, dword [0x679074]
mov eax, dword [edx + 4]
push 0x4cb
push eax
call ebx
push 1
push eax
call esi
mov eax, dword [0x679074]
cmp dword [eax + 0x1af0], 0
je 0x4a1a30
mov ecx, dword [eax + 0x11ac]
push 1
push ecx
call esi
mov eax, dword [0x679074]
cmp dword [eax + 0x1aec], 0
je 0x4a1a44
mov edx, dword [eax + 0x11a8]
push 1
push edx
call esi
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [0x679074], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1a76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4