Function at 0x42bb70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45f038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x20]
push edi
lea ebp, [eax + 0x16]
push 0
push ebp
lea ecx, [esp + 0x18]
call fcn.0042c7f0
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x20]
mov edx, dword [0x479564]
mov dword [ecx], edx
mov cx, word [ebx + 8]
mov edx, dword [esp + 0x14]
mov word [edx + 4], cx
mov cx, word [ebx + 0xa]
mov edx, dword [esp + 0x14]
mov word [edx + 6], cx
mov cx, word [ebx + 0xc]
mov edx, dword [esp + 0x14]
mov word [edx + 8], cx
mov cx, word [ebx + 0xe]
mov edx, dword [esp + 0x14]
mov word [edx + 0xa], cx
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov word [ecx + 0x14], ax
mov edi, dword [esp + 0x14]
mov esi, dword [ebx + 0x1c]
movzx ecx, ax
mov edx, ecx
shr ecx, 2
add edi, 0x16
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x2c]
push ebp
push eax
mov dword [esp + 0x30], 0
call fcn.0042a8c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0042c820
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
push esi
mov esi, ecx
mov al, byte [esi + 0x3c]
test al, al
jne 0x42c0cd
mov ecx, dword [esi + 0x2c]
call fcn.00429a00
test eax, eax
jne 0x42bf93
mov ecx, dword [esi + 0x2c]
call fcn.00429db0
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
push 2
push 0
push 0
call dword [edx + 0x28]
mov ax, word [esi + 0x48]
mov ecx, dword [esi + 0x2c]
push ebx
push edi
mov word [esi + 0xe], ax
mov dword [esi + 0x10], 0
xor bl, bl
call fcn.00429a00
test eax, eax
je 0x42c029
mov ecx, dword [esi + 0x2c]
call fcn.00429a20
test eax, eax
jne 0x42c029
mov ecx, dword [esi + 0x2c]
push ebp
call fcn.00429a30
push 1
mov ecx, esi
mov ebp, eax
call fcn.0042b420
movzx ecx, word [esi + 0xe]
shl ecx, 4
mov edx, 0xfffffffc
sub edx, ecx
mov edi, eax
add edi, edx
cmp ebp, edi
pop ebp
jb 0x42c029
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x44]
test eax, eax
jne 0x42c007
call fcn.00429a70
cmp eax, edi
jb 0x42c007
push 1
mov ecx, esi
call fcn.0042b470
jmp 0x42c027
mov ecx, dword [esi + 0x2c]
call fcn.00429db0
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x48]
push 0
mov ecx, esi
call fcn.0042b470
test al, al
je 0x42c029
mov bl, 1
mov ecx, esi
call fcn.0042b330
mov ecx, dword [esi + 0x2c]
call fcn.00429a20
mov ecx, esi
mov word [esi + 8], ax
call 0x42bb70
test bl, bl
mov edi, eax
je 0x42c05e
mov ecx, dword [esi + 0x2c]
call fcn.00429a20
test eax, eax
je 0x42c05e
push 0xffffffffffffff9b
mov ecx, esi
call fcn.0042b900
mov ecx, dword [esi + 0x2c]
call fcn.00429a20
movzx ecx, word [esi + 8]
cmp ecx, eax
je 0x42c0cb
mov ecx, dword [esi + 0x2c]
call fcn.00429a20
xor ebx, ebx
cmp word [esi + 0xe], bx
mov word [esi + 8], ax
je 0x42c088
mov word [esi + 0xc], bx
jmp 0x42c08f
mov word [esi + 0xa], ax
mov dword [esi + 0x14], ebx
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x2c]
cmp eax, edi
jb 0x42c0a8
sub eax, edi
pop edi
mov dword [ecx + 0x2c], eax
pop ebx
mov ecx, esi
pop esi
jmp 0x42bb70
call fcn.00429db0
mov eax, dword [esi + 0x2c]
sub dword [eax + 0x44], edi
mov edx, dword [esi + 0x2c]
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
call dword [eax + 0x28]
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x42bb70
pop edi
pop ebx
pop esi
ret