Function at 0x412930
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b798
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x4991b0]
xor eax, ebp
mov dword [ebp - 0x44], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push str.ibryte_dl_image.tmp
lea ecx, [ebp - 0x10]
call fcn.0040e940
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.004130c0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00407eb0
lea edx, [ebp - 0x198]
push edx
call fcn.00413010
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
call fcn.004119c0
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0040e920
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], ecx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x2ac], esp
lea edx, [ebp + 8]
push edx
call fcn.0040e920
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x168]
call fcn.00411a00
lea ecx, [ebp - 0x24]
call fcn.00418580
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.0040edb0
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0045eb90
add esp, 8
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004185b0
test eax, eax
jle 0x412a61
lea ecx, [ebp - 0x198]
call fcn.0040edb0
push eax
lea edx, [ebp - 0x2a4]
push edx
call fcn.0045eb90
add esp, 8
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x24]
call fcn.00418830
lea ecx, [ebp - 0x2c]
call fcn.0040edb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x40], eax
push 0x10
call fcn.004013d0
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x2b4], 0
je 0x412aa8
mov ecx, dword [ebp - 0x2b4]
call fcn.0044699b
mov dword [ebp - 0x2d8], eax
jmp 0x412ab2
mov dword [ebp - 0x2d8], 0
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2b0], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00446f29
lea ecx, [ebp - 0x160]
call fcn.0044699b
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.0044699b
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00413260
mov edx, dword [ebp - 0x174]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00413260
push 8
call fcn.004013d0
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x2bc], 0
je 0x412b40
mov ecx, dword [ebp - 0x2bc]
call fcn.004131c0
mov dword [ebp - 0x2dc], eax
jmp 0x412b4a
mov dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x150], ecx
lea ecx, [ebp - 0x198]
call fcn.0040edb0
push eax
call fcn.00413140
add esp, 4
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
push edx
mov ecx, dword [ebp - 0x150]
call fcn.004471f9
mov eax, dword [ebp - 0x150]
push eax
lea ecx, [ebp - 0x160]
call fcn.00413290
lea ecx, [ebp - 0x190]
push ecx
push 0x18
mov ecx, dword [ebp - 0x150]
call fcn.00413190
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x164], edx
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp + 0x14]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp + 0x10]
mov dword [ebp - 0x178], edx
push 8
call fcn.004013d0
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x2c4], 0
je 0x412c15
mov ecx, dword [ebp - 0x2c4]
call fcn.004131c0
mov dword [ebp - 0x2e0], eax
jmp 0x412c1f
mov dword [ebp - 0x2e0], 0
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x178]
push edx
mov eax, dword [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x160]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.00413230
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00413290
push 4
lea ecx, [ebp - 0x3c]
call fcn.004132c0
push eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
mov eax, dword [ebp - 0x194]
push eax
mov ecx, dword [ebp - 0x164]
push ecx
push 0
push 0
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x16c]
push ecx
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.004132f0
mov edx, dword [ebp - 0x40]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x198]
call fcn.0040edb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x28]
call fcn.004132c0
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00446fa6
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x160]
call fcn.00446fa6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004185a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
call fcn.004119e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x198]
call fcn.0040ea70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040ea70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040ea70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040ea70
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.0045c94d
mov esp, ebp
pop ebp
ret