Function at 0x40fe40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
cmp dword [0x42b370], 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], 0
je 0x4101a0
mov dword [esp + 0x20], 0x4226e0
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea ecx, [eax + 0x404]
lea ebp, [eax + 4]
mov dword [esp + 0x28], ecx
test eax, eax
je 0x40ff70
mov ecx, dword [esp + 0x24]
mov ebx, dword [ebp]
test ecx, ecx
je 0x40ffc0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x410060
test ebx, ebx
je 0x40ff59
lea esi, [esi]
nop
mov eax, dword [esp + 0x18]
call eax
test eax, eax
jne 0x40fef8
mov eax, ebx
shr eax, 0x16
mov edx, dword [eax*4 + 0x446d94]
mov eax, ebx
shr eax, 0xc
and eax, 0x3ff
mov edx, dword [edx + eax*4]
mov eax, dword [0x42b318]
mov ecx, dword [edx]
movzx edi, word [edx + 0xe]
lea esi, [eax - 1]
mov dword [ebp], ecx
cmp edi, esi
je 0x40ff10
test ecx, ecx
je 0x40ff59
mov ebx, ecx
mov eax, dword [esp + 0x18]
call eax
test eax, eax
je 0x40feba
xor ebx, ebx
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
movzx esi, byte [edx + 0xc]
mov ecx, dword [edx + 0x10]
lea edi, [esi + esi*4]
mov dword [esp + 0x1c], ecx
mov esi, ecx
mov ecx, dword [edi*4 + 0x4226e0]
shr esi, 3
mov word [edx + 0xe], ax
lea esi, [ecx + esi*4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [esp + 4], eax
mov eax, dword [edi*4 + 0x4226f0]
mov dword [esp], eax
mov eax, ebx
call sym._GC_reclaim_generic.constprop.46
mov dword [esi], eax
mov ebx, dword [ebp]
test ebx, ebx
jne 0x40feb0
add ebp, 4
cmp ebp, dword [esp + 0x28]
jne 0x40fe88
lea esi, [esi]
lea esi, [esi]
add dword [esp + 0x20], 0x14
mov eax, dword [esp + 0x20]
cmp eax, 0x42271c
jne 0x40fe6c
cmp dword [0x42b370], 2
mov ebx, 1
jne 0x40fefa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], str.Disposing_of_reclaim_lists_took__lu_ms__lu_ns_n
call sym._GC_log_printf
jmp 0x40fefa
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x41003b
jmp 0x410110
mov eax, dword [esp + 0x18]
call eax
test eax, eax
jne 0x40fef8
mov eax, ebx
shr eax, 0x16
mov edx, dword [eax*4 + 0x446d94]
mov eax, ebx
shr eax, 0xc
and eax, 0x3ff
mov edx, dword [edx + eax*4]
mov eax, dword [edx]
mov ecx, dword [edx + 0x10]
mov dword [ebp], eax
movzx eax, byte [edx + 0xc]
mov edi, ecx
shr edi, 3
lea eax, [eax + eax*4]
mov esi, dword [eax*4 + 0x4226e0]
mov eax, dword [eax*4 + 0x4226f0]
lea esi, [esi + edi*4]
mov edi, dword [0x42b318]
mov word [edx + 0xe], di
mov edi, dword [esi]
mov dword [esp], eax
mov eax, ebx
mov dword [esp + 4], edi
call sym._GC_reclaim_generic.constprop.46
mov dword [esi], eax
mov ebx, dword [ebp]
test ebx, ebx
jne 0x40ffd0
add ebp, 4
cmp ebp, dword [esp + 0x28]
jne 0x40fe88
jmp 0x40ff70
test ebx, ebx
je 0x40ff59
lea esi, [esi]
nop
mov edi, dword [0x42b318]
mov eax, ebx
lea ecx, [edi - 1]
shr eax, 0x16
mov edx, dword [eax*4 + 0x446d94]
mov eax, ebx
shr eax, 0xc
and eax, 0x3ff
mov edx, dword [edx + eax*4]
mov eax, dword [edx]
movzx esi, word [edx + 0xe]
mov dword [ebp], eax
cmp esi, ecx
je 0x4100b0
test eax, eax
je 0x40ff59
mov ebx, eax
jmp 0x410076
movzx eax, byte [edx + 0xc]
mov ecx, dword [edx + 0x10]
lea eax, [eax + eax*4]
mov dword [esp + 0x1c], ecx
mov esi, ecx
mov ecx, dword [eax*4 + 0x4226e0]
shr esi, 3
mov word [edx + 0xe], di
mov eax, dword [eax*4 + 0x4226f0]
lea esi, [ecx + esi*4]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esi]
mov dword [esp], eax
mov eax, ebx
mov dword [esp + 4], edi
call sym._GC_reclaim_generic.constprop.46
mov dword [esi], eax
mov ebx, dword [ebp]
test ebx, ebx
jne 0x410070
add ebp, 4
cmp ebp, dword [esp + 0x28]
jne 0x40fe88
jmp 0x40ff70
test ebx, ebx
je 0x40ff59
mov eax, ebx
lea esi, [esi]
mov edx, eax
shr edx, 0x16
mov ecx, dword [edx*4 + 0x446d94]
mov edx, eax
shr edx, 0xc
and edx, 0x3ff
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx]
mov dword [ebp], ecx
movzx ebx, byte [edx + 0xc]
mov ecx, dword [edx + 0x10]
lea esi, [ebx + ebx*4]
mov ebx, dword [esi*4 + 0x4226e0]
mov edi, ecx
mov esi, dword [esi*4 + 0x4226f0]
shr edi, 3
lea ebx, [ebx + edi*4]
mov edi, dword [0x42b318]
mov word [edx + 0xe], di
mov edi, dword [ebx]
mov dword [esp], esi
mov dword [esp + 4], edi
call sym._GC_reclaim_generic.constprop.46
mov dword [ebx], eax
mov eax, dword [ebp]
test eax, eax
jne 0x410120
add ebp, 4
cmp ebp, dword [esp + 0x28]
jne 0x40fe88
jmp 0x40ff70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x2c], eax
jmp 0x40fe64