Function at 0x41f5b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7b5e8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [edi], fcn.0041f930
push 0x8b1430
mov dword [esp + 0x2c], 6
lea esi, [edi + 0x148]
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
test esi, esi
je 0x41f68d
mov eax, dword [esi]
test eax, eax
je 0x41f68d
add eax, 0x18
mov ecx, 0x8b1410
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004291a0
mov eax, dword [0x8b1414]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x41f68d
lea ecx, [esp + 0x10]
push esi
push ecx
mov ecx, 0x8b1420
call fcn.0042cbc0
mov eax, dword [0x8b1424]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x41f687
mov edx, dword [ecx + 0x10]
dec edx
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x41f687
mov ecx, dword [esi]
test ecx, ecx
je 0x41f65f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, 0x8b1410
call fcn.00429180
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, 0x8b1420
call fcn.00429250
mov dword [esi], 0
push 0x8b1430
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x180]
test eax, eax
jne 0x41f6a6
xor ebx, ebx
jmp 0x41f6b1
mov ebx, dword [edi + 0x184]
sub ebx, eax
sar ebx, 2
xor esi, esi
test ebx, ebx
jle 0x41f6d4
mov eax, dword [edi + 0x180]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x41f6cf
test ecx, ecx
je 0x41f6cf
mov edx, dword [ecx]
push 1
call dword [edx + 4]
inc esi
cmp esi, ebx
jl 0x41f6b7
mov eax, dword [edi + 0x184]
mov edx, dword [edi + 0x180]
lea ecx, [edi + 0x17c]
push eax
push edx
call fcn.00429350
mov eax, dword [edi + 0x190]
lea ebp, [edi + 0x18c]
test eax, eax
jne 0x41f701
xor ebx, ebx
jmp 0x41f709
mov ebx, dword [ebp + 8]
sub ebx, eax
sar ebx, 2
xor esi, esi
test ebx, ebx
jle 0x41f728
mov eax, dword [edi + 0x190]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x41f723
mov eax, dword [ecx]
push 1
call dword [eax + 4]
inc esi
cmp esi, ebx
jl 0x41f70f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push eax
push ecx
mov ecx, ebp
call fcn.00429350
xor ebx, ebx
lea esi, [edi + 0x19c]
mov eax, dword [esi + 4]
test eax, eax
je 0x41f767
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x41f767
mov edx, dword [edi + 0x1a0]
mov eax, dword [edx + ebx*4]
push eax
call fcn.007a02e0
add esp, 4
inc ebx
jmp 0x41f73f
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00429350
push 0x8b13f8
lea ebx, [edi + 0x1cc]
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
test ebx, ebx
je 0x41f823
mov eax, dword [ebx]
test eax, eax
je 0x41f823
add eax, 0x18
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, 0x8b13d8
call fcn.0042ed10
mov eax, dword [0x8b13dc]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x41f823
lea edx, [esp + 0x10]
push ebx
push edx
mov ecx, 0x8b13e8
call fcn.0042f460
mov eax, dword [0x8b13ec]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x41f81d
mov edx, dword [ecx + 0x10]
dec edx
mov dword [ecx + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x41f81d
mov ecx, dword [ebx]
test ecx, ecx
je 0x41f7f5
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, 0x8b13d8
call fcn.004292f0
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, 0x8b13e8
call fcn.00429310
mov dword [ebx], 0
push 0x8b13f8
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 0x134]
xor ebx, ebx
cmp ecx, ebx
je 0x41f841
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [edi + 0x1b4]
mov dword [edi + 0x134], ebx
cmp ecx, ebx
je 0x41f858
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [edi + 0x1ac]
cmp ecx, ebx
je 0x41f869
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [edi + 0x1b0]
cmp ecx, ebx
je 0x41f87a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x30], 5
call fcn.006660a0
mov eax, dword [esi + 4]
push eax
call fcn.007a02e0
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x30], 4
call fcn.006660a0
mov eax, dword [ebp + 4]
push eax
call fcn.007a02e0
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
lea ecx, [edi + 0x17c]
mov byte [esp + 0x28], 3
call fcn.0071a830
lea ecx, [edi + 0x16c]
mov byte [esp + 0x28], 2
call fcn.0071a830
lea ecx, [edi + 0x15c]
mov byte [esp + 0x28], 1
call fcn.0071a830
lea ecx, [edi + 0x14c]
mov byte [esp + 0x28], 0
call fcn.0071a830
mov ecx, edi
mov dword [esp + 0x28], 0xffffffff
call fcn.0044dd20
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret