Function at 0x10030f90
Capabilities:
Enumerate files on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090b68
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x1eec
call fcn.10055c30
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push eax
lea eax, [ebp - 0x222]
push eax
call fcn.10055aa0
xor eax, eax
mov word [ebp - 0x42c], ax
push 0x206
push eax
lea eax, [ebp - 0x42a]
push eax
call fcn.10055aa0
xor eax, eax
mov word [ebp - 0x83c], ax
push 0x206
push eax
lea eax, [ebp - 0x83a]
push eax
call fcn.10055aa0
mov dword [ebp - 0x1f00], 0xffffffff
mov dword [ebp - 0x1efc], 0
push 0x24c
push 0
lea eax, [ebp - 0x1ef8]
push eax
call fcn.10055aa0
xor eax, eax
mov word [ebp - 0x634], ax
push 0x206
push eax
lea eax, [ebp - 0x632]
push eax
call fcn.10055aa0
add esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
push 0x100e2400
push str._s.
lea eax, [ebp - 0x224]
push eax
call fcn.10004ed0
add esp, 0xc
lea eax, [ebp - 0x1efc]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1f00], eax
cmp eax, 0xffffffff
jne 0x10031163
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x100310ec
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10031148
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10031127
mov byte [esi + 0xffff], 0
push esi
push str.ListMbaeBinaryFiles
push 1
mov edx, 0x3cc
mov ecx, str...StandAloneSvcMisc.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1003113f
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [ebx + 0x1e]
jmp 0x1003145d
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea esp, [esp]
test byte [ebp - 0x1efc], 0x10
jne 0x10031377
xor edi, edi
mov esi, dword [ebp - 0x1ee0]
add edi, dword [ebp - 0x1edc]
adc esi, 0
lea eax, [ebp - 0x1cac]
push eax
lea eax, [ebp - 0x1ef8]
push eax
call ebx
lea eax, [ebp - 0x1c9c]
push eax
lea eax, [ebp - 0x1ee8]
push eax
call ebx
lea eax, [ebp - 0x1ed0]
push eax
push 0x100e2400
push 0x10086350
lea eax, [ebp - 0x42c]
push eax
call fcn.10004ed0
add esp, 0x10
lea edx, [ebp - 0x634]
lea ecx, [ebp - 0x42c]
call fcn.100070e0
lea eax, [ebp - 0x634]
push eax
movzx eax, word [ebp - 0x1c90]
push eax
movzx eax, word [ebp - 0x1c92]
push eax
movzx eax, word [ebp - 0x1c94]
push eax
movzx eax, word [ebp - 0x1c9c]
push eax
movzx eax, word [ebp - 0x1c9a]
push eax
movzx eax, word [ebp - 0x1c96]
push eax
movzx eax, word [ebp - 0x1ca0]
push eax
movzx eax, word [ebp - 0x1ca2]
push eax
movzx eax, word [ebp - 0x1ca4]
push eax
movzx eax, word [ebp - 0x1cac]
push eax
movzx eax, word [ebp - 0x1caa]
push eax
movzx eax, word [ebp - 0x1ca6]
push eax
push esi
push edi
lea ecx, [ebp - 0x83c]
call fcn.10030dc0
add esp, 8
push eax
lea eax, [ebp - 0x1ed0]
push eax
push str._s_t_s_t_02d__02d__04d__02d:_02d:_02d_t_02d__02d__04d__02d:_02d:_02d_t_s
lea eax, [ebp - 0x1c8c]
push eax
call fcn.10004f20
add esp, 0x44
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0x1f04], 0
push 0x1000a
call fcn.1005218a
mov edi, eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov esi, eax
test edi, edi
je 0x1003133f
test esi, esi
je 0x1003133f
lea eax, [ebp - 0x1c8c]
push eax
push 0x10086484
push 0xffff
push esi
call fcn.1005211a
add esp, 0x10
test eax, eax
jle 0x1003132a
xor eax, eax
mov word [esi + 0x1fffe], ax
push 0xffffffffffffffff
push esi
mov ecx, esi
call fcn.10001b80
inc eax
push eax
push edi
lea eax, [ebp - 0x1f04]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1003130d
push ebx
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push edi
push str.ListMbaeBinaryFiles
push 4
mov edx, 0x3e6
mov ecx, str...StandAloneSvcMisc.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10031357
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x10031351
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test edi, edi
je 0x10031364
push edi
call fcn.10052152
add esp, 4
test esi, esi
je 0x10031371
push esi
call fcn.10052152
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x1efc]
push eax
push dword [ebp - 0x1f00]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10031170
mov dword [ebp - 4], eax
call fcn.100313a8
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x1003145d
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret