Function at 0x5629f0
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58cb80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ebfc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [eax]
mov eax, dword [0x5f4e60]
cmp eax, dword [ecx + 4]
jg 0x562c6e
call fcn.00407271
mov ecx, eax
test ecx, ecx
je 0x562ca1
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x5940e4
jne 0x562cab
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
call esi
sub eax, dword [0x5f4e64]
push eax
lea eax, [ebp - 0x10]
push str._08d
push eax
call fcn.00404950
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.004052d0
push 1
push 0x5c2ba4
lea ecx, [ebp - 0x10]
call fcn.004052d0
push 0x5c2ba8
push 0x5c2bac
lea ecx, [ebp - 0x10]
call fcn.00404ff0
cmp dword [0x5ec920], 0
je 0x562b17
push 0x104
push 0x5f4b00
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x2e
push 0x5f4b00
call fcn.0053dbee
add esp, 8
test eax, eax
je 0x562b02
push 0x5c2bb0
xor ecx, ecx
push 0x104
push 0x5f4b00
mov word [eax], cx
call fcn.0054392a
add esp, 0xc
push 0x5f4b00
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [0x5ec920], 0
cmp dword [0x5f4d34], 0
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
jne 0x562b75
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x562c0a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, 0x5940e4
jne 0x562cb2
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x562cb2
push 0
push dword [edx + 4]
call edi
jmp 0x562c0a
push 0x5c2bbc
lea eax, [ebp - 0x14]
push 0x5f4b00
push eax
call fcn.00543a4b
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x562bb4
push esi
push 0x5c2bc4
push eax
call fcn.00405400
push dword [ebp - 0x14]
call fcn.00543d62
push dword [ebp - 0x14]
call fcn.00543e2c
add esp, 0x14
cmp dword [0x5f4d34], 2
jne 0x562bc7
push 0
push 0
push esi
call fcn.00412c49
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x562c0a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, 0x5940e4
jne 0x562cb2
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x562cb2
push 0
push dword [edx + 4]
call edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x562c5c
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, 0x5940e4
jne 0x562cbb
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x562cbb
push 0
push dword [edx + 4]
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5f4e60
call fcn.0053c212
add esp, 4
cmp dword [0x5f4e60], 0xffffffff
jne 0x562a3e
call esi
push 0x5f4e60
mov dword [0x5f4e64], eax
call fcn.0053c1c8
add esp, 4
jmp 0x562a3e
push 0x80004005
call fcn.00402ab0
call edx
jmp 0x562a64
mov ecx, edx
call ebx
jmp 0x562c0a
mov ecx, edx
call esi
jmp 0x562c5c