Function at 0x12020a03
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x12088574
call fcn.12055780
sub esp, 0x284
mov eax, dword [0x120b3180]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x12020aa4
cmp byte [esi], bl
je 0x12020aa4
lea eax, [ebp + 8]
push eax
call fcn.12012c3a
pop ecx
push esi
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x18]
push str._s_scripts_s.esf
push eax
call fcn.1206c497
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.1207396a
lea eax, [ebp + 8]
push eax
call fcn.12012c3a
pop ecx
push esi
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x14]
push str._s_scripts_s_
push eax
call fcn.1206c497
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.1207396a
push 0x120aaf48
lea ecx, [ebp - 0x14]
call fcn.12073d46
push dword [ebp - 0x18]
push str.Looking_for_ESF_scripts_in__s._r_n
push 0x149
push str.D:FixTree_25System_CodeeGuardScriptManagerScriptManager.cpp
push ebx
call fcn.1200f4fa
add esp, 0x14
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x12020cb8
mov eax, dword [0x120b3180]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 8]
push dword [ebp - 0x14]
push eax
call fcn.1206c497
mov eax, dword [0x120b3180]
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.12076870
mov dword [ebp - 0x4c], 0x1208f464
push ebx
push 0x20
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.120769a7
cmp eax, ebx
je 0x12020c10
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
push eax
call fcn.120190e1
cmp eax, ebx
je 0x12020c10
push str.__ScriptID
push dword [ebp - 0x1c]
call fcn.12013c8f
pop ecx
cmp eax, ebx
pop ecx
je 0x12020c10
push 0x3d
push dword [ebp - 0x1c]
call fcn.12055fb0
mov edi, eax
pop ecx
inc edi
pop ecx
test eax, eax
je 0x12020c10
cmp byte [edi], bl
je 0x12020c10
lea ecx, [ebp - 0x34]
call fcn.1207586e
push ebx
push 0x20
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.12075a20
cmp eax, ebx
je 0x12020c04
lea ecx, [ebp - 0x34]
call fcn.12075d1a
inc eax
push eax
call fcn.1207403b
mov esi, eax
pop ecx
cmp esi, ebx
je 0x12020c04
lea ecx, [ebp - 0x34]
call fcn.12075d1a
inc eax
push eax
push ebx
push esi
call fcn.12055850
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.12075d1a
push eax
mov eax, dword [ebp - 0x34]
push esi
lea ecx, [ebp - 0x34]
call dword [eax + 0x34]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], esi
push eax
push edi
push dword [ebp + 8]
call fcn.120223af
add esp, 0xc
cmp eax, ebx
je 0x12020bfd
mov edx, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 8]
push ecx
mov ecx, edx
call fcn.1206de08
push esi
call fcn.12074064
pop ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.12075963
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.12076964
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.1207396a
jmp 0x12020c88
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.1207396a
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x12020adb
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.1207396a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1207396a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4