Function at 0x41afd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54b6d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x59e784]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esi + 0xa8]
lea ecx, [esi + 0xf4]
push eax
call fcn.004098c0
lea edx, [esi + 0xb8]
lea ecx, [esi + 0xf0]
push edx
call fcn.004098c0
lea eax, [esi + 0xbc]
lea ecx, [esi + 0x160]
push eax
call fcn.004098c0
lea edx, [esi + 0x98]
lea ecx, [esi + 0xe0]
push edx
call fcn.004098c0
lea eax, [esi + 0x9c]
lea ecx, [esi + 0xdc]
push eax
call fcn.004098c0
lea edx, [esi + 0xac]
lea ecx, [esi + 0xe8]
push edx
call fcn.004098c0
lea eax, [esi + 0x90]
lea ecx, [esi + 0xd4]
push eax
call fcn.004098c0
lea edx, [esi + 0xa4]
lea ecx, [esi + 0xe4]
push edx
call fcn.004098c0
lea eax, [esi + 0x94]
lea ecx, [esi + 0xd8]
push eax
call fcn.004098c0
lea edx, [esi + 0xa0]
lea ecx, [esi + 0xf8]
push edx
call fcn.004098c0
mov eax, dword [esi + 0xcc]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x5789ec
mov dword [esi + 0x15c], eax
call fcn.004094d0
mov dword [esp + 0x2c], 0
mov eax, dword [esi + 0xb4]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov ebx, esp
push eax
mov edi, 0x579530
call fcn.00409850
add eax, 0x10
mov dword [ebx], eax
mov ecx, edi
or ebx, 0xffffffff
add esp, 4
lea edi, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.00403170
lea ecx, [esi + 0xec]
push eax
mov dword [esp + 0x2c], 1
call fcn.004098c0
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b140
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5789ec
call fcn.004094d0
mov dword [esp + 0x2c], 2
mov eax, dword [esi + 0xb0]
push ecx
mov dword [esp + 0x14], esp
sub eax, 0x10
mov dword [esp + 0x14], esp
push eax
mov edi, 0x579530
call fcn.00409850
mov ecx, dword [esp + 0x18]
add eax, 0x10
mov dword [ecx], eax
mov ecx, edi
add esp, 4
lea edi, [esp + 0x18]
mov dword [esp + 0x30], ebx
call fcn.00403170
lea ecx, [esi + 0xd0]
push eax
mov dword [esp + 0x2c], 3
call fcn.004098c0
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b1c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5789ec
call fcn.004094d0
mov dword [esp + 0x2c], 4
mov eax, dword [esi + 0xc0]
push ecx
mov dword [esp + 0x18], esp
sub eax, 0x10
mov dword [esp + 0x18], esp
push eax
mov edi, 0x579530
call fcn.00409850
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
mov ecx, edi
add esp, 4
lea edi, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.00403170
lea ecx, [esi + 0x150]
push eax
mov dword [esp + 0x2c], 5
call fcn.004098c0
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b250
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5789ec
call fcn.004094d0
mov dword [esp + 0x2c], 6
mov eax, dword [esi + 0xc4]
push ecx
mov dword [esp + 0x18], esp
sub eax, 0x10
mov dword [esp + 0x18], esp
push eax
mov edi, 0x579530
call fcn.00409850
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
mov ecx, edi
add esp, 4
lea edi, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.00403170
lea ecx, [esi + 0x154]
push eax
mov dword [esp + 0x2c], 7
call fcn.004098c0
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b2d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5789ec
call fcn.004094d0
mov dword [esp + 0x2c], 8
mov eax, dword [esi + 0xc8]
push ecx
mov dword [esp + 0x18], esp
sub eax, 0x10
mov dword [esp + 0x18], esp
push eax
mov edi, 0x579530
call fcn.00409850
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
mov ecx, edi
add esp, 4
lea edi, [esp + 0x1c]
mov dword [esp + 0x30], ebx
call fcn.00403170
lea ecx, [esi + 0x158]
push eax
mov dword [esp + 0x2c], 9
call fcn.004098c0
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x41b35e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret