Function at 0x42a320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45ef59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp dword [esp + 0x30], 2
push esi
mov esi, ecx
je 0x42a36e
mov esi, dword [esp + 0x28]
push 0x4616a8
mov ecx, esi
call fcn.004026d0
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x42a392
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
call dword [eax + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x20], ebx
mov ebx, 2
mov dword [esp + 0x10], ebx
push eax
lea ecx, [esp + 0x34]
call fcn.004026d0
test bl, 2
mov dword [esp + 0x20], 2
je 0x42a3c7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a3c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00428040
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x30], 3
call fcn.00428180
add esp, 0x10
mov byte [esp + 0x20], 4
call fcn.0044ed62
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x2c]
test al, al
mov byte [esp + 0x20], 5
lea ecx, [esp + 0x34]
je 0x42a424
push 3
push 0x466cfc
call fcn.004018d0
jmp 0x42a437
mov eax, dword [esi + 0x4c]
inc eax
push eax
push str.z_02d
push ecx
call fcn.00401c60
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004111c0
push 0x4631b8
push eax
lea edx, [esp + 0x40]
mov bl, 6
push edx
mov byte [esp + 0x38], bl
call fcn.00401f80
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x4c]
push ecx
push eax
push esi
mov byte [esp + 0x44], 7
call fcn.004111c0
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x24
mov byte [esp + 0x20], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a49b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a4be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x20], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a4e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x20], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a504
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a527
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a54d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10