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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
mov dword [ebp - 0x1ac], ecx
push 0x49a8d0
call fcn.00409cd0
mov ecx, eax
call fcn.0040a800
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x430865
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x34]
push eax
call fcn.00473eac
add esp, 4
lea ecx, [ebp - 0x34]
push ecx
call fcn.00473d2c
add esp, 4
mov dword [ebp - 0x44], eax
push 0x24
push 0
lea edx, [ebp - 0x30]
push edx
call fcn.00472500
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xc]
sub ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x44]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x44]
push eax
call fcn.00473d1f
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x48], 1
push 0x49a8db
lea ecx, [ebp - 0x3c]
call fcn.00409660
mov dword [ebp - 4], 0
push 0x49a8dc
lea ecx, [ebp - 0x190]
call fcn.00409660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
push ecx
push str.C:SK_ODTlog.txt
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x430929
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.00417ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00417ed0
jmp 0x430c89
cmp dword [ebp - 0x48], 0
je 0x430a97
lea edx, [ebp - 0x160]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004096f0
lea ecx, [ebp - 0x3c]
call fcn.00404880
cmp eax, 0xa
jge 0x430965
lea eax, [ebp - 0x18c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x48], eax
jmp 0x430929
push 4
push 0
lea edx, [ebp - 0x194]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00408920
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
call fcn.0045e910
push eax
call fcn.004725e8
add esp, 4
sub eax, 0x76c
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x194]
call fcn.00417ed0
cmp dword [ebp - 0x1c], 0
jne 0x4309c4
lea eax, [ebp - 0x18c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x48], eax
jmp 0x430929
push 2
push 4
lea edx, [ebp - 0x198]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00408920
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b4]
call fcn.0045e910
push eax
call fcn.004725e8
add esp, 4
sub eax, 1
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x198]
call fcn.00417ed0
push 2
push 6
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408920
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1b8]
call fcn.0045e910
push eax
call fcn.004725e8
add esp, 4
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x19c]
call fcn.00417ed0
lea ecx, [ebp - 0x30]
push ecx
call fcn.00473d1f
add esp, 4
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x34]
jge 0x430a7e
mov eax, dword [ebp - 0x3c]
push eax
push str.C:SK_ODTlog_s
lea ecx, [ebp - 0x190]
push ecx
call fcn.00404380
add esp, 0xc
lea ecx, [ebp - 0x190]
call fcn.0045e910
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x18c]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x48], eax
jmp 0x430929
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x48], 1
push 0x49a905
lea ecx, [ebp - 0x3c]
call fcn.004096f0
lea edx, [ebp - 0x18c]
push edx
push str.C:SK_ODTdevicelog.log
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x430af3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.00417ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00417ed0
jmp 0x430c89
cmp dword [ebp - 0x48], 0
je 0x430c61
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004096f0
lea ecx, [ebp - 0x3c]
call fcn.00404880
cmp eax, 0xa
jge 0x430b2f
lea ecx, [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x48], eax
jmp 0x430af3
push 4
push 0
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408920
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
call fcn.0045e910
push eax
call fcn.004725e8
add esp, 4
sub eax, 0x76c
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1a0]
call fcn.00417ed0
cmp dword [ebp - 0x1c], 0
jne 0x430b8e
lea ecx, [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x48], eax
jmp 0x430af3
push 2
push 4
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408920
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
call fcn.0045e910
push eax
call fcn.004725e8
add esp, 4
sub eax, 1
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1a4]
call fcn.00417ed0
push 2
push 6
lea ecx, [ebp - 0x1a8]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00408920
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
call fcn.0045e910
push eax
call fcn.004725e8
add esp, 4
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1a8]
call fcn.00417ed0
lea edx, [ebp - 0x30]
push edx
call fcn.00473d1f
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x34]
jge 0x430c48
mov ecx, dword [ebp - 0x3c]
push ecx
push str.C:SK_ODTdevicelog_s
lea edx, [ebp - 0x190]
push edx
call fcn.00404380
add esp, 0xc
lea ecx, [ebp - 0x190]
call fcn.0045e910
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x18c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x48], eax
jmp 0x430af3
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.00417ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00417ed0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret