Function at 0x45fe2b
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov eax, dword [eax - 0xc]
push str..bmp
add eax, 0xfffffffc
mov dword [ebp - 0x8c], ecx
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp + 0xc]
call fcn.00419299
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004227e4
mov ecx, dword [ebp - 0x70]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00419521
push 0xfde9
push dword [ebp + 8]
call fcn.00507e2a
xor ecx, ecx
xor ebx, ebx
inc ecx
push ecx
push 2
push ebx
push ecx
push eax
call fcn.00403730
mov esi, dword [ebp - 0x84]
add esp, 0x1c
mov dword [ebp - 0x70], eax
test eax, eax
je 0x460111
mov ecx, dword [eax + 4]
imul eax, ecx, 0x18
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x5c], eax
test al, 3
je 0x45fec7
and eax, 0xfffffffc
add eax, 4
mov dword [ebp - 0x5c], eax
mov edi, eax
imul edi, ecx
shl edi, 3
push edi
mov dword [ebp - 0x60], edi
call fcn.0063cd98
mov dword [ebp - 0x68], eax
pop ecx
test eax, eax
je 0x460122
push edi
push 0xff
push eax
call fcn.0060b7a0
mov ecx, dword [ebp - 0x6c]
mov eax, 0x4d42
mov word [ebp - 0x14], ax
add esp, 0xc
lea eax, [edi + 0x36]
mov dword [ebp - 0xa], 0x36
mov dword [ebp - 0x88], eax
xor edx, edx
mov dword [ebp - 0x12], eax
inc edx
xor eax, eax
mov dword [ebp - 0x3c], 0x28
mov dword [ebp - 0xe], eax
mov eax, ecx
shl eax, 3
mov dword [ebp - 0x38], eax
imul eax, ecx, 0xfffffff8
mov word [ebp - 0x30], dx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x50
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0x18
pop eax
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x70]
mov edi, dword [eax + 8]
mov dword [ebp - 0x78], edi
test ecx, ecx
je 0x45ffd1
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
add edx, 2
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x74], edx
mov esi, ecx
mov dword [ebp - 0x7c], ecx
test byte [edi], 1
je 0x45ffa6
push 8
mov edi, edx
pop esi
mov edx, edi
mov dword [ebp - 0x5c], 8
sub dword [ebp - 0x5c], 1
mov word [edx - 2], bx
mov byte [edx], bl
lea edx, [edx + 3]
jne 0x45ff87
add edi, eax
sub esi, 1
jne 0x45ff7e
mov edx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x78]
add edx, 0x18
inc edi
sub esi, 1
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], esi
jne 0x45ff74
mov edx, dword [ebp - 0x80]
mov esi, eax
shl esi, 3
add edx, esi
sub dword [ebp - 0x6c], 1
mov dword [ebp - 0x80], edx
jne 0x45ff6c
mov esi, dword [ebp - 0x84]
push dword [ebp - 0x88]
call fcn.00609926
mov edi, eax
pop ecx
test edi, edi
je 0x45fff7
push dword [ebp - 0x88]
push ebx
push edi
call fcn.0060b7a0
add esp, 0xc
mov byte [edi], bl
jmp 0x45fff9
mov edi, ebx
push 0xe
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.0060aca0
push 0x28
lea eax, [ebp - 0x3c]
push eax
lea eax, [edi + 0xe]
push eax
call fcn.0060aca0
push dword [ebp - 0x60]
lea eax, [edi + 0x36]
push dword [ebp - 0x68]
push eax
call fcn.0060aca0
push edi
call fcn.0060992f
push 0xfde9
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00507e75
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
push 0x6ec43c
cmovae eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0062a656
add esp, 0x40
test eax, eax
jne 0x4600ec
push dword [ebp - 0x64]
inc eax
push eax
lea eax, [ebp - 0x14]
push 0xe
push eax
call fcn.0062b956
push dword [ebp - 0x64]
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x3c]
push 0x28
push eax
call fcn.0062b956
push dword [ebp - 0x64]
xor eax, eax
push dword [ebp - 0x60]
inc eax
push eax
push dword [ebp - 0x68]
call fcn.0062b956
push dword [ebp - 0x64]
call fcn.0062a2ec
add esp, 0x34
mov dword [ebp - 0x9c], vtable.Gdiplus::Bitmap.0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], ebx
push eax
push esi
call sub.gdiplus.dll_GdipCreateBitmapFromFile
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004eb5f1
push dword [ebp - 0x98]
xor edx, edx
lea eax, [edx + 1]
mov byte [ebp - 0x55], al
call sub.gdiplus.dll_GdipDisposeImage
jmp 0x4600ef
mov byte [ebp - 0x55], bl
push dword [ebp - 0x68]
call fcn.006183af
push dword [ebp - 0x70]
call fcn.00403210
pop ecx
pop ecx
xor eax, eax
lea ecx, [ebp - 0x54]
push ebx
inc eax
push eax
call fcn.0041f932
mov bl, byte [ebp - 0x55]
test bl, bl
je 0x460122
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00419521
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00419521
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 8