Function at 0x1002dff0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063bf7
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x1007f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x368], edi
xor eax, eax
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], eax
call fcn.1001d390
call fcn.10013e20
mov ecx, eax
test ecx, ecx
jne 0x1002e066
push 0x80004005
call fcn.10013b10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 1
call fcn.10013e20
mov ecx, eax
test ecx, ecx
jne 0x1002e08a
push 0x80004005
call fcn.10013b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
push str._.dmp
lea edx, [ebp - 0xd8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x380]
call fcn.100277c0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x1002e0ba
mov eax, dword [eax]
lea ecx, [ebp - 0x358]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x36c]
mov ebx, eax
mov dword [ebp - 0x360], ebx
cmp ecx, 8
jb 0x1002e0ee
inc ecx
push ecx
push dword [ebp - 0x380]
lea ecx, [ebp - 0x380]
call fcn.10019260
xor eax, eax
mov dword [ebp - 0x36c], 7
mov dword [ebp - 0x370], 0
mov word [ebp - 0x380], ax
cmp ebx, 0xffffffff
je 0x1002eadf
xor eax, eax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
cmp word [ebp - 0x32c], ax
jne 0x1002e13e
xor ecx, ecx
jmp 0x1002e156
lea ecx, [ebp - 0x32c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e147
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.10019160
mov byte [ebp - 4], 3
test byte [ebp - 0x358], 0x20
je 0x1002ea9a
cmp dword [ebp - 0x94], 8
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0xd8]
cmovae ecx, dword [ebp - 0xa8]
cmp dword [ebp - 0xc4], 8
push ecx
cmovae eax, dword [ebp - 0xd8]
push eax
lea eax, [ebp - 0x2c]
push str._s__s
push eax
call fcn.1002f1c0
cmp dword [ebp - 0x94], 8
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0xd8]
cmovae ecx, dword [ebp - 0xa8]
cmp dword [ebp - 0xc4], 8
push ecx
cmovae eax, dword [ebp - 0xd8]
push eax
lea eax, [ebp - 0x30]
push str._s__s.dat
push eax
call fcn.1002f1c0
add esp, 0x20
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 4], 1
jle 0x1002e22c
push dword [esi - 0xc]
lea ecx, [ebp - 0x2c]
call fcn.10017fe0
mov esi, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [esi], ax
jne 0x1002e249
xor ecx, ecx
jmp 0x1002e25f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e250
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10019160
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.100185a0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1002e291
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019260
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x60]
call fcn.1001c070
add esp, 4
test al, al
jne 0x1002e51e
xor eax, eax
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x38]
cmovae ecx, dword [ebp - 0x48]
add eax, ecx
cmp dword [ebp - 0x34], 0x10
push eax
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
lea eax, [ebp - 0xf0]
push ecx
push eax
push eax
mov ecx, eax
call fcn.1002f420
push 0x25
xor eax, eax
mov dword [ebp - 0x7c], 7
push str.EXCEPTION___resendCrashReport_fail__
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
call fcn.10019160
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x90]
call fcn.10021700
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x35c], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x1002e382
mov eax, dword [ecx]
jmp 0x1002e384
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x90]
push edx
push eax
call fcn.10019340
push 3
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x364], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1002e3cf
mov eax, dword [ecx]
jmp 0x1002e3d1
mov eax, ecx
push 0xc
push str.toast_logger
mov byte [eax], 0
call fcn.1000e0a0
mov byte [ebp - 4], 0xc
mov eax, dword [0x1008362c]
test eax, eax
jne 0x1002e423
push 0xac
call fcn.100383fe
mov edi, eax
mov dword [ebp - 0x384], edi
push 0xac
push 0
push edi
mov byte [ebp - 4], 0xd
call fcn.1003b430
add esp, 0x10
mov ecx, edi
call fcn.1002b6e0
mov byte [ebp - 4], 0xc
mov dword [0x1008362c], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.1002bab0
lea eax, [ebp - 0x60]
push eax
call fcn.1002df70
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x1002e452
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.10019260
xor eax, eax
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x80], 0
cmp eax, 8
jb 0x1002e487
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.10019260
xor eax, eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xe0], 0
cmp eax, 0x10
jb 0x1002e4b9
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.1000e830
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x1002e4e0
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.1000e830
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
cmp eax, 0x10
jb 0x1002e507
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.1000e830
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jmp 0x1002ea9a
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0xc0]
call fcn.1001ca70
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xc0]
cmp dword [ebp - 0xac], 0x10
mov edx, dword [ebp - 0xb0]
cmovae ecx, dword [ebp - 0xc0]
push 0
push 0x100714cd
call fcn.1000df40
add esp, 8
test eax, eax
jne 0x1002e747
push 0x4c
push str.EXCEPTION___resendCrashReport_fail___The_dat_file_does_not_exist_or_strange.
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.10019160
push 0
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x364], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x1002e5b5
mov eax, dword [ecx]
jmp 0x1002e5b7
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.10019340
push 3
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x35c], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1002e5ff
mov eax, dword [ecx]
jmp 0x1002e601
mov eax, ecx
push 0xc
push str.toast_logger
mov byte [eax], 0
call fcn.1000e0a0
mov byte [ebp - 4], 0x11
mov eax, dword [0x1008362c]
test eax, eax
jne 0x1002e653
push 0xac
call fcn.100383fe
mov edi, eax
mov dword [ebp - 0x388], edi
push 0xac
push 0
push edi
mov byte [ebp - 4], 0x12
call fcn.1003b430
add esp, 0x10
mov ecx, edi
call fcn.1002b6e0
mov byte [ebp - 4], 0x11
mov dword [0x1008362c], eax
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.1002bab0
lea eax, [ebp - 0x60]
push eax
call fcn.1002df70
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1002e67c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019260
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x18], 0
cmp eax, 0x10
jb 0x1002e6ae
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.1000e830
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
cmp eax, 0x10
jb 0x1002e6de
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.1000e830
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x1002e705
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.1000e830
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
cmp eax, 0x10
jb 0x1002e507
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.1000e830
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jmp 0x1002ea9a
lea ebx, [edi + 0x24]
mov edx, ebx
lea ecx, [ebp - 0xc0]
call fcn.1001c380
push 7
push 0x10072c84
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.1000e0a0
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x90]
call fcn.1001b0a0
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x394]
mov ecx, ebx
push eax
call fcn.10026750
mov edi, dword [ebp - 0x394]
add edi, 0x28
mov ecx, dword [ebp - 0x35c]
cmp edi, ecx
je 0x1002e7fa
cmp dword [edi + 0x14], 8
jb 0x1002e7d3
mov eax, dword [edi + 0x14]
mov ecx, edi
inc eax
push eax
push dword [edi]
call fcn.10019260
mov ecx, dword [ebp - 0x35c]
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x1002e7eb
mov eax, dword [edi]
jmp 0x1002e7ed
mov eax, edi
xor edx, edx
push ecx
mov ecx, edi
mov word [eax], dx
call fcn.100207e0
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x1002e815
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.10019260
xor eax, eax
mov byte [ebp - 4], 0xe
mov word [ebp - 0x90], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
cmp eax, 0x10
jb 0x1002e845
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1000e830
lea eax, [ebp - 0x108]
push eax
call fcn.10032560
mov ecx, eax
call fcn.100330f0
mov edx, ebx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x108]
call fcn.10018220
mov edi, eax
test edi, edi
jns 0x1002e9b6
push str.EXCEPTION___resendCrashReport_fail__
lea ecx, [ebp - 0x28]
call fcn.10019030
mov edx, edi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x90]
call fcn.1002cd40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x18
call fcn.10021700
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x1002e8c1
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.10019260
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x364], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x1002e8f4
mov eax, dword [ecx]
jmp 0x1002e8f6
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.10019340
push 3
sub esp, 0x18
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x35c], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1002e93e
mov eax, dword [ecx]
jmp 0x1002e940
mov eax, ecx
push 0xc
push str.toast_logger
mov byte [eax], 0
call fcn.1000e0a0
mov byte [ebp - 4], 0x1a
mov eax, dword [0x1008362c]
test eax, eax
jne 0x1002e992
push 0xac
call fcn.100383fe
mov edi, eax
mov dword [ebp - 0x38c], edi
push 0xac
push 0
push edi
mov byte [ebp - 4], 0x1b
call fcn.1003b430
add esp, 0x10
mov ecx, edi
call fcn.1002b6e0
mov byte [ebp - 4], 0x1a
mov dword [0x1008362c], eax
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.1002bab0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1002e9b6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019260
lea eax, [ebp - 0x60]
push eax
call fcn.1002df70
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x1002e9dd
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.1000e830
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xf4], 0xf
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
cmp eax, 0x10
jb 0x1002ea16
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.1000e830
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
cmp eax, 0x10
jb 0x1002ea46
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.1000e830
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x1002ea6d
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.1000e830
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
cmp eax, 0x10
jb 0x1002ea94
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.1000e830
mov ebx, dword [ebp - 0x360]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x1002eabc
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.10019260
lea eax, [ebp - 0x358]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [ebp - 0x368]
test eax, eax
jne 0x1002e114
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x30]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002eb00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1002eb19
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xc4]
cmp eax, 8
jb 0x1002eb37
inc eax
lea ecx, [ebp - 0xd8]
push eax
push dword [ebp - 0xd8]
call fcn.10019260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10037fa1
mov esp, ebp
pop ebp
ret