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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
nop
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x7832b0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ecx], esi
lea eax, [ecx + 4]
mov dword [ebp - 0x20], eax
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0xf
mov byte [ecx + 8], 0
mov dword [ecx + 4], 0x920fc0
lea eax, [ecx + 0x30]
mov dword [ebp - 0x2c], eax
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ebp - 0x30], ecx
mov dword [ecx + 0x38], 0
mov edx, dword [edi + 0xc]
cmp byte [esi + 0xc], 0
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
jne 0x781165
nop
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
mov edi, edx
call dword [0xa0535c]
mov dword [ebp - 0x10], 0
mov dword [esp], edi
mov ecx, esi
call ebx
sub esp, 4
mov edx, eax
nop
mov edi, dword [ebp - 0x30]
lea esi, [edi + 8]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
lea ebx, [eax + edx]
mov dword [esp], ebx
call fcn.008d08c0
mov ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x7811ac
nop
mov dword [ebp - 0x10], 0
movzx eax, byte [ebp - 0x34]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], ecx
mov ecx, esi
call fcn.0066cb40
sub esp, 0xc
jmp 0x781413
cmp eax, 0x10
jb 0x7811b7
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 8]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x18], ecx
mov eax, esi
sub eax, ebx
nop
mov dword [ebp - 0x20], ecx
jae 0x7812d0
test ecx, ecx
je 0x78140b
xor edi, edi
cmp dword [ebp - 0x20], 8
jb 0x78125a
cmp eax, 0x20
jb 0x78125a
xor edi, edi
cmp dword [ebp - 0x20], 0x20
jb 0x781229
mov edi, dword [ebp - 0x20]
and edi, 0xffffffe0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
add eax, ecx
add eax, 0x10
xor edx, edx
nop dword [eax + eax]
nop
movups xmm0, xmmword [eax + edx - 0x10]
movups xmm1, xmmword [eax + edx]
movups xmmword [esi + edx], xmm0
movups xmmword [esi + edx + 0x10], xmm1
add edx, 0x20
cmp edi, edx
jne 0x781200
cmp dword [ebp - 0x20], edi
je 0x78140b
test byte [ebp - 0x20], 0x18
je 0x78125a
mov eax, edi
mov ecx, dword [ebp - 0x20]
mov edi, ecx
and edi, 0xfffffff8
nop word cs:[eax + eax]
nop
movsd xmm0, qword [ebx + eax]
movsd qword [esi + eax], xmm0
add eax, 8
cmp edi, eax
jne 0x781240
cmp ecx, edi
je 0x78140b
mov eax, dword [ebp - 0x20]
mov edx, edi
and eax, 3
je 0x78127c
mov edx, edi
nop word cs:[eax + eax]
nop
movzx ecx, byte [ebx + edx]
mov byte [esi + edx], cl
inc edx
dec eax
jne 0x781270
sub edi, dword [ebp - 0x20]
cmp edi, 0xfffffffc
ja 0x78140b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
add eax, ecx
add eax, 3
nop word cs:[eax + eax]
nop
movzx ecx, byte [eax + edx - 3]
mov byte [esi + edx], cl
movzx ecx, byte [eax + edx - 2]
mov byte [esi + edx + 1], cl
movzx ecx, byte [eax + edx - 1]
mov byte [esi + edx + 2], cl
movzx ecx, byte [eax + edx]
mov byte [esi + edx + 3], cl
add edx, 4
cmp dword [ebp - 0x20], edx
jne 0x7812a0
jmp 0x78140b
test ecx, ecx
je 0x78140b
mov eax, dword [ebp - 0x20]
mov edx, eax
cmp eax, 4
jb 0x781391
sub ebx, esi
mov edx, dword [ebp - 0x20]
cmp ebx, 0x10
jb 0x781391
xor ecx, ecx
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x781341
mov ecx, edx
and ecx, 0xfffffff0
lea eax, [edx + esi]
add eax, 0xfffffff0
mov edi, dword [ebp - 0x28]
add edx, edi
mov edi, dword [ebp - 0x24]
add edx, edi
add edx, 0xfffffff0
mov ebx, ecx
neg ebx
xor edi, edi
nop dword [eax]
nop
movups xmm0, xmmword [edx + edi]
movups xmmword [eax + edi], xmm0
add edi, 0xfffffff0
cmp ebx, edi
jne 0x781320
cmp dword [ebp - 0x20], ecx
je 0x78140b
mov edx, dword [ebp - 0x20]
test dl, 0xc
je 0x78138e
mov ebx, edx
and ebx, 0xfffffffc
mov eax, edx
and edx, 3
lea edi, [eax + esi]
add edi, 0xfffffffc
mov dword [ebp - 0x2c], edi
neg ecx
mov edi, dword [ebp - 0x28]
add eax, edi
mov edi, dword [ebp - 0x24]
lea eax, [edi + eax - 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ebx
mov eax, ebx
neg eax
mov ebx, dword [ebp - 0x2c]
nop
nop
mov edi, dword [ebp - 0x3c]
mov edi, dword [edi + ecx]
mov dword [ebx + ecx], edi
add ecx, 0xfffffffc
cmp eax, ecx
jne 0x781370
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x20], eax
jne 0x781391
jmp 0x78140b
and edx, 0xf
lea eax, [edx - 1]
mov dword [ebp - 0x2c], eax
mov eax, edx
and eax, 3
je 0x7813c8
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
add edi, ecx
dec edi
nop word [eax + eax]
lea ecx, [edx - 1]
movzx ebx, byte [edi + edx]
mov byte [esi + edx - 1], bl
dec eax
mov edx, ecx
jne 0x7813b0
cmp dword [ebp - 0x2c], 3
jae 0x7813d0
jmp 0x78140b
mov ecx, edx
cmp dword [ebp - 0x2c], 3
jb 0x78140b
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
add eax, edx
dec eax
mov edx, ecx
nop dword [eax + eax]
nop
movzx ebx, byte [eax + ecx]
mov byte [esi + ecx - 1], bl
movzx ebx, byte [eax + ecx - 1]
mov byte [esi + ecx - 2], bl
movzx ebx, byte [eax + ecx - 2]
mov byte [esi + ecx - 3], bl
add edx, 0xfffffffc
movzx ebx, byte [eax + ecx - 3]
mov byte [esi + ecx - 4], bl
mov ecx, edx
jne 0x7813e0
nop
mov eax, dword [ebp - 0x20]
mov byte [esi + eax], 0
nop
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x20], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 0x24], ecx
mov ecx, dword [edx]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret 8