Function at 0x453166a7
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x4536233c
call fcn.4534228c
sub esp, 0x35c
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x1e8]
test eax, eax
je 0x45316928
mov eax, dword [eax + 0x10]
lea esi, [eax - 1]
test esi, esi
mov dword [ebp - 0x1c], esi
je 0x45316928
push edi
lea ecx, [ebp - 0x20]
call fcn.4530877a
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
push 1
pop eax
cmp esi, eax
mov byte [ebp - 4], al
mov dword [ebp - 0x18], eax
jl 0x45316887
mov eax, dword [ebx + 0x1e8]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push dword [eax + ecx*4]
call sym.HHA.dll_Ordinal_23
cmp dword [ebp - 0x14], 0
mov edi, eax
mov dword [ebp - 0x10], edi
je 0x45316724
push dword [ebp - 0x14]
call fcn.45341e40
pop ecx
push edi
mov dword [ebp - 0x14], edi
call sym.HHA.dll_Ordinal_116
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x228]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x228]
push eax
and ecx, 3
push dword [ebx + 0xb8]
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x228]
push 0x2a
push eax
call sym.HHA.dll_Ordinal_8
test eax, eax
jne 0x453167bf
lea eax, [ebp - 0x228]
push 0x3f
push eax
call sym.HHA.dll_Ordinal_8
test eax, eax
jne 0x453167bf
lea eax, [ebp - 0x228]
mov ecx, ebx
push eax
call fcn.45317ad8
push dword [ebp - 0x10]
test eax, eax
je 0x453167ae
lea eax, [ebx + 0xc4]
push eax
call sym.HHA.dll_Ordinal_46
jmp 0x45316878
push 0x20fa6
mov ecx, ebx
call fcn.45315caa
jmp 0x45316878
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x45316878
lea edi, [ebp - 0x33c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x124]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x124]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push eax
lea eax, [ebp - 0x228]
push eax
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x124]
mov ecx, ebx
push eax
call fcn.45317ad8
test eax, eax
je 0x45316857
push esi
lea eax, [ebp - 0x124]
push esi
push eax
push dword [ebx + 0xb8]
call sym.HHA.dll_Ordinal_316
lea eax, [ebp - 0x124]
push eax
lea eax, [ebx + 0xc4]
push eax
call sym.HHA.dll_Ordinal_46
lea eax, [ebp - 0x368]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x453167df
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jle 0x453166fc
mov edi, dword [ebx + 0x8c]
test edi, edi
je 0x453168ec
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x124]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x124]
push eax
and ecx, 3
push dword [ebx + 0xb8]
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x124]
mov ecx, ebx
push eax
call fcn.45317ad8
test eax, eax
je 0x453168ec
push dword [ebx + 0x8c]
lea eax, [ebx + 0xc4]
push eax
call sym.HHA.dll_Ordinal_46
mov esi, dword [ebx + 0x1e8]
test esi, esi
je 0x45316904
mov ecx, esi
call sym.HHA.dll_Ordinal_38
push esi
call fcn.45341eb0
pop ecx
and dword [ebx + 0x1e8], 0
cmp dword [ebp - 0x14], 0
je 0x4531691a
push dword [ebp - 0x14]
call fcn.45341e40
pop ecx
push dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret