Function at 0x413d60
Capabilities:
Access peb ldr_data
Enumerate files on windows
Enumerate files recursively
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x41eb9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
lea ebx, [esi + 0xc]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x23c], 1
call fcn.004146d0
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
lea ebp, [esi + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.004146d0
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
lea ecx, [esi + 0x2c]
push eax
push edx
call fcn.004146d0
mov al, byte [esp + 0x23c]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x23c]
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push 0
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x234], 2
test eax, eax
jbe 0x413e4a
lea edi, [eax - 1]
cmp eax, edi
jb 0x413e26
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x413e26
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + edi]
jmp 0x413e2b
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp byte [eax], 0x5c
je 0x413e4a
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x18]
mov eax, dword [edx]
push eax
push 0
push 0x436a88
call dword [sym.imp.MSVCP60.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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebp
call fcn.00414540
mov dl, byte [esp + 0x24c]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x24c]
mov ecx, dword [eax]
push ecx
push 0
push edx
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edi, 0x433830
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x234], 3
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x30]
not ecx
dec ecx
push ecx
push 0x433830
push eax
push 0
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_unsigned_int__unsigned_int__char_const___unsigned_int_const]
test eax, eax
je 0x413ee8
mov edi, 0x42526c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x34]
push 0x42526c
push ecx
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_unsigned_int__unsigned_int__char_const___unsigned_int_const]
test eax, eax
jne 0x413f07
mov edi, 0x436a54
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x436a54
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov dl, byte [esp + 0x17]
push 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x433830
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x433830
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x74]
push ecx
push edx
mov byte [esp + 0x240], 4
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0xf0]
mov dword [esp + 0xec], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x74]
mov byte [esp + 0x234], 5
test eax, eax
jne 0x413f89
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0xec]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
test eax, eax
mov dword [esp + 0x38], eax
je 0x41439c
cmp eax, 0xffffffff
je 0x41439c
mov ecx, ebp
call fcn.004130a0
mov ecx, ebx
mov edi, eax
call fcn.004130a0
add edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
je 0x414391
cmp byte [esp + 0x118], 0x2e
je 0x41435d
mov edx, dword [esp + 0xec]
mov ecx, ebp
and edx, 0x10
cmp dl, 0x10
jne 0x414283
call fcn.004130a0
mov ecx, ebx
mov edi, eax
call fcn.004130a0
add edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
je 0x41407e
lea eax, [esp + 0x118]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0xa4]
push ecx
push edx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
push 0x436a88
push eax
lea eax, [esp + 0x94]
mov byte [esp + 0x248], 6
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x18
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x23c], 7
call fcn.00414540
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x238], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x238], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esi + 8]
test eax, eax
je 0x41435d
lea ecx, [esp + 0xb0]
call fcn.004137f0
mov eax, dword [esi + 8]
mov cl, byte [esp + 0x28]
sub esp, 0x10
mov dword [esp + 0xc8], eax
mov edi, esp
mov dword [esp + 0x20], esp
push 0
mov byte [esp + 0x248], 8
mov byte [edi], cl
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x38]
mov eax, dword [edx]
push eax
push 0
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
sub esp, 0x10
lea eax, [esp + 0x138]
mov edx, esp
mov dword [esp + 0x8c], esp
lea ecx, [esp + 0x38]
push eax
push ecx
push edx
mov byte [esp + 0x260], 9
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
lea ecx, [esp + 0xd0]
mov byte [esp + 0x254], 8
call fcn.00413d60
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xb0]
push edx
call fcn.00403420
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
cmp ecx, eax
mov byte [esp + 0x234], 0xa
mov dword [esp + 0x10], eax
je 0x414177
mov ecx, ebp
call fcn.004130a0
mov ecx, ebx
mov edi, eax
call fcn.004130a0
add edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
je 0x414177
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push edi
push eax
mov ecx, ebp
call fcn.00414540
mov eax, dword [esp + 0x54]
add edi, 0x10
cmp eax, edi
mov dword [esp + 0x10], edi
jne 0x41413f
lea eax, [esp + 0x3c]
lea ecx, [esp + 0xb0]
push eax
call fcn.004028b0
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp eax, edi
mov byte [esp + 0x234], 0xb
mov dword [esp + 0x10], edi
je 0x4141e4
mov ecx, ebp
call fcn.004130a0
mov ecx, ebx
mov edi, eax
call fcn.004130a0
add edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
je 0x4141dc
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 8]
push edi
push 1
push eax
mov ecx, ebx
call fcn.00414850
mov eax, dword [esp + 0x44]
add edi, 0x10
cmp eax, edi
mov dword [esp + 0x10], edi
jne 0x4141a0
jmp 0x4141e0
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
cmp edi, eax
mov byte [esp + 0x234], 0xa
mov dword [esp + 0x10], eax
je 0x41420c
push 0
mov ecx, edi
call fcn.004134d0
mov eax, dword [esp + 0x10]
add edi, 0x10
cmp edi, eax
jne 0x4141f4
mov edi, dword [esp + 0x40]
push edi
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
add esp, 4
cmp edi, eax
mov byte [esp + 0x234], 8
mov dword [esp + 0x10], eax
je 0x414253
push 0
mov ecx, edi
call fcn.004134d0
mov eax, dword [esp + 0x10]
add edi, 0x10
cmp edi, eax
jne 0x41423b
mov edi, dword [esp + 0x50]
push edi
call sub.MFC42.DLL_operatordelete
xor eax, eax
add esp, 4
lea ecx, [esp + 0xb0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x234], 5
call fcn.00413860
jmp 0x41435d
call fcn.004130a0
mov ecx, ebx
mov edi, eax
call fcn.004130a0
add edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
je 0x41435d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x414313
mov dl, byte [esp + 0x17]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0
mov dword [esp + 0x24], ecx
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [esp + 0x128]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x24]
push eax
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
sub esp, 0x10
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x258], 0xc
call dword [sym.imp.MSVCP60.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 eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x254], 5
call dword [eax]
test eax, eax
je 0x41435d
lea ecx, [esp + 0x118]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x94]
push edx
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov ecx, dword [ebx + 8]
push eax
push 1
push ecx
mov ecx, ebx
mov byte [esp + 0x240], 0xd
call fcn.00414850
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x238], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0xec]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x414391
mov ecx, ebp
call fcn.004130a0
mov ecx, ebx
mov edi, eax
call fcn.004130a0
add edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
jne 0x413fca
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x4143bf
mov eax, dword [esi + 0x34]
lea ecx, [esi + 0x2c]
push edi
push 1
push eax
call fcn.00414850
mov eax, dword [esi + 0x24]
add edi, 0x10
cmp eax, edi
jne 0x4143a6
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x4143e2
mov eax, dword [esi + 0x34]
lea ecx, [esi + 0x2c]
push edi
push 1
push eax
call fcn.00414850
mov eax, dword [esi + 0x14]
add edi, 0x10
cmp eax, edi
jne 0x4143c9
mov eax, dword [ebp + 4]
xor esi, esi
cmp eax, esi
jne 0x4143ef
xor ebp, ebp
jmp 0x4143f7
mov ebp, dword [ebp + 8]
sub ebp, eax
sar ebp, 4
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x414402
xor ebx, ebx
jmp 0x41440a
mov ebx, dword [ebx + 8]
sub ebx, eax
sar ebx, 4
push 1
lea ecx, [esp + 0x74]
lea edi, [ebx + ebp]
mov byte [esp + 0x238], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x60]
cmp ecx, esi
je 0x414445
mov al, byte [ecx - 1]
test al, al
je 0x41443b
cmp al, 0xff
je 0x41443b
dec al
mov byte [ecx - 1], al
jmp 0x414445
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], esi
cmp ecx, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
je 0x414475
mov al, byte [ecx - 1]
test al, al
je 0x41446b
cmp al, 0xff
je 0x41446b
dec al
mov byte [ecx - 1], al
jmp 0x414475
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], esi
cmp ecx, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
je 0x4144a5
mov al, byte [ecx - 1]
test al, al
je 0x41449b
cmp al, 0xff
je 0x41449b
dec al
mov byte [ecx - 1], al
jmp 0x4144a5
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x240]
mov dword [esp + 0x1c], esi
cmp ecx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
je 0x4144d8
mov al, byte [ecx - 1]
test al, al
je 0x4144ce
cmp al, 0xff
je 0x4144ce
dec al
mov byte [ecx - 1], al
jmp 0x4144d8
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x250]
mov dword [esp + 0x240], esi
cmp ecx, esi
mov dword [esp + 0x244], esi
mov dword [esp + 0x248], esi
je 0x414514
mov al, byte [ecx - 1]
test al, al
je 0x41450a
cmp al, 0xff
je 0x41450a
dec al
mov byte [ecx - 1], al
jmp 0x414514
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x22c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x228
ret 0x20