Function at 0x412920
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x49a1b0]
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.0040e950
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.004130b0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004080c0
lea edx, [ebp - 0x198]
push edx
call fcn.00413000
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
call fcn.004119b0
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0040e930
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.0040e930
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x168]
call fcn.004119f0
lea ecx, [ebp - 0x24]
call fcn.004187b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.0040ed00
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0045f000
add esp, 8
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004187e0
test eax, eax
jle 0x412a51
lea ecx, [ebp - 0x198]
call fcn.0040ed00
push eax
lea edx, [ebp - 0x2a4]
push edx
call fcn.0045f000
add esp, 8
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x24]
call fcn.00418a60
lea ecx, [ebp - 0x2c]
call fcn.0040ed00
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.004013c0
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x2b4], 0
je 0x412a98
mov ecx, dword [ebp - 0x2b4]
call fcn.00446d9d
mov dword [ebp - 0x2d8], eax
jmp 0x412aa2
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.00447309
lea ecx, [ebp - 0x160]
call fcn.00446d9d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00446d9d
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00413250
mov edx, dword [ebp - 0x174]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00413250
push 8
call fcn.004013c0
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x2bc], 0
je 0x412b30
mov ecx, dword [ebp - 0x2bc]
call fcn.004131b0
mov dword [ebp - 0x2dc], eax
jmp 0x412b3a
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.0040ed00
push eax
call fcn.00413130
add esp, 4
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
push edx
mov ecx, dword [ebp - 0x150]
call fcn.004475d9
mov eax, dword [ebp - 0x150]
push eax
lea ecx, [ebp - 0x160]
call fcn.00413280
lea ecx, [ebp - 0x190]
push ecx
push 0x18
mov ecx, dword [ebp - 0x150]
call fcn.00413180
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.004013c0
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x2c4], 0
je 0x412c05
mov ecx, dword [ebp - 0x2c4]
call fcn.004131b0
mov dword [ebp - 0x2e0], eax
jmp 0x412c0f
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.00413220
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00413280
push 4
lea ecx, [ebp - 0x3c]
call fcn.004077a0
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.004132b0
mov edx, dword [ebp - 0x40]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x198]
call fcn.0040ed00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x28]
call fcn.004077a0
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00447386
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x160]
call fcn.00447386
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004187d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
call fcn.004119d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x198]
call fcn.0040ea40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040ea40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040ea40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040ea40
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.0045cdbc
mov esp, ebp
pop ebp
ret