Function at 0x415eb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e8fc7
mov eax, dword fs:[0]
push eax
mov eax, 0x1278
call fcn.005b6f10
mov eax, dword [0x65d4e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x126c], ecx
mov dword [ebp - 0x1180], 0
mov dword [ebp - 0x158], 4
mov byte [ebp - 0x117c], 0
push 0xfff
push 0
lea eax, [ebp - 0x117b]
push eax
call fcn.005b5540
add esp, 0xc
push 1
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0x1180]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x629928
push 0x62993c
push reloc.WS2_32.dll_bind
call fcn.004fff40
add esp, 0x1c
cmp dword [ebp - 0x1180], 0
jne 0x415fc4
mov dword [ebp - 0x1180], 3
mov dword [ebp - 0x158], 4
push 1
mov ecx, dword [ebp - 0x158]
push ecx
lea edx, [ebp - 0x1180]
push edx
push 4
push str.CrashDumpEnabled
push 0x629980
push reloc.WS2_32.dll_bind
call fcn.005007f0
add esp, 0x1c
mov dword [ebp - 0x1180], 1
mov dword [ebp - 0x158], 4
push 1
mov eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x1180]
push ecx
push 4
push str.AutoReboot
push 0x6299bc
push reloc.WS2_32.dll_bind
call fcn.005007f0
add esp, 0x1c
mov dword [ebp - 0x158], 0xfff
push 1
lea edx, [ebp - 0x158]
push edx
lea eax, [ebp - 0x117c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x6299ec
push 0x6299f8
push reloc.WS2_32.dll_bind
call fcn.004fff40
add esp, 0x1c
movsx edx, byte [ebp - 0x117c]
test edx, edx
jne 0x4160c4
mov eax, dword [str._SystemRoot_Minidump]
mov dword [ebp - 0x117c], eax
mov ecx, dword [0x629a2c]
mov dword [ebp - 0x1178], ecx
mov edx, dword [0x629a30]
mov dword [ebp - 0x1174], edx
mov eax, dword [0x629a34]
mov dword [ebp - 0x1170], eax
mov ecx, dword [0x629a38]
mov dword [ebp - 0x116c], ecx
mov dx, word [0x629a3c]
mov word [ebp - 0x1168], dx
lea eax, [ebp - 0x117c]
mov dword [ebp - 0x1270], eax
mov ecx, dword [ebp - 0x1270]
add ecx, 1
mov dword [ebp - 0x1274], ecx
mov edx, dword [ebp - 0x1270]
mov al, byte [edx]
mov byte [ebp - 0x1275], al
add dword [ebp - 0x1270], 1
cmp byte [ebp - 0x1275], 0
jne 0x41606b
mov ecx, dword [ebp - 0x1270]
sub ecx, dword [ebp - 0x1274]
mov dword [ebp - 0x127c], ecx
push 1
mov edx, dword [ebp - 0x127c]
push edx
lea eax, [ebp - 0x117c]
push eax
push 2
push str.MinidumpDir
push str.SYSTEMCurrentControlSetControlCrashControl
push reloc.WS2_32.dll_bind
call fcn.005007f0
add esp, 0x1c
lea ecx, [ebp - 0x117c]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.00504f90
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x119c]
call fcn.0040bee0
mov byte [ebp - 4], 1
push 1
push 2
lea ecx, [ebp - 0x1224]
call fcn.0040b040
mov byte [ebp - 4], 2
push str..
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x1224]
push ecx
call fcn.00409240
add esp, 8
push eax
call fcn.00409b60
add esp, 8
lea edx, [ebp - 0x1260]
push edx
lea ecx, [ebp - 0x1224]
call fcn.004094f0
mov dword [ebp - 0x1280], eax
mov eax, dword [ebp - 0x1280]
mov dword [ebp - 0x1284], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
push ecx
mov ecx, dword [ebp - 0x1284]
call fcn.0040be10
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x11a0], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1260]
call fcn.0040bf30
cmp dword [ebp - 0x11a0], 0xffffffff
jne 0x4161e2
push 0xffffffffffffffff
push 0
mov edx, dword [ebp - 0x126c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x126c]
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x1264], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1224]
call fcn.00409dd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x119c]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.0040bf30
mov eax, dword [ebp - 0x1264]
jmp 0x4163a0
mov eax, dword [ebp - 0x154]
and eax, 0x10
jne 0x416241
lea ecx, [ebp - 0x119c]
call fcn.0040bec0
movzx ecx, al
test ecx, ecx
jne 0x416217
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x416241
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x119c]
call fcn.0040bdc0
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x11a0]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4161e2
mov eax, dword [ebp - 0x11a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x119c]
call fcn.0040bec0
movzx ecx, al
test ecx, ecx
jne 0x416349
call fcn.00404970
mov dword [ebp - 0x1244], eax
push 0x629a84
push 0x629a90
lea edx, [ebp - 0x1240]
push edx
mov ecx, dword [ebp - 0x1244]
call fcn.0040f390
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x119c]
call fcn.0040be10
push eax
lea ecx, [ebp - 0x1240]
call fcn.0040be10
push eax
call fcn.005b24e5
add esp, 8
test eax, eax
je 0x41633a
push 0x629a98
lea ecx, [ebp - 0x17c]
call fcn.004024c0
lea eax, [ebp - 0x119c]
push eax
lea ecx, [ebp - 0x17c]
call fcn.004163c0
push str.AgentRpt
lea ecx, [ebp - 0x17c]
call fcn.0040be10
push eax
call fcn.00508b30
add esp, 8
test eax, eax
je 0x41632b
lea ecx, [ebp - 0x119c]
call fcn.0040be10
push eax
push 0x629aa8
push 0x629ab4
mov ecx, dword [ebp - 0x1244]
call fcn.0040f420
push 1
push str.minidump
call fcn.0041fd40
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1240]
call fcn.0040bf30
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x126c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x126c]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x1268], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1224]
call fcn.00409dd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x119c]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.0040bf30
mov eax, dword [ebp - 0x1268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b1988
mov esp, ebp
pop ebp
ret