Function at 0x403610
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x423246
mov eax, dword fs:[0]
push eax
sub esp, 0x78c
mov eax, dword [0x42eb60]
xor eax, esp
mov dword [esp + 0x788], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42eb60]
xor eax, esp
push eax
lea eax, [esp + 0x7a0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7b0]
mov esi, dword [esp + 0x7b4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], esi
call fcn.0040e23e
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40367d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x7a8], edi
call fcn.0040e23e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4036ae
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
push 0x13c
lea ecx, [esp + 0x54]
push edi
push ecx
mov byte [esp + 0x7b4], 1
mov dword [esp + 0x58], edi
call fcn.00412b50
mov edx, dword [esi + 0x20]
add esp, 0xc
push edi
push edi
push 0x408
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x14], eax
push 0x100
lea eax, [esp + 0x498]
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x494]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x403713
mov ecx, dword [str.INFoem.inf]
mov edx, dword [0x425d34]
mov dword [eax], ecx
mov ecx, dword [0x425d38]
mov dword [eax + 4], edx
mov dx, word [0x425d3c]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x498]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esp + 0x28], eax
nop
lea eax, [esp + 0x78]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403767
sub eax, ecx
push eax
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x2c]
call fcn.004019a0
mov ebp, dword [esp + 0x24]
xor ebx, ebx
push ebx
push 2
push ebx
push ebp
mov dword [esp + 0x28], ebx
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov ecx, dword [esp + 0x20]
mov esi, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
jne 0x4037db
cmp dword [esp + 0x14], 0x5a
jge 0x4037db
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x20]
push ebx
push ecx
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add dword [esp + 0x14], 1
add dword [esp + 0x20], 1
cmp esi, 0xffffffff
je 0x403cbf
mov ebx, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea ecx, [esp + 0x30]
push ecx
push 0
push str.Manufacturer
push esi
call ebx
test eax, eax
je 0x403cb3
push 0
push 0x100
lea edx, [esp + 0x194]
push edx
push 1
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x403cb3
lea ecx, [esp + 0x30]
push ecx
push 0
lea edx, [esp + 0x194]
push edx
push esi
call ebx
test eax, eax
je 0x403cb3
push 0
push 0x100
lea eax, [esp + 0x194]
push eax
push 2
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x403cb3
mov edx, dword [0x430014]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
je 0x403893
mov ecx, dword [0x430014]
cmp dword [ecx - 0xc], 0
jne 0x403c55
mov edx, dword [0x430018]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x430030]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov eax, dword [0x430074]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov edx, dword [0x43006c]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x430040]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov eax, dword [0x430088]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov edx, dword [0x430084]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x430038]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov eax, dword [0x430024]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov edx, dword [0x430068]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x430058]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov eax, dword [0x430064]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov edx, dword [0x43008c]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x430028]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov eax, dword [0x430070]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov edx, dword [0x430080]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x430034]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov eax, dword [0x430090]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov edx, dword [0x430020]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x43007c]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov eax, dword [0x43002c]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov edx, dword [0x430054]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x430050]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov eax, dword [0x43004c]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov edx, dword [0x43003c]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x430078]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov eax, dword [0x430094]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov edx, dword [0x430048]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x430044]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov eax, dword [0x430060]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov edx, dword [0x43005c]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403c55
mov ecx, dword [0x43001c]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
je 0x403cb3
lea eax, [esp + 0x30]
push eax
push 0
push str.Strings
push esi
mov ebx, 1
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
test eax, eax
je 0x403d05
push 0
push 0x100
lea ecx, [esp + 0x194]
push ecx
push ebx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x403d05
lea eax, [esp + 0x18c]
push str.Microsoft
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x403d05
mov dword [esp + 0x18], ebx
jmp 0x403d05
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x403ddb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
push 0x400
mov ebp, eax
push ebp
push 0
push 0x1100
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x403cfa
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, dword [esp + 0x24]
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test ebx, ebx
je 0x403ddb
cmp dword [esp + 0x18], 0
je 0x403ddb
push ebp
lea edx, [esp + 0x69c]
push edx
call edi
push ebp
lea eax, [esp + 0x598]
push eax
call edi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x290]
push ecx
call edi
push esi
lea edx, [esp + 0x394]
push edx
call edi
lea eax, [esp + 0x594]
push 0x425af0
push eax
call fcn.004125af
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
lea ecx, [esp + 0x698]
push ecx
lea edx, [esp + 0x290]
push edx
mov byte [eax], 0x2e
mov byte [eax + 1], 0x50
mov byte [eax + 2], 0x4e
mov byte [eax + 3], 0x46
call esi
lea eax, [esp + 0x594]
push eax
lea ecx, [esp + 0x394]
push ecx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
lea edx, [esp + 0x290]
push edx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x28c]
push eax
call ebx
push 0x80
lea ecx, [esp + 0x394]
push ecx
call esi
lea edx, [esp + 0x390]
push edx
call ebx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403760
push 0x100
lea edx, [esp + 0x498]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x494]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x403e10
mov ecx, dword [str.INF_alcx.inf]
mov edx, dword [0x425d24]
mov dword [eax], ecx
mov ecx, dword [0x425d28]
mov dword [eax + 4], edx
mov dx, word [0x425d2c]
mov dword [eax + 8], ecx
mov cl, byte [0x425d2e]
mov word [eax + 0xc], dx
lea edx, [esp + 0x4c]
mov byte [eax + 0xe], cl
push edx
lea eax, [esp + 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x28], eax
nop
lea eax, [esp + 0x78]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403e67
sub eax, ecx
push eax
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004019a0
mov ebx, dword [esp + 0x44]
xor eax, eax
push eax
push 2
push eax
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov ebp, dword [esp + 0x20]
mov esi, eax
mov eax, 0x66666667
imul ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
mov eax, ebp
sub eax, edx
jne 0x403ee2
cmp dword [esp + 0x14], 0x5a
jge 0x403ee2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x20]
push 0
push ecx
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add dword [esp + 0x14], 1
add ebp, 1
cmp esi, 0xffffffff
mov dword [esp + 0x20], ebp
je 0x4043ad
lea ecx, [esp + 0x30]
push ecx
push 0
push str.Manufacturer
push esi
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
test eax, eax
je 0x4043a1
mov ebp, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
push 0
push 0x100
lea edx, [esp + 0x194]
push edx
push 1
lea eax, [esp + 0x40]
push eax
call ebp
test eax, eax
je 0x4043a1
lea ecx, [esp + 0x30]
push ecx
push 0
lea edx, [esp + 0x194]
push edx
push esi
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
test eax, eax
je 0x4043a1
push 0
push 0x100
lea eax, [esp + 0x194]
push eax
push 2
lea ecx, [esp + 0x40]
push ecx
call ebp
test eax, eax
je 0x4043a1
mov edx, dword [0x430014]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
je 0x403f9c
mov ecx, dword [0x430014]
cmp dword [ecx - 0xc], 0
jne 0x40433f
mov edx, dword [0x430018]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov ecx, dword [0x430030]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov eax, dword [0x430074]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov edx, dword [0x43006c]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov ecx, dword [0x430040]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov eax, dword [0x430088]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov edx, dword [0x430084]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov ecx, dword [0x430038]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov eax, dword [0x430024]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov edx, dword [0x430068]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov ecx, dword [0x430058]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov eax, dword [0x430064]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov edx, dword [0x43008c]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov ecx, dword [0x430028]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov eax, dword [0x430070]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov edx, dword [0x430080]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov ecx, dword [0x430034]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov eax, dword [0x430090]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov edx, dword [0x430020]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov ecx, dword [0x43007c]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov eax, dword [0x43002c]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov edx, dword [0x430054]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov ecx, dword [0x430050]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov eax, dword [0x43004c]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov edx, dword [0x43003c]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov ecx, dword [0x430078]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov eax, dword [0x430094]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov edx, dword [0x430048]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov ecx, dword [0x430060]
push ecx
lea edx, [esp + 0x190]
push edx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov eax, dword [0x43005c]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x40433f
mov edx, dword [0x43001c]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.004125af
add esp, 8
test eax, eax
je 0x4043a1
lea ecx, [esp + 0x30]
push ecx
push 0
push str.Strings
push esi
mov dword [esp + 0x2c], 1
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
test eax, eax
je 0x4043ef
push 0
push 0x100
lea edx, [esp + 0x194]
push edx
push 1
lea eax, [esp + 0x40]
push eax
call ebp
test eax, eax
je 0x4043ef
lea ecx, [esp + 0x18c]
push str.Microsoft
push ecx
call fcn.004125af
add esp, 8
test eax, eax
jne 0x4043ef
mov dword [esp + 0x18], 1
jmp 0x4043ef
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x4044c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea edx, [esp + 0x34]
push edx
push 0x400
mov ebp, eax
push ebp
push 0
push 0x1100
mov dword [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4043e8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x1c], 0
je 0x4044c8
cmp dword [esp + 0x18], 0
je 0x4044c8
push ebx
lea eax, [esp + 0x69c]
push eax
call edi
push ebx
lea ecx, [esp + 0x598]
push ecx
call edi
mov esi, dword [esp + 0x40]
push esi
lea edx, [esp + 0x394]
push edx
call edi
push esi
lea eax, [esp + 0x290]
push eax
call edi
lea ecx, [esp + 0x594]
push 0x425af0
push ecx
call fcn.004125af
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
lea edx, [esp + 0x698]
mov byte [eax], 0x2e
mov byte [eax + 1], 0x50
mov byte [eax + 2], 0x4e
mov byte [eax + 3], 0x46
push edx
lea eax, [esp + 0x394]
push eax
call esi
lea ecx, [esp + 0x594]
push ecx
lea edx, [esp + 0x290]
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
lea eax, [esp + 0x394]
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x390]
push ecx
call ebp
push 0x80
lea edx, [esp + 0x290]
push edx
call esi
lea eax, [esp + 0x28c]
push eax
call ebp
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403e60
cmp dword [esp + 0x1c], eax
je 0x4044f3
cmp dword [esp + 0x18], eax
je 0x4044f3
mov esi, 1
jmp 0x4044f5
xor esi, esi
add ebx, 0xfffffff0
mov byte [esp + 0x7a8], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404519
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x7a8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404544
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x7a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x788]
xor ecx, esp
call fcn.00411d2a
add esp, 0x798
ret