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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
cmp dword [0x42d310], 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], 0
je 0x411b0c
mov dword [esp + 0x34], 0x4246c0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
lea esi, [eax + 4]
mov dword [esp + 0x20], esi
lea esi, [eax + 0x404]
mov dword [esp + 0x38], esi
test eax, eax
je 0x411900
mov eax, dword [esp + 0x20]
mov ebp, dword [eax]
nop
test ebp, ebp
je 0x4118ea
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4118aa
mov eax, dword [esp + 0x24]
call eax
test eax, eax
jne 0x411b00
mov eax, ebp
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
shr eax, 0x16
mov edx, dword [eax*4 + 0x448d14]
mov eax, ebp
shr eax, 0xc
and eax, 0x3ff
mov ebx, dword [edx + eax*4]
mov edx, dword [0x42d2ac]
mov eax, dword [ebx]
mov dword [esi], eax
test ecx, ecx
je 0x411950
movzx esi, word [ebx + 0xe]
lea ecx, [edx - 1]
cmp esi, ecx
je 0x411950
mov ebp, eax
test ebp, ebp
jne 0x411894
add dword [esp + 0x20], 4
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x38], eax
jne 0x411888
lea esi, [esi]
add dword [esp + 0x34], 0x14
mov eax, dword [esp + 0x34]
mov esi, 0x4246fc
cmp esi, eax
jne 0x41186c
cmp dword [0x42d310], 2
mov ebx, 1
jne 0x411b02
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x3c]
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 fcn.00411220
jmp 0x411b02
movzx eax, byte [ebx + 0xc]
mov esi, dword [ebx + 0x10]
lea eax, [eax + eax*4]
mov edi, esi
mov ecx, dword [eax*4 + 0x4246c0]
shr edi, 3
mov word [ebx + 0xe], dx
mov dword [esp + 0x1c], edi
lea ecx, [ecx + edi*4]
mov edi, dword [eax*4 + 0x4246d0]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 0x14]
mov edx, dword [0x42d088]
test edx, edx
je 0x4119c0
mov ecx, dword [0x42d06c]
test ecx, ecx
jne 0x4119c0
mov edx, dword [0x42d304]
test edx, edx
jne 0x4119c0
xor ecx, ecx
test eax, eax
mov edx, 1
mov eax, ebp
sete cl
call fcn.004113c0
lea esi, [esi]
lea esi, [esi]
mov ecx, 0x1000
mov eax, ebp
sub ecx, esi
test edi, edi
jne 0x411a30
xor ebp, ebp
add ecx, eax
jb 0x411a04
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
xor edx, edx
lea esi, [esi]
mov edi, edx
shr edi, 5
mov edi, dword [ebx + edi*4 + 0x20]
bt edi, edx
jb 0x4119f4
mov dword [eax], ecx
add ebp, esi
mov ecx, eax
add eax, esi
add edx, dword [esp + 0x1c]
cmp eax, dword [esp + 0x28]
jbe 0x4119e0
mov dword [esp + 0x18], ecx
add dword [0x44bf04], ebp
cmp byte [ebx + 0xc], 2
je 0x411a90
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
mov dword [eax], ebx
mov eax, dword [esp + 0x20]
mov ebp, dword [eax]
jmp 0x411890
add ecx, ebp
mov dword [esp + 0x28], ecx
jb 0x411a0a
xor ecx, ecx
jmp 0x411a4c
add ecx, dword [esp + 0x1c]
cmp dword [esp + 0x28], edx
jb 0x411a0a
mov eax, edx
mov ebp, ecx
lea edx, [eax + esi]
shr ebp, 5
mov edi, edx
mov ebp, dword [ebx + ebp*4 + 0x20]
bt ebp, ecx
jb 0x411a40
mov edx, dword [esp + 0x18]
mov dword [eax], edx
lea edx, [eax + 4]
cmp edx, edi
jae 0x411a7e
lea esi, [esi]
add edx, 4
mov dword [edx - 4], 0
cmp edi, edx
ja 0x411a70
add dword [0x44bf04], esi
mov dword [esp + 0x18], eax
jmp 0x411a40
mov esi, dword [ebx + 0x10]
mov eax, 0x1000
xor edx, edx
div esi
cmp esi, 0x800
ja 0x411af0
imul esi, eax
mov edx, 1
mov ecx, esi
shr ecx, 3
shl edx, cl
lea ecx, [edx + edx - 2]
xor edx, edx
or ecx, 1
shr esi, 8
je 0x411adf
xor edx, edx
lea esi, [esi]
lea esi, [esi]
mov dword [ebx + edx*4 + 0x20], 0xffffffff
add edx, 1
cmp edx, esi
jb 0x411ad0
mov dword [ebx + edx*4 + 0x20], ecx
mov dword [ebx + 0x1c], eax
jmp 0x411a14
mov ecx, 1
mov esi, 0x10
jmp 0x411ac1
xor ebx, ebx
add esp, 0x4c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x3c], eax
jmp 0x411864