Function at 0x415d00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6e27
mov eax, dword fs:[0]
push eax
mov eax, 0x1278
call fcn.005c2160
mov eax, dword [0x66d4f4]
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.005c0cf0
add esp, 0xc
push 1
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0x1180]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x638c7c
push 0x638c90
push reloc.WS2_32.dll_bind
call fcn.00507510
add esp, 0x1c
cmp dword [ebp - 0x1180], 0
jne 0x415e14
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 0x638cd4
push reloc.WS2_32.dll_bind
call fcn.00508170
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 0x638d10
push reloc.WS2_32.dll_bind
call fcn.00508170
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 0x638d40
push 0x638d4c
push reloc.WS2_32.dll_bind
call fcn.00507510
add esp, 0x1c
movsx edx, byte [ebp - 0x117c]
test edx, edx
jne 0x415f14
mov eax, dword [str._SystemRoot_Minidump]
mov dword [ebp - 0x117c], eax
mov ecx, dword [0x638d80]
mov dword [ebp - 0x1178], ecx
mov edx, dword [0x638d84]
mov dword [ebp - 0x1174], edx
mov eax, dword [0x638d88]
mov dword [ebp - 0x1170], eax
mov ecx, dword [0x638d8c]
mov dword [ebp - 0x116c], ecx
mov dx, word [0x638d90]
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 0x415ebb
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.00508170
add esp, 0x1c
lea ecx, [ebp - 0x117c]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.0050c910
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x119c]
call fcn.0040b5f0
mov byte [ebp - 4], 1
push 1
push 2
lea ecx, [ebp - 0x1224]
call fcn.0040a750
mov byte [ebp - 4], 2
push str..
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x1224]
push ecx
call fcn.00408950
add esp, 8
push eax
call fcn.00409270
add esp, 8
lea edx, [ebp - 0x1260]
push edx
lea ecx, [ebp - 0x1224]
call fcn.00408c00
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.0040b520
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.0040b640
cmp dword [ebp - 0x11a0], 0xffffffff
jne 0x416032
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.004094e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x119c]
call fcn.0040b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.0040b640
mov eax, dword [ebp - 0x1264]
jmp 0x4161f0
mov eax, dword [ebp - 0x154]
and eax, 0x10
jne 0x416091
lea ecx, [ebp - 0x119c]
call fcn.0040b5d0
movzx ecx, al
test ecx, ecx
jne 0x416067
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x416091
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x119c]
call fcn.0040b4d0
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 0x416032
mov eax, dword [ebp - 0x11a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x119c]
call fcn.0040b5d0
movzx ecx, al
test ecx, ecx
jne 0x416199
call fcn.004040c0
mov dword [ebp - 0x1244], eax
push 0x638dd8
push 0x638de4
lea edx, [ebp - 0x1240]
push edx
mov ecx, dword [ebp - 0x1244]
call fcn.0040ec80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x119c]
call fcn.0040b520
push eax
lea ecx, [ebp - 0x1240]
call fcn.0040b520
push eax
call fcn.005be4ae
add esp, 8
test eax, eax
je 0x41618a
push 0x638dec
lea ecx, [ebp - 0x17c]
call fcn.004024c0
lea eax, [ebp - 0x119c]
push eax
lea ecx, [ebp - 0x17c]
call fcn.00416210
push str.AgentRpt
lea ecx, [ebp - 0x17c]
call fcn.0040b520
push eax
call fcn.005138e0
add esp, 8
test eax, eax
je 0x41617b
lea ecx, [ebp - 0x119c]
call fcn.0040b520
push eax
push 0x638dfc
push 0x638e08
mov ecx, dword [ebp - 0x1244]
call fcn.0040ed10
push 1
push str.minidump
call fcn.0041fb00
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1240]
call fcn.0040b640
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.004094e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x119c]
call fcn.0040b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.0040b640
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.005bd2d7
mov esp, ebp
pop ebp
ret