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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x101013c1
mov edi, eax
lea edx, [edi + 2]
jmp 0x101013b0
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x101013b0
sub edi, edx
sar edi, 1
jmp 0x101013c3
xor edi, edi
mov edx, dword [ebp + 0x18]
lea eax, [ecx - 1]
mov dword [edx], 0
cmp eax, 0x24
ja case.0x101013df.6
movzx eax, byte [eax + 0x10101cb4]
jmp dword [eax*4 + 0x10101c70]
mov edx, dword [ebp + 8]
cmp edx, 0x48
jae 0x1010141f
push ecx
mov eax, esp
push ecx
push edx
push str._FillFileInformation:_callers_buffer_is_too_small:__d__FileNameInformationClass_d_
push eax
call fcn.10044f30
add esp, 0x10
call fcn.100fd630
add esp, 4
mov eax, 0xc0000004
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x48
push 0
push esi
call fcn.101078f0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi], 0
mov eax, dword [ecx + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x38], eax
test byte [ecx], 1
jne 0x1010148e
or eax, 0x10
mov dword [esi + 0x38], eax
lea eax, [edi + edi]
mov dword [esi + 0x3c], eax
add esi, 0x40
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push edi
push eax
push esi
push 0x48
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.10101280
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
cmp edx, 0x48
jb 0x101013ee
push 0x48
push 0
push esi
call fcn.101078f0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi], 0
mov eax, dword [ecx + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x38], eax
test byte [ecx], 1
jne 0x1010153c
or eax, 0x10
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0x3c]
mov dword [esi + 0x40], eax
lea eax, [edi + edi]
mov dword [esi + 0x3c], eax
add esi, 0x44
jmp 0x10101497
mov edx, dword [ebp + 8]
cmp edx, 0x60
jb 0x101013ee
push 0x60
push 0
push esi
call fcn.101078f0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi], 0
mov eax, dword [ecx + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x38], eax
test byte [ecx], 1
jne 0x101015cb
or eax, 0x10
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0x3c]
lea edx, [ecx + 0x48]
mov ecx, edx
mov dword [esi + 0x40], eax
lea eax, [ecx + 2]
mov dword [ebp - 0x1c], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101015e0
sub ecx, dword [ebp - 0x1c]
lea eax, [edi + edi]
push dword [ebp + 0x18]
and cl, 0xfe
mov byte [esi + 0x44], cl
movdqu xmm0, xmmword [edx]
push edi
movdqu xmmword [esi + 0x46], xmm0
movq xmm0, qword [edx + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0xc]
movq qword [esi + 0x56], xmm0
add esi, 0x5e
push eax
push esi
push 0x60
jmp 0x101014a2
mov edx, dword [ebp + 8]
cmp edx, 0x70
jb 0x101013ee
push 0x70
push 0
push esi
call fcn.101078f0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi], 0
mov eax, dword [ecx + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x38], eax
test byte [ecx], 1
jne 0x1010169b
or eax, 0x10
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0x3c]
lea edx, [ecx + 0x48]
mov ecx, edx
mov dword [esi + 0x40], eax
lea eax, [ecx + 2]
mov dword [ebp - 0x1c], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101016b0
sub ecx, dword [ebp - 0x1c]
lea eax, [edi + edi]
push dword [ebp + 0x18]
and cl, 0xfe
mov byte [esi + 0x44], cl
movdqu xmm0, xmmword [edx]
push edi
movdqu xmmword [esi + 0x46], xmm0
movq xmm0, qword [edx + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0xc]
movq qword [esi + 0x56], xmm0
add esi, 0x68
push eax
push esi
push 0x70
jmp 0x101014a2
cmp dword [ebp + 8], 8
jae 0x1010172a
mov edx, dword [ebp + 8]
push ecx
mov eax, esp
push ecx
push edx
push str._FillFileInformation:_callers_buffer_is_too_small:__d__FileNameInformationClass_d_
push eax
call fcn.10044f30
add esp, 0x10
call fcn.100fd630
add esp, 4
mov eax, 0xc0000004
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edx
mov edx, dword [ebp + 8]
lea eax, [edi + edi]
push edi
mov dword [esi], eax
add esi, 4
mov eax, dword [ebp + 0xc]
push eax
push esi
push 8
push edx
jmp 0x101014a8
mov edi, dword [ebp + 8]
cmp edi, 0x68
jae 0x10101756
push ecx
mov eax, esp
push ecx
push edi
jmp 0x101013f3
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10101af3
mov edi, dword [ebp + 0x10]
mov ecx, 9
push edx
push eax
mov eax, dword [ebp + 0xc]
lea edx, [esi + 0x60]
push edi
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffa0
push eax
call fcn.10101370
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov edx, esi
mov ecx, 4
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10101370
add esp, 0x14
lea edx, [esi + 0x28]
mov ecx, 5
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10101370
add esp, 0x14
lea edx, [esi + 0x50]
mov ecx, 0xe
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10101370
add esp, 0x14
lea edx, [esi + 0x4c]
mov ecx, 8
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10101370
add esp, 0x14
lea edx, [esi + 0x48]
mov ecx, 7
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10101370
add esp, 0x14
lea edx, [esi + 0x58]
mov ecx, 0x10
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10101370
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
movq qword [esi + 0x40], xmm0
add esp, 0x14
mov dword [esi + 0x5c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp edi, 0x28
jb 0x1010174c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [esi], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 4], eax
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x20], eax
test byte [ecx], 1
jne 0x1010188c
or eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edx], 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp edi, 0x38
jb 0x1010174c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [esi], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 4], eax
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x30], eax
test byte [ecx], 1
jne 0x101018f4
or eax, 0x10
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 0x400
mov dword [esi + 0x24], 0
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x2c], eax
xor eax, eax
mov dword [edx], 0x38
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp edi, 0x18
jb 0x1010174c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x30]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [edx], 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp edi, 4
jb 0x1010174c
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [esi], eax
xor eax, eax
mov dword [edx], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp edi, 8
jb 0x1010174c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [esi], ecx
test byte [eax], 1
jne 0x101019be
or ecx, 0x10
mov dword [esi], ecx
mov dword [esi + 4], 0
xor eax, eax
mov dword [edx], 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp edi, 0x20
jb 0x1010174c
xorps xmm0, xmm0
xor eax, eax
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
mov dword [edx], 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp edi, 0x10
jb 0x1010174c
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
mov eax, dword [ecx + 0x30]
mov dword [esi], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 4], eax
xor eax, eax
mov dword [edx], 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp edi, 8
jb 0x1010174c
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10101af3
mov ecx, eax
call fcn.100d7a80
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 4], edx
mov dword [eax], 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp edi, 4
jb 0x1010174c
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10101af3
mov eax, dword [eax + 0x110]
mov dword [esi], eax
xor eax, eax
mov dword [edx], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp edi, 4
jb 0x1010174c
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10101af3
mov eax, dword [eax + 0x114]
mov dword [esi], eax
xor eax, eax
mov dword [edx], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
push edi
push ecx
lea eax, [ebp + 0xc]
push str._FillFileInformation:_unsupported_FileInformationClass:__d__Length_d
push eax
call fcn.10044f30
add esp, 0x10
mov dword [ebp - 4], 0
mov ecx, str.VirtUtils
mov edx, dword [ebp + 0xc]
call fcn.10043b30
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10101b3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
test byte [eax + 0x60], 1
jne 0x10101c59
mov edi, dword [ebp - 0x14]
push ecx
mov eax, esp
cmp edi, 0x37
jne 0x10101b82
push str._FillFileInformation_FileRemoteProtocolInformation__on_an_ImaginaryDir._Returning_STATUS_INVALID_PARAMETER.
push eax
call fcn.10044f30
add esp, 8
call fcn.100fd630
add esp, 4
mov eax, 0xc000000d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str._FillFileInformation:_unsupported_FileInformationClass_on_an_ImaginaryDir._Attempting_FillFileInformation_on_actual_directory.
push eax
call fcn.10044f30
add esp, 8
call fcn.100fd630
add esp, 4
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push dword [0x101728cc]
push eax
push ecx
mov dword [ebp - 0x1c], esp
push ecx
mov dword [ebp + 0xc], esp
call fcn.10022690
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x10101bd4
push 0x80004005
call fcn.100223c0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp + 0xc]
add eax, 0x10
mov dword [ecx], eax
call fcn.10024960
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 4], 0xffffffff
call fcn.1003d710
add esp, 4
mov edx, 7
mov ecx, 0x120089
call fcn.10032f50
add esp, 0xc
mov dword [ebp + 0xc], eax
test eax, eax
je 0x10101c59
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
push esi
push ecx
push eax
movq qword [ebp - 0x18], xmm0
call dword [0x101728e4]
mov esi, eax
test esi, esi
js 0x10101c3d
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
push dword [ebp + 0xc]
call dword [0x1017342c]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xc0000002
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret