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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x38
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
add eax, esi
sub eax, dword [esp + 0x5c]
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [esp + 0x28], eax
cmp eax, esi
jbe 0x43005b
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x30]
rol eax, 0xd
mov ebx, ecx
mov edi, eax
xor eax, 0x8b4c2420
and ecx, 0xc
ror eax, cl
and bl, 0xc
mov byte [esp + 3], bl
xor edi, 0x8b4c2410
mov dword [esp + 0x20], eax
rol eax, cl
mov dword [esp + 0x1c], edi
xor eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
lea ebp, [eax - 1]
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
jmp 0x42fe77
mov edi, eax
mov ecx, dword [esp + 4]
sub edi, ecx
mov ebx, edi
sar ebx, 2
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0xc]
je 0x42fec9
mov edi, ecx
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
mov dword [edi + ebx*4], esi
add eax, 4
mov dword [ecx + 4], eax
add esi, ebp
inc esi
cmp esi, dword [esp + 0x28]
jae 0x43005b
test edx, edx
je 0x42fe80
cmp byte [edx], 0x3f
je 0x42fe8b
movzx ecx, byte [esi]
mov ebx, dword [esp + 0x58]
cmp cl, byte [ebx]
jne 0x42fe6c
cmp dword [esp + 0x5c], 2
jb 0x42fe40
xor ecx, ecx
jmp 0x42febc
movzx edx, byte [esi + ecx + 1]
mov ebx, dword [esp + 0x58]
cmp dl, byte [ebx + ecx + 1]
mov edx, dword [esp + 0x60]
jne 0x42ff4b
inc ecx
cmp ebp, ecx
je 0x42fe40
test edx, edx
je 0x42fea0
cmp byte [edx + ecx + 1], 0x3f
jne 0x42fea0
jmp 0x42feb7
mov dword [esp + 8], edi
lea eax, [ebx + 1]
mov ecx, ebx
shr ecx, 1
add ecx, ebx
cmp ecx, eax
ja 0x42fedc
mov ecx, eax
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x42fef0
lea eax, [ecx*4]
mov dword [esp + 0xc], ecx
movzx ecx, byte [esp + 3]
mov byte [esp + 0x2c], cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0x441cac]
mov edi, eax
mov eax, dword [esp + 4]
test eax, eax
mov ecx, dword [esp + 0x4c]
je 0x430039
cmp edi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], edi
jae 0x42ff52
mov ecx, dword [esp + 8]
xchg esi, eax
rep movsb byte es:[edi], byte [esi]
xchg esi, eax
jmp 0x430021
add esi, ecx
jmp 0x42fe6c
mov edi, dword [esp + 8]
test edi, edi
je 0x430021
mov ebx, dword [esp + 4]
lea eax, [edi + ebx]
dec eax
mov ecx, edi
xor ecx, 0xfffffffe
mov edx, edi
and edx, 0xfffffffe
lea ecx, [ecx + edx*2]
mov edx, dword [esp + 0x14]
add ecx, edx
inc ecx
mov edx, ebx
not edx
add edx, dword [esp + 0x10]
mov ebx, edi
and ebx, 7
je 0x42ffc1
mov dword [esp + 0x10], edx
neg ebx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax + edi]
mov byte [ecx + edi], dl
dec edi
cmp ebx, edi
jne 0x42ffa0
add eax, edi
add ecx, edi
mov ebx, dword [esp + 8]
add ebx, edi
mov edx, dword [esp + 0x10]
cmp edx, 7
jae 0x42ffca
jmp 0x430021
mov ebx, dword [esp + 8]
cmp edx, 7
jb 0x430021
neg ebx
xor edx, edx
nop
nop
mov edi, ebx
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
movzx ebx, byte [eax + edx - 1]
mov byte [ecx + edx - 1], bl
movzx ebx, byte [eax + edx - 2]
mov byte [ecx + edx - 2], bl
movzx ebx, byte [eax + edx - 3]
mov byte [ecx + edx - 3], bl
movzx ebx, byte [eax + edx - 4]
mov byte [ecx + edx - 4], bl
movzx ebx, byte [eax + edx - 5]
mov byte [ecx + edx - 5], bl
movzx ebx, byte [eax + edx - 6]
mov byte [ecx + edx - 6], bl
movzx ebx, byte [eax + edx - 7]
mov byte [ecx + edx - 7], bl
mov ebx, edi
add edx, 0xfffffff8
cmp edi, edx
jne 0x42ffd0
push dword [esp + 4]
call fcn.0042ebb0
add esp, 4
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov dword [ecx], edi
lea edx, [edi + ebx*4]
mov eax, dword [esp + 0xc]
lea eax, [edi + eax*4]
mov dword [esp + 0xc], eax
mov dword [ecx + 8], eax
mov eax, edx
mov dword [esp + 4], edi
mov edx, dword [esp + 0x60]
jmp 0x42fe61
mov eax, dword [esp + 0x4c]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret