Function at 0x429b70
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ce058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push ebx
push ebp
sub eax, 0x10
push esi
push eax
call fcn.00403fa0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x24], esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esi - 0xc]
cmp eax, ebx
jg 0x429bb6
or ebp, 0xffffffff
jmp 0x429bd0
push 0x28
push esi
call fcn.004ac9c0
add esp, 8
cmp eax, ebx
jne 0x429bca
or ebp, 0xffffffff
jmp 0x429bd0
sub eax, esi
sar eax, 1
mov ebp, eax
cmp dword [esi - 0xc], ebx
jg 0x429bda
or eax, 0xffffffff
jmp 0x429bf2
push 0x29
push esi
call fcn.004ac9c0
add esp, 8
cmp eax, ebx
jne 0x429bee
or eax, 0xffffffff
jmp 0x429bf2
sub eax, esi
sar eax, 1
cmp ebp, 0xffffffff
je 0x429f33
cmp eax, 0xffffffff
je 0x429f33
sub eax, ebp
cmp eax, 0xc
jl 0x429f33
dec eax
push eax
inc ebp
push ebp
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
call fcn.00403640
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 1
call fcn.00403e70
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429c52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x24]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov word [edi], 2
cmp dword [esi - 0xc], ebx
jle 0x429e8d
push 0x2c
push esi
call fcn.004ac9c0
add esp, 8
cmp eax, ebx
je 0x429e8d
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x429e8d
push esi
push ebx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
call fcn.00403640
mov eax, dword [eax]
push eax
call fcn.004ad8be
add esp, 4
lea ecx, [esp + 0xc]
mov byte [edi + 4], al
call fcn.00403b90
inc esi
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.00403490
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 2
call fcn.00403e70
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.00403b90
mov esi, dword [esp + 0x24]
cmp dword [esi - 0xc], ebx
jle 0x429e8d
push 0x2c
push esi
call fcn.004ac9c0
add esp, 8
cmp eax, ebx
je 0x429e8d
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x429e8d
push esi
push ebx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
call fcn.00403640
mov eax, dword [eax]
push eax
call fcn.004ad8be
add esp, 4
lea ecx, [esp + 0x10]
mov byte [edi + 5], al
call fcn.00403b90
inc esi
push esi
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
call fcn.00403490
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.00403e70
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.00403b90
mov esi, dword [esp + 0x24]
cmp dword [esi - 0xc], ebx
jle 0x429e8d
push 0x2c
push esi
call fcn.004ac9c0
add esp, 8
cmp eax, ebx
je 0x429e8d
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x429e8d
push esi
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.00403640
mov eax, dword [eax]
push eax
call fcn.004ad8be
add esp, 4
lea ecx, [esp + 0x10]
mov byte [edi + 6], al
call fcn.00403b90
inc esi
push esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403490
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 4
call fcn.00403e70
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.00403b90
mov esi, dword [esp + 0x24]
cmp dword [esi - 0xc], ebx
jle 0x429e8d
push 0x2c
push esi
call fcn.004ac9c0
add esp, 8
cmp eax, ebx
je 0x429e8d
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x429e8d
push esi
push ebx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
call fcn.00403640
mov eax, dword [eax]
push eax
call fcn.004ad8be
add esp, 4
lea ecx, [esp + 0x10]
mov byte [edi + 7], al
call fcn.00403b90
inc esi
push esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
call fcn.00403490
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 5
call fcn.00403e70
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.00403b90
mov esi, dword [esp + 0x24]
cmp dword [esi - 0xc], ebx
jle 0x429e8d
push 0x2c
push esi
call fcn.004ac9c0
add esp, 8
cmp eax, ebx
je 0x429e8d
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x429eaa
lea ecx, [esp + 0x24]
call fcn.00403b90
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push esi
push ebx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
call fcn.00403640
mov eax, dword [eax]
push eax
call fcn.004ad8be
movzx dx, al
add esp, 4
lea ecx, [esp + 0x10]
mov word [edi + 2], dx
call fcn.00403b90
inc esi
push esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
call fcn.00403490
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 6
call fcn.00403e70
lea ecx, [esp + 0xc]
call fcn.00403b90
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004ad8be
movzx dx, al
add esp, 4
lea ecx, [esp + 0x24]
shl edx, 8
add word [edi + 2], dx
call fcn.00403b90
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429f55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret