Function at 0x415720
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7fb7
mov eax, dword fs:[0]
push eax
mov eax, 0x1278
call fcn.005b5ef0
mov eax, dword [0x65b4e4]
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.005b4520
add esp, 0xc
push 1
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0x1180]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x6287c8
push 0x6287dc
push reloc.WS2_32.dll_bind
call fcn.004fef20
add esp, 0x1c
cmp dword [ebp - 0x1180], 0
jne 0x415834
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 0x628820
push reloc.WS2_32.dll_bind
call fcn.004ff7d0
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 0x62885c
push reloc.WS2_32.dll_bind
call fcn.004ff7d0
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 0x62888c
push 0x628898
push reloc.WS2_32.dll_bind
call fcn.004fef20
add esp, 0x1c
movsx edx, byte [ebp - 0x117c]
test edx, edx
jne 0x415934
mov eax, dword [str._SystemRoot_Minidump]
mov dword [ebp - 0x117c], eax
mov ecx, dword [0x6288cc]
mov dword [ebp - 0x1178], ecx
mov edx, dword [0x6288d0]
mov dword [ebp - 0x1174], edx
mov eax, dword [0x6288d4]
mov dword [ebp - 0x1170], eax
mov ecx, dword [0x6288d8]
mov dword [ebp - 0x116c], ecx
mov dx, word [0x6288dc]
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 0x4158db
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.004ff7d0
add esp, 0x1c
lea ecx, [ebp - 0x117c]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.00503f70
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x119c]
call fcn.0040c000
mov byte [ebp - 4], 1
push 1
push 2
lea ecx, [ebp - 0x1224]
call fcn.0040b160
mov byte [ebp - 4], 2
push str..
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x1224]
push ecx
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
lea edx, [ebp - 0x1260]
push edx
lea ecx, [ebp - 0x1224]
call fcn.00409610
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.0040bf30
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.0040c050
cmp dword [ebp - 0x11a0], 0xffffffff
jne 0x415a52
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.00409ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x119c]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.0040c050
mov eax, dword [ebp - 0x1264]
jmp 0x415c10
mov eax, dword [ebp - 0x154]
and eax, 0x10
jne 0x415ab1
lea ecx, [ebp - 0x119c]
call fcn.0040bfe0
movzx ecx, al
test ecx, ecx
jne 0x415a87
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x415ab1
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x119c]
call fcn.0040bee0
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 0x415a52
mov eax, dword [ebp - 0x11a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x119c]
call fcn.0040bfe0
movzx ecx, al
test ecx, ecx
jne 0x415bb9
call fcn.00404950
mov dword [ebp - 0x1244], eax
push 0x628924
push 0x628930
lea edx, [ebp - 0x1240]
push edx
mov ecx, dword [ebp - 0x1244]
call fcn.0040f4c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x119c]
call fcn.0040bf30
push eax
lea ecx, [ebp - 0x1240]
call fcn.0040bf30
push eax
call fcn.005b14c5
add esp, 8
test eax, eax
je 0x415baa
push 0x628938
lea ecx, [ebp - 0x17c]
call fcn.004024c0
lea eax, [ebp - 0x119c]
push eax
lea ecx, [ebp - 0x17c]
call fcn.00415c30
push str.AgentRpt
lea ecx, [ebp - 0x17c]
call fcn.0040bf30
push eax
call fcn.00507b10
add esp, 8
test eax, eax
je 0x415b9b
lea ecx, [ebp - 0x119c]
call fcn.0040bf30
push eax
push 0x628948
push 0x628954
mov ecx, dword [ebp - 0x1244]
call fcn.0040f550
push 1
push str.minidump
call fcn.0041f210
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1240]
call fcn.0040c050
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.00409ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x119c]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.0040c050
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.005b0968
mov esp, ebp
pop ebp
ret