Function at 0x403430
Capabilities:
Delete file
Get file attributes
Link many functions at runtime
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41cac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x10
call fcn.004134fb
add esp, 4
mov esi, eax
xor ebx, ebx
mov ecx, edi
push esi
mov dword [esp + 0x24], esi
mov dword [esi + 0xc], 0x41a
mov dword [esi], ebx
mov dword [esi + 8], 0x690
mov dword [esi + 4], ebx
call fcn.004050d0
mov ebp, eax
mov eax, dword [0x429b68]
cmp eax, ebx
jne 0x403656
cmp dword [0x429b48], ebx
jne 0x403fae
push 0x429438
lea eax, [esp + 0x14]
push str.c:Documents_and_Settings_
push eax
call fcn.0041427a
push str.new.bmp
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x44], ebx
call fcn.00414206
push eax
mov ecx, 0x429024
mov byte [esp + 0x3c], 1
call fcn.004140eb
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00414042
or esi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], esi
call fcn.00414042
push ebx
mov ecx, 0x429024
call fcn.004143a1
push 0x429438
lea edx, [esp + 0x14]
push str.C:Documents_and_Settings_
push edx
mov dword [0x429020], eax
call fcn.0041427a
push str.new.jpg
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x40], 2
push eax
call fcn.00414206
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, esi
lea ecx, [esp + 0x14]
sete bl
call fcn.00414042
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], esi
call fcn.00414042
test bl, bl
je 0x403f9b
mov ecx, dword [0x429020]
push ecx
push ebp
mov ecx, edi
call fcn.004051c0
push 0x429438
lea edx, [esp + 0x28]
push str.C:Documents_and_Settings_
push edx
call fcn.0041427a
push str.new.bmp
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x40], 3
push eax
call fcn.00414206
mov bl, 5
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call fcn.00414042
push 0x429438
lea ecx, [esp + 0x2c]
push str.C:Documents_and_Settings_
push ecx
call fcn.0041427a
push str.new.jpg
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x44], 6
call fcn.00414206
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 8
call fcn.00414042
push str.jpgdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.BmpToJpg
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x32
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.004143a1
push eax
push 0x32
lea ecx, [esp + 0x1c]
call fcn.004143a1
push eax
call ebp
push esi
lea ecx, [esp + 0x18]
call fcn.004143f0
push esi
lea ecx, [esp + 0x14]
call fcn.004143f0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call fcn.00414042
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x14]
jmp 0x403f96
cmp eax, 1
jne 0x403830
cmp dword [0x429b48], ebx
jne 0x403fae
push 0x429438
lea edx, [esp + 0x28]
push str.c:Documents_and_Settings_
push edx
call fcn.0041427a
push str.new1.bmp
push eax
lea eax, [esp + 0x30]
mov ebx, 9
push eax
mov dword [esp + 0x44], ebx
call fcn.00414206
push eax
mov ecx, 0x429024
mov byte [esp + 0x3c], 0xa
call fcn.004140eb
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call fcn.00414042
or esi, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414042
push 0
mov ecx, 0x429024
call fcn.004143a1
push 0x429438
lea ecx, [esp + 0x28]
push str.C:Documents_and_Settings_
push ecx
mov dword [0x429020], eax
call fcn.0041427a
push str.new1.jpg
lea edx, [esp + 0x2c]
push eax
push edx
mov dword [esp + 0x44], 0xb
call fcn.00414206
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, esi
lea ecx, [esp + 0x28]
sete bl
call fcn.00414042
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414042
test bl, bl
je 0x403f9b
mov eax, dword [0x429020]
mov ecx, edi
push eax
push ebp
call fcn.004051c0
push 0x429438
lea ecx, [esp + 0x2c]
push str.C:Documents_and_Settings_
push ecx
call fcn.0041427a
push str.new1.bmp
lea edx, [esp + 0x14]
push eax
push edx
mov dword [esp + 0x44], 0xc
call fcn.00414206
mov bl, 0xe
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call fcn.00414042
push 0x429438
lea eax, [esp + 0x28]
push str.C:Documents_and_Settings_
push eax
call fcn.0041427a
push str.new1.jpg
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x44], 0xf
call fcn.00414206
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0x11
call fcn.00414042
push str.jpgdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.BmpToJpg
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x32
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.004143a1
push eax
push 0x32
lea ecx, [esp + 0x18]
call fcn.004143a1
push eax
call ebp
push esi
lea ecx, [esp + 0x14]
call fcn.004143f0
push esi
lea ecx, [esp + 0x18]
call fcn.004143f0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00414042
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x10]
jmp 0x403f96
cmp eax, 2
jne 0x403a0b
cmp dword [0x429b48], ebx
jne 0x403fae
push 0x429438
lea ecx, [esp + 0x28]
push str.c:Documents_and_Settings_
push ecx
call fcn.0041427a
push str.new2.bmp
lea edx, [esp + 0x2c]
mov ebx, 0x12
push eax
push edx
mov dword [esp + 0x44], ebx
call fcn.00414206
push eax
mov ecx, 0x429024
mov byte [esp + 0x3c], 0x13
call fcn.004140eb
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call fcn.00414042
or esi, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414042
push 0
mov ecx, 0x429024
call fcn.004143a1
mov dword [0x429020], eax
push 0x429438
lea eax, [esp + 0x28]
push str.C:Documents_and_Settings_
push eax
call fcn.0041427a
push str.new2.jpg
lea ecx, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x44], 0x14
call fcn.00414206
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, esi
lea ecx, [esp + 0x28]
sete bl
call fcn.00414042
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414042
test bl, bl
je 0x403f9b
mov edx, dword [0x429020]
mov ecx, edi
push edx
push ebp
call fcn.004051c0
push 0x429438
lea eax, [esp + 0x2c]
push str.C:Documents_and_Settings_
push eax
call fcn.0041427a
push str.new2.bmp
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x44], 0x15
call fcn.00414206
mov bl, 0x17
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call fcn.00414042
push 0x429438
lea edx, [esp + 0x28]
push str.C:Documents_and_Settings_
push edx
call fcn.0041427a
push str.new2.jpg
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x40], 0x18
push eax
call fcn.00414206
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0x1a
call fcn.00414042
push str.jpgdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.BmpToJpg
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x32
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.004143a1
push eax
push 0x32
lea ecx, [esp + 0x18]
call fcn.004143a1
push eax
call ebp
push esi
lea ecx, [esp + 0x14]
call fcn.004143f0
push esi
lea ecx, [esp + 0x18]
call fcn.004143f0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x14]
push 2
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00414042
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x10]
jmp 0x403f96
cmp eax, 3
jne 0x403be6
cmp dword [0x429b48], ebx
jne 0x403fae
push 0x429438
lea eax, [esp + 0x28]
push str.c:Documents_and_Settings_
push eax
call fcn.0041427a
push str.new3.bmp
lea ecx, [esp + 0x2c]
mov ebx, 0x1b
push eax
push ecx
mov dword [esp + 0x44], ebx
call fcn.00414206
push eax
mov ecx, 0x429024
mov byte [esp + 0x3c], 0x1c
call fcn.004140eb
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call fcn.00414042
or esi, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414042
push 0
mov ecx, 0x429024
call fcn.004143a1
push 0x429438
lea edx, [esp + 0x28]
push str.C:Documents_and_Settings_
push edx
mov dword [0x429020], eax
call fcn.0041427a
push str.new3.jpg
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x40], 0x1d
push eax
call fcn.00414206
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, esi
lea ecx, [esp + 0x28]
sete bl
call fcn.00414042
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414042
test bl, bl
je 0x403f9b
mov ecx, dword [0x429020]
push ecx
push ebp
mov ecx, edi
call fcn.004051c0
push 0x429438
lea edx, [esp + 0x2c]
push str.C:Documents_and_Settings_
push edx
call fcn.0041427a
push str.new3.bmp
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0x1e
push eax
call fcn.00414206
mov bl, 0x20
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call fcn.00414042
push 0x429438
lea ecx, [esp + 0x28]
push str.C:Documents_and_Settings_
push ecx
call fcn.0041427a
push str.new3.jpg
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x44], 0x21
call fcn.00414206
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0x23
call fcn.00414042
push str.jpgdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.BmpToJpg
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x32
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.004143a1
push eax
push 0x32
lea ecx, [esp + 0x18]
call fcn.004143a1
push eax
call ebp
push esi
lea ecx, [esp + 0x14]
call fcn.004143f0
push esi
lea ecx, [esp + 0x18]
call fcn.004143f0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x14]
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00414042
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x10]
jmp 0x403f96
cmp eax, 4
jne 0x403dc0
cmp dword [0x429b48], ebx
jne 0x403fae
push 0x429438
lea edx, [esp + 0x28]
push str.c:Documents_and_Settings_
push edx
call fcn.0041427a
push str.new4.bmp
push eax
lea eax, [esp + 0x30]
mov ebx, 0x24
push eax
mov dword [esp + 0x44], ebx
call fcn.00414206
push eax
mov ecx, 0x429024
mov byte [esp + 0x3c], 0x25
call fcn.004140eb
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call fcn.00414042
or esi, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414042
push 0
mov ecx, 0x429024
call fcn.004143a1
push 0x429438
lea ecx, [esp + 0x28]
push str.C:Documents_and_Settings_
push ecx
mov dword [0x429020], eax
call fcn.0041427a
push str.new4.jpg
lea edx, [esp + 0x2c]
push eax
push edx
mov dword [esp + 0x44], 0x26
call fcn.00414206
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, esi
lea ecx, [esp + 0x28]
sete bl
call fcn.00414042
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414042
test bl, bl
je 0x403f9b
mov eax, dword [0x429020]
mov ecx, edi
push eax
push ebp
call fcn.004051c0
push 0x429438
lea ecx, [esp + 0x2c]
push str.C:Documents_and_Settings_
push ecx
call fcn.0041427a
push str.new4.bmp
lea edx, [esp + 0x14]
push eax
push edx
mov dword [esp + 0x44], 0x27
call fcn.00414206
mov bl, 0x29
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call fcn.00414042
push 0x429438
lea eax, [esp + 0x28]
push str.C:Documents_and_Settings_
push eax
call fcn.0041427a
push str.new4.jpg
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x44], 0x2a
call fcn.00414206
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0x2c
call fcn.00414042
push str.jpgdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.BmpToJpg
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x32
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.004143a1
push eax
push 0x32
lea ecx, [esp + 0x18]
call fcn.004143a1
push eax
call ebp
push esi
lea ecx, [esp + 0x14]
call fcn.004143f0
push esi
lea ecx, [esp + 0x18]
call fcn.004143f0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00414042
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x10]
jmp 0x403f96
cmp eax, 5
jne 0x403f9b
cmp dword [0x429b48], ebx
jne 0x403fae
push 0x429438
lea ecx, [esp + 0x28]
push str.c:Documents_and_Settings_
push ecx
call fcn.0041427a
push str.new5.bmp
lea edx, [esp + 0x2c]
mov ebx, 0x2d
push eax
push edx
mov dword [esp + 0x44], ebx
call fcn.00414206
push eax
mov ecx, 0x429024
mov byte [esp + 0x3c], 0x2e
call fcn.004140eb
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call fcn.00414042
or esi, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414042
push 0
mov ecx, 0x429024
call fcn.004143a1
mov dword [0x429020], eax
push 0x429438
lea eax, [esp + 0x28]
push str.C:Documents_and_Settings_
push eax
call fcn.0041427a
push str.new5.jpg
lea ecx, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x44], 0x2f
call fcn.00414206
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, esi
lea ecx, [esp + 0x28]
sete bl
call fcn.00414042
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414042
test bl, bl
je 0x403f9b
mov edx, dword [0x429020]
mov ecx, edi
push edx
push ebp
call fcn.004051c0
push 0x429438
lea eax, [esp + 0x2c]
push str.C:Documents_and_Settings_
push eax
call fcn.0041427a
push str.new5.bmp
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x44], 0x30
call fcn.00414206
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 0x32
call fcn.00414042
push 0x429438
lea edx, [esp + 0x30]
push str.C:Documents_and_Settings_
push edx
call fcn.0041427a
push str.new5.jpg
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x40], 0x33
push eax
call fcn.00414206
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 0x35
call fcn.00414042
push str.jpgdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.BmpToJpg
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x32
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.004143a1
push eax
push 0x32
lea ecx, [esp + 0x24]
call fcn.004143a1
push eax
call ebp
push esi
lea ecx, [esp + 0x20]
call fcn.004143f0
push esi
lea ecx, [esp + 0x1c]
call fcn.004143f0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
push 2
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0x32
call fcn.00414042
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x1c]
call fcn.00414042
mov eax, dword [0x429b48]
test eax, eax
jne 0x403faa
inc dword [0x429b68]
mov esi, dword [esp + 0x20]
push esi
call fcn.00413524
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret