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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
add eax, esi
sub eax, dword [esp + 0x60]
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [esp + 0x2c], eax
cmp eax, esi
jbe 0x43095b
lea ecx, [esp + 0x30]
mov ebx, ecx
lea eax, [esp + 0x34]
rol eax, 0xd
mov ebp, eax
xor ebp, 0x8b4c2410
mov dword [esp + 0x14], ebp
and eax, 0x4ae39ed6
and ebp, 0xb51c2129
or ebp, eax
xor ebp, 0xa400420
and ecx, 0xc
ror ebp, cl
mov edi, dword [esp + 0x60]
mov eax, edi
xor eax, 0xfffffffe
mov edx, edi
and edx, 0xfffffffe
lea eax, [eax + edx*2]
inc eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x64]
and bl, 0xc
mov byte [esp + 3], bl
mov dword [esp + 0x20], ebp
rol ebp, cl
xor ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
lea ebp, [edi - 1]
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
jmp 0x430799
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 0x4307e9
mov edi, ecx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
mov dword [edi + ebx*4], esi
add eax, 4
mov dword [ecx + 4], eax
add esi, dword [esp + 0x28]
inc esi
cmp esi, dword [esp + 0x2c]
jae 0x43095b
test edx, edx
je 0x4307a2
cmp byte [edx], 0x3f
je 0x4307ad
movzx ecx, byte [esi]
mov ebx, dword [esp + 0x5c]
cmp cl, byte [ebx]
jne 0x43078e
cmp dword [esp + 0x60], 2
jb 0x430760
xor ecx, ecx
jmp 0x4307dc
movzx edx, byte [esi + ecx + 1]
mov ebx, dword [esp + 0x5c]
cmp dl, byte [ebx + ecx + 1]
mov edx, dword [esp + 0x64]
jne 0x43086b
inc ecx
cmp ebp, ecx
je 0x430760
test edx, edx
je 0x4307c0
cmp byte [edx + ecx + 1], 0x3f
jne 0x4307c0
jmp 0x4307d7
mov dword [esp + 8], edi
lea eax, [ebx + 1]
mov ecx, ebx
shr ecx, 1
add ecx, ebx
cmp ecx, eax
ja 0x4307fc
mov ecx, eax
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x430810
lea eax, [ecx*4]
mov dword [esp + 0xc], ecx
movzx ecx, byte [esp + 3]
mov byte [esp + 0x30], cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0x442fd0]
mov edi, eax
mov eax, dword [esp + 4]
test eax, eax
mov ecx, dword [esp + 0x50]
je 0x430939
cmp edi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edi
jae 0x430872
mov ecx, dword [esp + 8]
xchg esi, eax
rep movsb byte es:[edi], byte [esi]
xchg esi, eax
jmp 0x430921
add esi, ecx
jmp 0x43078e
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x430921
mov edx, dword [esp + 4]
lea eax, [edx + ebx]
dec eax
mov ecx, dword [esp + 0x18]
add ecx, ebx
dec ecx
not edx
add edx, dword [esp + 0x10]
and ebx, 7
je 0x4308c1
mov dword [esp + 0x10], edx
neg ebx
xor edi, edi
movzx edx, byte [eax + edi]
mov byte [ecx + edi], dl
dec edi
cmp ebx, edi
jne 0x4308a0
add eax, edi
add ecx, edi
mov ebx, dword [esp + 8]
add ebx, edi
mov edx, dword [esp + 0x10]
cmp edx, 7
jae 0x4308ca
jmp 0x430921
mov ebx, dword [esp + 8]
cmp edx, 7
jb 0x430921
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 0x4308d0
push dword [esp + 4]
call fcn.0042f7b0
add esp, 4
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
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 + 0x64]
jmp 0x430781
mov eax, dword [esp + 0x50]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret