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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e1bd
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 - 0x24], esi
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
cmp eax, dword [ebx + 0x18]
jae 0x407f71
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 0x407fbd
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 0x408001
lea eax, [edi + 0x140]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x407ffc
mov esi, eax
mov ecx, esi
call fcn.00407940
add esi, 0x20
cmp esi, ebx
jne 0x407fe5
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp edi, ebx
je 0x408181
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x58]
push 0x25
mov dword [ebp - 0x58], 0
push str.https:__crash.steampowered.com_submit
mov ebx, dword [eax + 0x10]
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.004088b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
lea eax, [edi + 8]
mov ecx, ebx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00403817
mov edx, dword [ebp - 0x44]
mov ebx, eax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4080ba
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4080b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408225
push edx
push ecx
call fcn.00406a50
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp ebx, 2
je 0x4080e1
cmp dword [eax + 0x14], 8
jb 0x4080ca
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x458]
push str.Failed_uploading_dump__out_of_process_:__ls_n
push eax
call fcn.00406d10
add esp, 0xc
jmp 0x40810a
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x4080f4
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x458]
push str.Uploaded_dump__out_of_process_:__ls____ls_n
push eax
call fcn.00406d10
add esp, 0x10
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x408155
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40814b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408225
push edx
push ecx
call fcn.00406a50
add esp, 8
mov ebx, dword [ebp - 0x14]
add edi, 0x20
cmp edi, ebx
jne 0x408010
mov edi, dword [ebp - 0x18]
cmp edi, ebx
je 0x408181
lea ebx, [ebx]
mov ecx, edi
call fcn.00407940
add edi, 0x20
cmp edi, ebx
jne 0x408170
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4081d0
mov ecx, dword [ebp - 0x10]
mov eax, edi
sub ecx, edi
and ecx, 0xffffffe0
cmp ecx, 0x1000
jb 0x4081b1
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408225
push ecx
push edi
call fcn.00406a50
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 0x4081e6
mov eax, dword [ebp - 0x28]
sub eax, dword [edi + 0x18]
cmp eax, 0x2710
jae 0x408214
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
mov ebx, dword [ebp - 0x20]
jne 0x407f60
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x407f60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0040d12e
int3