Function at 0x408290
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dc3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44c
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x20], ebx
lea esi, [ebx + 0x34]
mov dword [ebp - 0x3c], esi
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
cmp eax, dword [ebx + 0x18]
jae 0x4082d1
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x18]
cmp eax, ebx
je 0x40831d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebx + 8], ecx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x14]
mov eax, ebx
mov edi, dword [ebp - 0x18]
sub eax, edi
sar eax, 5
cmp eax, 0x64
jbe 0x408361
lea eax, [edi + 0x140]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x40835c
mov esi, eax
mov ecx, esi
call fcn.00407cd0
add esi, 0x20
cmp esi, ebx
jne 0x408345
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp edi, ebx
je 0x4084dd
lea ebx, [edi + 8]
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x58]
push 0x25
push 0x42e3b8
mov byte [ebp - 4], 1
mov edi, dword [eax + 0x10]
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
call fcn.00406da0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
push ebx
lea eax, [ebx - 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004037fa
mov ecx, dword [ebp - 0x44]
mov edi, eax
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x408411
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408407
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408593
push ecx
push edx
call fcn.00406a00
add esp, 8
cmp edi, 2
je 0x408437
cmp dword [ebx + 0x14], 7
mov eax, ebx
jbe 0x408420
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x458]
push str.Failed_uploading_dump__out_of_process_:__ls_n
push eax
call fcn.00406cc0
add esp, 0xc
jmp 0x408462
cmp dword [ebp - 0x24], 7
lea eax, [ebp - 0x38]
mov ecx, ebx
cmova eax, dword [ebp - 0x38]
cmp dword [ebx + 0x14], 7
jbe 0x40844c
mov ecx, dword [ebx]
push eax
push ecx
lea eax, [ebp - 0x458]
push str.Uploaded_dump__out_of_process_:__ls____ls_n
push eax
call fcn.00406cc0
add esp, 0x10
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x4084ad
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4084a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408593
push ecx
push edx
call fcn.00406a00
add esp, 8
mov ecx, dword [ebp - 0x14]
add ebx, 0x20
lea eax, [ebx - 8]
cmp eax, ecx
jne 0x408370
mov edi, dword [ebp - 0x18]
mov ebx, ecx
cmp edi, ebx
je 0x4084dd
mov ecx, edi
call fcn.00407cd0
add edi, 0x20
cmp edi, ebx
jne 0x4084c7
mov edi, dword [ebp - 0x18]
mov ebx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x408542
cmp edi, ebx
je 0x408501
lea esp, [esp]
mov ecx, edi
call fcn.00407cd0
add edi, 0x20
cmp edi, ebx
jne 0x4084f0
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov eax, edi
sub ecx, edi
and ecx, 0xffffffe0
cmp ecx, 0x1000
jb 0x408523
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408593
push ecx
push edi
call fcn.00406a00
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x14], 0
ja 0x408558
mov eax, dword [ebp - 0x40]
sub eax, dword [edi + 0x18]
cmp eax, 0x2710
jae 0x408582
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, edi
jne 0x40857a
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x20]
jmp 0x4082c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0040d19e
int3