Function at 0x4225f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5804d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6236f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x625c5c]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
push 0x9c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
call fcn.00551f1b
mov esi, eax
add esp, 4
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], esi
call fcn.004218c0
push esi
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00472620
mov esi, dword [ebp - 0x24]
push 0x9c
push 0
push esi
mov dword [ebp - 4], 0
call fcn.00551820
mov edi, dword [ebp + 8]
imul edi, edi, 0x2c
mov dword [esi + 0x28], 0x7c0020
mov ecx, 0x9c
mov word [esi + 0x24], cx
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + edi + 0xc]
mov dword [esi + 0x6c], eax
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + edi + 0x10]
mov dword [esi + 0x70], edx
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + edi + 0x18]
mov dword [esi + 0x68], ecx
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + edi + 4]
mov dword [esi + 0x2c], eax
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + edi + 8]
mov dword [esi + 0x30], edx
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + edi + 0x14]
mov dword [esi + 0x78], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x6c]
add esp, 0x18
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x1c]
jl 0x4227a3
mov esi, dword [eax + 0x70]
mov dword [ebp + 8], esi
cmp esi, dword [ebp - 0x18]
jl 0x4227a3
mov eax, dword [ebx + 0x10]
lea edx, [eax + edi + 0x1c]
mov dword [ebp - 0x18], edx
mov edx, dword [edx]
cmp edx, dword [eax + edi + 0x20]
je 0x422724
mov eax, dword [eax + edi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [edx]
cmp dword [eax + 0x6c], ecx
jne 0x42271c
cmp dword [eax + 0x70], esi
jne 0x42271c
mov esi, dword [eax + 0x68]
mov ecx, dword [ebp - 0x24]
cmp esi, dword [ecx + 0x68]
jne 0x422716
mov eax, dword [eax + 0x78]
cmp eax, dword [ecx + 0x78]
je 0x422752
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add edx, 8
cmp edx, dword [ebp - 0x14]
jne 0x4226f7
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00430c50
mov edx, dword [ebx + 0x10]
mov eax, dword [edi + edx + 0x20]
mov edi, dword [edi + edx + 0x1c]
mov ecx, eax
sub ecx, edi
push 0x421620
sar ecx, 3
push ecx
push eax
push edi
call fcn.00422370
add esp, 0x10
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42278a
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x42278a
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42278a
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4227db
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4227db
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4227db
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4