Function at 0x418fd0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x451430]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x258], 0
mov eax, dword [0x44b008]
cmp eax, 0x44b008
mov bl, 8
je 0x419021
test byte [eax + 0x3c], bl
je 0x419021
cmp byte [eax + 0x39], 5
jb 0x419021
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
push esi
push 0x4444cc
push 0x1a
push ecx
push edx
call fcn.004170e0
lea eax, [ebp - 0x258]
push eax
call fcn.00418a80
mov edi, eax
test edi, edi
je 0x419074
mov eax, dword [0x44b008]
cmp eax, 0x44b008
je 0x41905f
test byte [eax + 0x3c], bl
je 0x41905f
cmp byte [eax + 0x39], 2
jb 0x41905f
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
push edi
push 0x4444cc
push 0x1b
push ecx
push edx
call fcn.004198f0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d845
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x258]
push eax
push str._soem.inf
call fcn.00422c00
add esp, 8
lea ecx, [ebp - 0x254]
mov edi, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x25c], eax
jne 0x4190e8
mov eax, dword [0x44b008]
cmp eax, 0x44b008
je 0x4190ce
test byte [eax + 0x3c], bl
je 0x4190ce
cmp byte [eax + 0x39], 5
jb 0x4190ce
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
push 0x4444cc
push 0x1c
push edx
push eax
call fcn.004170b0
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.00420af0
push edi
call fcn.00420af0
add esp, 8
jmp 0x419392
lea edx, [ebp - 0x26c]
push edx
lea eax, [ebp - 0x260]
push eax
push esi
call fcn.00418970
mov esi, eax
test esi, esi
je 0x419165
mov eax, dword [0x44b008]
cmp eax, 0x44b008
je 0x41912e
test byte [eax + 0x3c], bl
je 0x41912e
cmp byte [eax + 0x39], 2
jb 0x41912e
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
push esi
push 0x4444cc
push 0x1d
push ecx
push edx
call fcn.004198f0
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.00420af0
push edi
call fcn.00420af0
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d845
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.00420af0
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x228]
push edx
push eax
push 0x441c6c
call fcn.00422c00
add esp, 0x10
mov edi, eax
mov eax, dword [0x44b008]
cmp eax, 0x44b008
je 0x4191b4
test byte [eax + 0x3c], bl
je 0x4191b4
cmp byte [eax + 0x39], 5
jb 0x4191b4
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
push edi
push 0x4444cc
push 0x1e
push ecx
push edx
call fcn.004170e0
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x264]
push ecx
push edi
call fcn.00418970
test eax, eax
jne 0x419348
mov eax, dword [ebp - 0x26c]
cmp eax, dword [ebp - 0x268]
jne 0x419339
cmp eax, 4
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x260]
jb 0x419207
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x41920b
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4191f3
test eax, eax
je 0x41926c
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x41925a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x41926a
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x41925a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x41926a
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x41925a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x41926a
movzx eax, byte [ecx]
movzx esi, byte [edx]
sub esi, eax
je 0x41926a
test esi, esi
mov eax, 1
mov bl, 8
jg 0x41926e
or eax, 0xffffffff
jmp 0x41926e
mov bl, 8
xor eax, eax
test eax, eax
jne 0x419339
mov eax, dword [0x44b008]
cmp eax, 0x44b008
je 0x4192a1
test byte [eax + 0x3c], bl
je 0x4192a1
cmp byte [eax + 0x39], 5
jb 0x4192a1
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
push 0x4444cc
push 0x1f
push ecx
push edx
call fcn.004170b0
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x419311
push str.SetupUninstallOEMInfW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41930a
push 0
push 1
lea ecx, [ebp - 0x228]
push ecx
call eax
test eax, eax
jne 0x41930a
mov eax, dword [0x44b008]
cmp eax, 0x44b008
je 0x41930a
test byte [eax + 0x3c], bl
je 0x41930a
cmp byte [eax + 0x39], 2
jb 0x41930a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x44b008]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
push 0x4444cc
push 0x20
push edx
push eax
call fcn.004198f0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419320
sub eax, edx
sar eax, 1
push edi
mov word [edi + eax*2 - 6], 0x70
call esi
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.0042df6a
add esp, 4
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x254]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x419165
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x258]
push edx
call fcn.00420af0
mov eax, dword [ebp - 0x260]
push eax
call fcn.0042df6a
push edi
call fcn.00420af0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042d845
mov esp, ebp
pop ebp
ret 4