Function at 0x461ac0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc40b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x24a0
call fcn.004ab4d0
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x24a4], ebx
mov esi, edx
mov edi, 2
mov dword [ebp - 0x249c], edi
mov dword [ebp - 0x24a0], 0xffffffff
test ebx, ebx
je 0x461df0
test esi, esi
je 0x461df0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2498]
call fcn.0045eb30
mov byte [ebp - 4], 1
push 0x800
push 0
lea eax, [ebp - 0x818]
push eax
call fcn.004ab450
add esp, 0xc
push 0x3ff
push ebx
push 0x400
lea ecx, [ebp - 0x818]
push ecx
call fcn.004a9be0
add esp, 0x10
lea eax, [ebp - 0x818]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, edi
test cx, cx
jne 0x461b74
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x81a], 0x5c
jne 0x461bac
lea eax, [ebp - 0x818]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, edi
test cx, cx
jne 0x461b96
sub eax, edx
sar eax, 1
mov word [ebp + eax*2 - 0x81a], cx
push str..inf
push 0x400
lea edx, [ebp - 0x818]
push edx
call fcn.004aa6ad
add esp, 0xc
lea eax, [ebp - 0x1268]
push eax
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x24a0], eax
cmp eax, 0xffffffff
jne 0x461bfb
mov dword [ebp - 0x24a8], edi
push 0x5042a0
lea edx, [ebp - 0x24a8]
push edx
call fcn.004abd6e
test byte [ebp - 0x1268], 0x10
jne 0x461d31
push 0x800
push 0
lea eax, [ebp - 0x1018]
push eax
call fcn.004ab450
add esp, 0xc
lea ecx, [ebp - 0x123c]
push ecx
push ebx
push 0x4dd780
lea edx, [ebp - 0x1018]
call fcn.00411a00
add esp, 0xc
mov eax, dword [esi + 0x408]
lea edx, [esi + 0x200]
push edx
push esi
lea ecx, [eax + 0xb418]
push ecx
mov edx, dword [eax + 0x10618]
push edx
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x2498]
call fcn.0045ebb0
test al, al
jne 0x461c89
lea ecx, [ebp - 0x1018]
push ecx
push str.Init_INF_Fail__s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
jmp 0x461d31
mov eax, dword [esi + 0x408]
lea edx, [eax + 0x204]
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461ca0
sub eax, edi
sar eax, 1
je 0x461ced
lea eax, [ebp - 0x2494]
push eax
push edx
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x461ced
lea ecx, [ebp - 0x2494]
push ecx
mov edx, dword [esi + 0x408]
add edx, 0x204
push edx
push str.Inf_class_name_was_not_matched_with_target_class_name___s___s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
jmp 0x461d31
lea ecx, [ebp - 0x2498]
call fcn.0045fce0
mov edi, eax
lea eax, [ebp - 0x2494]
push eax
push str.Printer
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x461d4f
cmp dword [esi + 0x404], edi
je 0x461d4f
cmp edi, 3
je 0x461d4f
push str.Inf_Platform_was_not_matched_with_target_platform
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
lea ecx, [ebp - 0x1268]
push ecx
mov edx, dword [ebp - 0x24a0]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x461bfb
jmp 0x461d75
mov dword [esi + 0x404], edi
push edi
mov eax, dword [esi + 0x408]
push eax
lea ecx, [ebp - 0x2498]
call fcn.0043a090
add esp, 8
mov dword [ebp - 0x249c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2498]
call fcn.0045eb90
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24a0]
cmp eax, 0xffffffff
je 0x461d9d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x249c]
jmp 0x461df5
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a998e
mov esp, ebp
pop ebp
ret