Function at 0x1000bf70
Capabilities:
Access peb ldr_data
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1000f7cb
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1a0]
xor esi, esi
push 0x100113cb
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str.windir
push esi
mov dword [esp + 0x1a0], 1
mov edi, dword [sym.imp.MSVCR80.dll_getenv_s]
lea eax, [esp + 0x1c]
push esi
push eax
mov dword [esp + 0x24], esi
call edi
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.MSVCR80.dll_malloc]
mov edx, dword [esp + 0x28]
push str.windir
mov esi, eax
push edx
lea eax, [esp + 0x30]
push esi
push eax
call edi
mov edx, dword [0x1001659c]
mov eax, dword [edx + 0xc]
add esp, 0x24
mov ecx, 0x1001659c
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0x19c], 2
call fcn.1000c260
lea edx, [esp + 0x1c]
push str.Microsoft.NetFramework_
push edx
mov ecx, eax
mov byte [esp + 0x1a0], 3
call fcn.1000c660
add esp, 8
mov byte [esp + 0x198], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c07f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push str.v_._.
push ecx
lea ecx, [esp + 0x24]
call fcn.1000c660
add esp, 8
lea edx, [esp + 0x4c]
mov byte [esp + 0x198], 6
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000c128
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x198], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x20], 1
lea edx, [eax + 0xc]
or ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000c0f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x198], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c118
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x198], 1
lea eax, [ebx - 0x10]
jmp 0x1000c20a
test byte [esp + 0x4c], 0x10
je 0x1000c13e
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x34]
call dword [0x1001114c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x4c]
push edx
push edi
call ebx
test eax, eax
je 0x1000c181
test byte [esp + 0x4c], 0x10
je 0x1000c175
push 0x10011b64
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 0x4c]
push ecx
push edi
call ebx
test eax, eax
jne 0x1000c150
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x1000c196
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
lea edx, [esp + 0x30]
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x198], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c1d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x198], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c1fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x198], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x198], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, ebp
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.1000e1de
add esp, 0x188
ret