Function at 0x439d00
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6234d8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x690a1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 8
shr eax, 0x10
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x5c], eax
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x43a27c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push str.__d_theme.png
push eax
call fcn.00407320
add esp, 0xc
mov ecx, esi
call fcn.0048b3b0
push eax
lea ecx, [ebp - 0x4c]
call fcn.004086e0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
test eax, eax
je 0x43a286
mov esi, dword [ebp - 0x50]
mov edx, eax
mov ecx, esi
nop word [eax + eax]
mov di, word [ecx]
cmp di, word [edx]
jne 0x439dd6
test di, di
je 0x439dd2
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x439dd6
add ecx, 4
add edx, 4
test di, di
jne 0x439db0
xor ecx, ecx
jmp 0x439ddb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x439e39
add eax, 0xfffffff0
push eax
call fcn.00407150
mov ecx, dword [ebp - 0x3c]
add eax, 0x10
mov edx, dword [ebp - 0x4c]
or edi, 0xffffffff
add esp, 4
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov dword [ecx], eax
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439e14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x43a248
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x43a248
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
mov ecx, eax
call fcn.0043f3b0
push eax
lea ecx, [ebp - 0x38]
call fcn.004086e0
mov byte [ebp - 4], 2
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x43a290
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x43a29a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x48]
call fcn.0041aac0
push esi
push str..png
lea ecx, [ebp - 0x48]
call fcn.0040a6f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041aac0
push str._temp.png
push str..png
lea ecx, [ebp - 0x44]
call fcn.0040a6f0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
push dword [ebp - 0x38]
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov esi, dword [ebp - 0x54]
lea eax, [ebp - 0x28]
push eax
push esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0
call sub.gdiplus.dll_GdipGetImageWidth
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push esi
call sub.gdiplus.dll_GdipGetImageHeight
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x28]
push eax
push 0
push 0x26200a
push 0
push edi
push esi
mov dword [ebp - 0x58], 0
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x78]
push eax
push 0x26200a
push 1
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], edi
call sub.gdiplus.dll_GdipBitmapLockBits
lea eax, [ebp - 0xa4]
push eax
push 0x26200a
push 2
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x34]
call sub.gdiplus.dll_GdipBitmapLockBits
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x94]
test edi, edi
jle 0x439fce
nop dword [eax]
test esi, esi
jle 0x439fc9
mov ecx, dword [ebp - 0x5c]
mov byte [eax], cl
mov ecx, dword [ebp - 0x30]
mov byte [eax + 1], cl
mov ecx, dword [ebp + 0x10]
mov byte [eax + 2], cl
mov cl, byte [edx + 3]
add edx, 4
mov byte [eax + 3], cl
add eax, 4
sub esi, 1
jne 0x439fa4
mov esi, dword [ebp - 0x28]
sub edi, 1
jne 0x439fa0
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x34]
call sub.gdiplus.dll_GdipBitmapUnlockBits
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x2c]
call sub.gdiplus.dll_GdipBitmapUnlockBits
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0
push eax
call sub.gdiplus.dll_GdipGetImageEncodersSize
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43a088
push eax
call fcn.005ebe6e
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
test edi, edi
je 0x43a088
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call sub.gdiplus.dll_GdipGetImageEncoders
xor esi, esi
cmp dword [ebp - 0x28], esi
jbe 0x43a07f
add edi, 0x30
mov eax, dword [edi]
mov ecx, str.image_png
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43a066
test dx, dx
je 0x43a062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43a066
add eax, 4
add ecx, 4
test dx, dx
jne 0x43a040
xor eax, eax
jmp 0x43a06b
sbb eax, eax
or eax, 1
test eax, eax
je 0x43a268
inc esi
add edi, 0x4c
cmp esi, dword [ebp - 0x28]
jb 0x43a033
mov edi, dword [ebp - 0x40]
push edi
call fcn.005ebe53
add esp, 4
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push 0
push eax
push edi
push dword [ebp - 0x34]
call sub.gdiplus.dll_GdipSaveImageToFile
push dword [ebp - 0x34]
call sub.gdiplus.dll_GdipDisposeImage
push dword [ebp - 0x2c]
call sub.gdiplus.dll_GdipDisposeImage
mov eax, dword [edi - 0xc]
mov esi, dword [ebp - 0x48]
test eax, eax
je 0x43a1a3
cmp dword [esi - 0xc], 0
je 0x43a1a3
add eax, 2
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fa4ff
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43a1a3
mov ecx, dword [ebp - 0x30]
add ecx, ecx
push ecx
push 0
push eax
call fcn.005e3920
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push dword [ebp - 0x2c]
call fcn.005e2e20
mov eax, dword [esi - 0xc]
xor ecx, ecx
add eax, 2
mov edx, 2
mov dword [ebp - 0x30], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fa4ff
add esp, 0x1c
mov dword [ebp - 0x24], eax
test eax, eax
je 0x43a1a3
mov ecx, dword [ebp - 0x30]
add ecx, ecx
push ecx
push 0
push eax
call fcn.005e3920
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push dword [ebp - 0x24]
call fcn.005e2e20
xor eax, eax
mov dword [ebp - 0x64], 0
mov word [ebp - 0x60], ax
xorps xmm0, xmm0
mov dword [ebp - 0x7c], eax
add esp, 0x18
mov eax, 0x614
movlpd qword [ebp - 0x6c], xmm0
or word [ebp - 0x6c], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x78], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push dword [ebp - 0x2c]
call fcn.004fa508
push dword [ebp - 0x24]
call fcn.004fa508
add esp, 8
add esi, 0xfffffff0
push esi
call fcn.00407150
mov ecx, dword [ebp - 0x3c]
lea edx, [edi - 0x10]
add eax, 0x10
mov byte [ebp - 4], 3
or edi, 0xffffffff
add esp, 4
mov dword [ecx], eax
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a1d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43a1ed
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a20b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a229
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43a248
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa103
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x40]
imul eax, esi, 0x4c
push ecx
movups xmm0, xmmword [eax + ecx]
movups xmmword [ebp - 0x20], xmm0
jmp 0x43a080
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
int3