Function at 0x41b3d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4304f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b0
push edi
mov al, byte [ebp - 0x218]
mov byte [ebp - 0x1a4], al
push 0
lea ecx, [ebp - 0x1a4]
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 dword [ebp - 4], 0
mov cl, byte [ebp - 0x21c]
mov byte [ebp - 0x1b4], cl
push 0
lea ecx, [ebp - 0x1b4]
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 byte [ebp - 4], 1
mov dl, byte [ebp - 0x220]
mov byte [ebp - 0x1c], dl
push 0
lea ecx, [ebp - 0x1c]
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 byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.0040c370
mov byte [ebp - 4], 5
mov dword [ebp - 0x54], 0x4328d4
push 0
lea ecx, [ebp - 0x54]
call fcn.00404800
mov byte [ebp - 4], 6
lea eax, [ebp - 0x194]
push eax
push str.scripts
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x41b8f7
mov edi, 0x4408d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
push ecx
push 0x4408d0
lea ecx, [ebp - 0x1b4]
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 dword [ebp - 0x23c], eax
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
push ecx
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x1c]
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 dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x244], edx
cmp dword [ebp - 0x244], 4
jbe 0x41b8d4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x248], eax
mov edi, str..vbs
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
push ecx
push str..vbs
push 4
mov ecx, dword [ebp - 0x248]
sub ecx, 4
push ecx
lea ecx, [ebp - 0x1c]
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]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x41b5b0
mov edi, str.cscript___nologo
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
push ecx
push str.cscript___nologo
lea ecx, [ebp - 0x1b4]
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_char_const___unsigned_int_]
mov edi, str.scripts_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
push ecx
push str.scripts_
lea ecx, [ebp - 0x1b4]
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_char_const___unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x1b4]
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_]
jmp 0x41b640
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x250], edx
mov edi, str..exe
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
push ecx
push str..exe
push 4
mov eax, dword [ebp - 0x250]
sub eax, 4
push eax
lea ecx, [ebp - 0x1c]
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]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
jne 0x41b640
push str.exe_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
mov edi, str.scripts_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
push ecx
push str.scripts_
lea ecx, [ebp - 0x1b4]
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_char_const___unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1b4]
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 ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x258], ecx
cmp dword [ebp - 0x258], 1
jbe 0x41b8d4
cmp dword [ebp - 0x1b0], 0
jne 0x41b670
mov edx, 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]
mov dword [ebp - 0x29c], edx
jmp 0x41b67c
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x29c]
push ecx
push str.runs:__s_n
call sub.SysInfo.dll_void___cdecl_AddLog_char_const__
add esp, 8
lea edx, [ebp - 0x1d8]
mov dword [ebp - 0x264], edx
mov al, byte [ebp - 0x25c]
mov ecx, dword [ebp - 0x264]
mov byte [ecx], al
push 0
mov ecx, dword [ebp - 0x264]
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 byte [ebp - 4], 7
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x1c8]
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::allocator_char__const__]
mov byte [ebp - 4], 8
mov byte [ebp - 0x1b7], 0
mov edi, str.w9xpopen.exe
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
push ecx
push str.w9xpopen.exe
lea ecx, [ebp - 0x1c8]
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 dword [ebp - 0x268], eax
lea ecx, [ebp - 0x210]
call fcn.0041bc50
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1b0], 0
jne 0x41b728
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]
mov dword [ebp - 0x2a0], eax
jmp 0x41b734
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x2a0], ecx
push 0
push 0
mov edx, dword [ebp - 0x2a0]
push edx
lea ecx, [ebp - 0x210]
call fcn.00401000
and eax, 0xff
test eax, eax
jne 0x41b765
push str.StartProcess_failed
call sub.SysInfo.dll_void___cdecl_AddLog_char_const__
add esp, 4
jmp 0x41b8c5
push 0x4e20
lea ecx, [ebp - 0x210]
call fcn.00401060
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x210]
call fcn.0041bc90
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x1a4]
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 dword [ebp - 0x26c], eax
mov byte [ebp - 4], 9
push 1
lea ecx, [ebp - 0x230]
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 0x48
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x238], 0
je 0x41b803
mov ecx, dword [ebp - 0x238]
call fcn.004291c0
mov dword [ebp - 0x2a8], eax
jmp 0x41b80d
mov dword [ebp - 0x2a8], 0
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x234], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x1a0], 0
jne 0x41b840
mov ecx, 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]
mov dword [ebp - 0x2ac], ecx
jmp 0x41b84c
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x2ac], edx
mov eax, dword [ebp - 0x2ac]
push eax
push str.From_Script:__s
call sub.SysInfo.dll_void___cdecl_AddLog_char_const__
add esp, 8
cmp dword [ebp - 0x1a0], 0
jne 0x41b877
mov ecx, 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]
mov dword [ebp - 0x2b0], ecx
jmp 0x41b883
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x2b0], edx
push 0
push 0
mov eax, dword [ebp - 0x2b0]
push eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x214]
call dword [edx + 8]
test eax, eax
jne 0x41b8b2
push str.Failed_to_parse_XML
call sub.SysInfo.dll_void___cdecl_AddLog_char_const__
add esp, 4
jmp 0x41b8c5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call fcn.0041b240
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x210]
call fcn.00402ab0
lea edx, [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41b49e
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], 0x4328d4
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x48]
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x280]
mov dword [eax], 0x4328d8
mov ecx, dword [ebp - 0x280]
cmp dword [ecx + 4], 0
je 0x41b98f
mov edx, dword [ebp - 0x280]
mov eax, dword [edx + 8]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x278], edx
jmp 0x41b956
mov eax, dword [ebp - 0x278]
add eax, 0x20
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x27c]
sub edx, 1
mov dword [ebp - 0x27c], edx
test ecx, ecx
je 0x41b971
jmp 0x41b947
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x274]
push edx
call fcn.0042da90
add esp, 4
mov eax, dword [ebp - 0x280]
mov dword [eax], 0x4328ac
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov ecx, 1
test ecx, ecx
je 0x41b9c2
cmp dword [ebp - 0x18], 0
jne 0x41b9c4
jmp 0x41ba28
mov edx, dword [ebp - 0x18]
xor eax, eax
mov al, byte [edx - 1]
test eax, eax
je 0x41b9e0
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dl, byte [ecx - 1]
cmp edx, 0xff
jne 0x41ba09
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x284]
push edx
call fcn.0042da90
add esp, 4
jmp 0x41ba28
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
mov dl, byte [ecx]
sub dl, 1
mov eax, dword [ebp - 0x2b4]
mov byte [eax], dl
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0
mov ecx, 1
test ecx, ecx
je 0x41ba53
cmp dword [ebp - 0x1b0], 0
jne 0x41ba55
jmp 0x41bac8
mov edx, dword [ebp - 0x1b0]
xor eax, eax
mov al, byte [edx - 1]
test eax, eax
je 0x41ba77
mov ecx, dword [ebp - 0x1b0]
xor edx, edx
mov dl, byte [ecx - 1]
cmp edx, 0xff
jne 0x41baa6
mov eax, dword [ebp - 0x1a8]
add eax, 2
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x1b0]
sub ecx, 1
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x28c]
push edx
call fcn.0042da90
add esp, 4
jmp 0x41bac8
mov eax, dword [ebp - 0x1b0]
sub eax, 1
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
mov dl, byte [ecx]
sub dl, 1
mov eax, dword [ebp - 0x2b8]
mov byte [eax], dl
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, 1
test ecx, ecx
je 0x41baff
cmp dword [ebp - 0x1a0], 0
jne 0x41bb01
jmp 0x41bb74
mov edx, dword [ebp - 0x1a0]
xor eax, eax
mov al, byte [edx - 1]
test eax, eax
je 0x41bb23
mov ecx, dword [ebp - 0x1a0]
xor edx, edx
mov dl, byte [ecx - 1]
cmp edx, 0xff
jne 0x41bb52
mov eax, dword [ebp - 0x198]
add eax, 2
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x1a0]
sub ecx, 1
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x294]
push edx
call fcn.0042da90
add esp, 4
jmp 0x41bb74
mov eax, dword [ebp - 0x1a0]
sub eax, 1
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
mov dl, byte [ecx]
sub dl, 1
mov eax, dword [ebp - 0x2bc]
mov byte [eax], dl
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret