Function at 0x100ada30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a22ba
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x344], edi
mov dword [ebp - 0x334], edi
mov dword [ebp - 0x334], edi
xor esi, esi
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x33c], esi
mov dword [ebp - 0x338], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x68], esi
xor eax, eax
mov dword [ebp - 0x58], esi
push 1
push 0x10335314
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov byte [ebp - 4], al
call fcn.1004f0f0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
push eax
mov edx, str..pipe_
lea ecx, [ebp - 0xb0]
call fcn.10073b70
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x100adb0a
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100adb00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ae152
push edx
push ecx
call fcn.1026505f
add esp, 8
cmp dword [ebp - 0x9c], 8
lea ecx, [ebp - 0x330]
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0xe0], eax
test ecx, ecx
je 0x100adb94
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x50]
mov edx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x50], vtable.std::_Func_impl_no_alloc_int____stdcall___void____bool__void__.0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xb4], 0
push ecx
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xb4], eax
test ecx, ecx
je 0x100adb9a
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x2c], 0
jmp 0x100adb9a
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x100adf5c
cmp eax, 0xffffffff
je 0x100adf5c
mov dword [ebp - 0x68], 0
mov ecx, str._w_8__w_4__w_4__w_4__w_12
mov dword [ebp - 0x58], 0
xor eax, eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov byte [ebp - 4], 5
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100adbe0
sub ecx, edx
sar ecx, 1
push ecx
push str._w_8__w_4__w_4__w_4__w_12
lea ecx, [ebp - 0x68]
call fcn.1004f0f0
mov ecx, str.MonitorPipeServer_x86_
mov byte [ebp - 4], 0xd
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100adc10
sub ecx, edx
mov eax, accept
mov edx, dword [ebp - 0x58]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x100ae157
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push edx
cmovae eax, dword [ebp - 0x68]
push eax
push ecx
push str.MonitorPipeServer_x86_
push ecx
push dword [ebp - 0x334]
lea ecx, [ebp - 0x98]
call fcn.1007d1a0
push ecx
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x360]
call fcn.1009cc60
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x100adcb1
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100adca7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ae15c
push edx
push ecx
call fcn.1026505f
add esp, 8
mov edi, str.MonitorPipeServer_x86_
mov dword [ebp - 0x88], 0
xor eax, eax
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x100adcd6
sub edi, ecx
sar edi, 1
mov dword [ebp - 0x334], edi
nop dword [eax + eax]
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov byte [ebp - 4], 0x10
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100add20
sub ecx, edx
lea eax, [ebp - 0x304]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1004f0f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
jb 0x100add57
mov ecx, dword [ebp - 0x28]
lea edx, [ecx + eax*2]
jmp 0x100add5d
lea edx, [ecx + eax*2]
lea ecx, [ebp - 0x28]
push ecx
push 0x10
lea eax, [ebp - 0x360]
push eax
push ecx
call fcn.100907a0
add esp, 0x10
test al, al
je 0x100ade9f
mov dword [ebp - 0x40], 0
xor eax, eax
mov byte [ebp - 4], 0x12
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
cmp eax, edi
jb 0x100ae161
sub eax, edi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x348], ecx
cmovae eax, dword [ebp - 0x28]
lea eax, [eax + edi*2]
mov dword [ebp - 0x34c], eax
cmp ecx, 7
ja 0x100adde9
lea esi, [ecx + ecx]
mov dword [ebp - 0x30], ecx
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10266cf0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x40], ax
jmp 0x100ade50
cmp ecx, 0x7ffffffe
ja 0x100ae157
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x100ade09
mov esi, accept
jmp 0x100ade14
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004f2f0
mov edi, eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x30], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x34c]
push edi
call fcn.10266cf0
add esp, 0xc
mov dword [ebp - 0x40], edi
xor eax, eax
mov word [esi + edi], ax
mov edi, dword [ebp - 0x334]
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x33c]
push eax
cmp esi, dword [ebp - 0x338]
je 0x100ade78
mov ecx, esi
call fcn.1004d890
add esi, 0x18
mov dword [ebp - 0x33c], esi
jmp 0x100ade8a
push esi
lea ecx, [ebp - 0x340]
call fcn.10057470
mov esi, dword [ebp - 0x33c]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x100ade9f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1004f350
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100adeb8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1004f350
lea eax, [ebp - 0x330]
push eax
push dword [ebp - 0xe0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100adcf0
mov edi, dword [ebp - 0x344]
lea ecx, [ebp - 0x360]
mov eax, dword [ebp - 0x340]
mov dword [edi], eax
mov eax, dword [ebp - 0x338]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
call fcn.1008eb30
mov ecx, dword [ebp - 0x350]
test ecx, ecx
je 0x100adf15
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x100adf15
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x100adf2a
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.1004f350
lea ecx, [ebp - 0xe0]
call fcn.100871d0
mov eax, dword [ebp - 0x9c]
cmp eax, 8
jb 0x100ae135
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.1004f350
jmp 0x100ae135
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [0x1038ab50], esi
je 0x100ae070
mov dword [0x1038ab50], esi
call fcn.10048fd0
mov edx, esi
lea ecx, [ebp - 0x98]
mov edi, eax
call fcn.100882e0
mov esi, eax
mov dword [ebp - 0x80], 0
mov ecx, str.MonitorPipeServer_x86_
mov dword [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100adfb3
sub ecx, edx
sar ecx, 1
push ecx
push str.MonitorPipeServer_x86_
lea ecx, [ebp - 0x80]
call fcn.1004f0f0
push esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.1004dac0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
push ecx
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10051dd0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push eax
push str.Files_lookup:_Cannot_iterate_over_pipes_mask__0_._Error:__1
push 3
mov ecx, edi
call fcn.10080640
lea ecx, [ebp - 0x1c]
call fcn.1004eed0
push fcn.1004a960
push 2
push 0x18
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 6
push eax
call fcn.10264c2b
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x100ae06a
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ae060
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ae166
push edx
push ecx
call fcn.1026505f
add esp, 8
mov edi, dword [ebp - 0x344]
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x340], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x100ae0d1
cmp eax, 0xffffffff
je 0x100ae0d1
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x100ae0f9
mov dword [ebp - 0x334], eax
lea edx, [ebp - 0x334]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x100ae0f9
mov edx, dword [ecx]
lea eax, [ebp - 0xd8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0xb4], 0
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x100ae135
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ae12b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ae16b
push edx
push ecx
call fcn.1026505f
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102649e4
mov esp, ebp
pop ebp
ret
call fcn.10275373
call fcn.10047e50
call fcn.10275373
call fcn.10050f10
call fcn.10275373
call fcn.10275373
int3