Function at 0x44bef0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x70], edx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
lea eax, [ecx + 0x58]
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], esi
jb 0x44bf4f
mov eax, dword [eax]
push edx
push ebx
push 0x57c65c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 1
push 0xffffffffffffffff
push 0x57c658
lea ecx, [ebp + 8]
call fcn.0044b070
cmp eax, 0xffffffff
jne 0x44bf7b
push ebx
push 0x65d46c
jmp 0x44bfb1
inc eax
cmp dword [ebp + 0x18], eax
ja 0x44bf8b
push str.invalid_string_position
call fcn.00553608
mov ecx, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x44bf96
lea ecx, [ebp + 8]
lea edx, [ecx + eax*2]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44bfa0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.0044b830
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x44bfcd
lea eax, [ebp + 8]
push ebx
push eax
call fcn.0053af71
add esp, 8
cmp eax, 0xffffffff
jne 0x44bfe6
push 0x64
call edi
inc esi
cmp esi, 0x32
jl 0x44bfc1
cmp esi, 0x32
jne 0x44c029
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x44c001
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00535f7c
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp + 0x1c], esi
jb 0x44c022
mov eax, dword [ebp + 8]
push eax
call fcn.00535f7c
add esp, 4
xor eax, eax
jmp 0x44c497
mov eax, dword [ebp + 8]
mov edi, 8
cmp dword [ebp + 0x1c], edi
jae 0x44c039
lea eax, [ebp + 8]
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.0053aac1
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], edi
jae 0x44c051
lea eax, [ebp - 0x2c]
push 0x57c650
push eax
call fcn.0054bed5
add esp, 8
test eax, eax
jne 0x44c1a2
mov ecx, dword [ebp - 0x54]
push 3
push 0x57c650
call fcn.0044b830
cmp dword [ebp - 0x3c], 0xc800
jle 0x44c44a
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], edi
jae 0x44c08e
lea eax, [ebp + 8]
lea edx, [ebp - 0x60]
push edx
push eax
mov dword [ebp - 0x64], vtable.Gdiplus::Image.0
mov dword [ebp - 0x60], ebx
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x68]
push eax
push ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x68], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x44c0c0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x68]
lea edx, [ebp - 0x6c]
push edx
push eax
mov dword [ebp - 0x6c], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x44c0da
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x60]
push ebx
push ebx
lea ecx, [ebp - 0x54]
push ecx
shr esi, 1
push esi
shr edx, 1
push edx
push eax
mov dword [ebp - 0x54], ebx
call sub.gdiplus.dll_GdipGetImageThumbnail
cmp eax, ebx
je 0x44c0fc
mov dword [ebp - 0x5c], eax
push 0x10
call sub.gdiplus.dll_GdipAlloc
cmp eax, ebx
je 0x44c11d
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
mov dword [eax], vtable.Gdiplus::Image.0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov esi, eax
jmp 0x44c128
mov ecx, dword [ebp - 0x54]
push ecx
xor esi, esi
call sub.gdiplus.dll_GdipDisposeImage
mov edx, dword [0x673734]
mov eax, dword [ebp - 0x70]
mov ecx, dword [esi + 4]
push ebx
push edx
push eax
push ecx
call sub.gdiplus.dll_GdipSaveImageToFile
cmp eax, ebx
je 0x44c148
mov dword [esi + 8], eax
mov edi, eax
jmp 0x44c14a
xor edi, edi
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edx, dword [ebp - 0x60]
xor ecx, ecx
cmp edi, ebx
sete cl
push edx
mov dword [ebp - 0x64], vtable.Gdiplus::Image.0
mov esi, ecx
call sub.gdiplus.dll_GdipDisposeImage
cmp dword [ebp - 0x18], 8
jb 0x44c17f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00535f7c
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
jb 0x44c495
mov edx, dword [ebp + 8]
push edx
jmp 0x44c48d
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x44c1ad
lea eax, [ebp - 0x2c]
push 0x57c648
push eax
call fcn.0054bed5
add esp, 8
test eax, eax
jne 0x44c38a
mov ecx, dword [ebp - 0x54]
push 3
push 0x57c650
call fcn.0044b830
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], edi
jae 0x44c1dd
lea eax, [ebp + 8]
lea edx, [ebp - 0x60]
push edx
push eax
mov dword [ebp - 0x64], vtable.Gdiplus::Image.0
mov dword [ebp - 0x60], ebx
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x6c]
push eax
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x44c20f
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
push edx
push eax
mov dword [ebp - 0x68], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x44c229
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x68]
imul ecx, esi
cmp ecx, 0xc3500
jbe 0x44c2b1
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x6c]
push edx
push eax
mov dword [ebp - 0x6c], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x44c24e
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x7c]
push ecx
push edx
mov dword [ebp - 0x7c], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x44c268
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x60]
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
shr esi, 1
push esi
shr ecx, 1
push ecx
push edx
mov dword [ebp - 0x54], ebx
call sub.gdiplus.dll_GdipGetImageThumbnail
cmp eax, ebx
je 0x44c28a
mov dword [ebp - 0x5c], eax
push 0x10
call sub.gdiplus.dll_GdipAlloc
cmp eax, ebx
je 0x44c2ab
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
mov dword [eax], vtable.Gdiplus::Image.0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov esi, eax
jmp 0x44c329
mov eax, dword [ebp - 0x54]
push eax
jmp 0x44c322
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x74]
push ecx
push edx
mov dword [ebp - 0x74], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x44c2c8
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x78]
push eax
push ecx
mov dword [ebp - 0x78], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x44c2e2
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x60]
push ebx
push ebx
lea edx, [ebp - 0x68]
push edx
push esi
push eax
push ecx
mov dword [ebp - 0x68], ebx
call sub.gdiplus.dll_GdipGetImageThumbnail
cmp eax, ebx
je 0x44c300
mov dword [ebp - 0x5c], eax
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edx, dword [ebp - 0x68]
cmp eax, ebx
je 0x44c321
mov ecx, dword [ebp - 0x5c]
mov dword [eax], vtable.Gdiplus::Image.0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov esi, eax
jmp 0x44c329
push edx
xor esi, esi
call sub.gdiplus.dll_GdipDisposeImage
mov eax, dword [0x673734]
mov ecx, dword [ebp - 0x70]
mov edx, dword [esi + 4]
push ebx
push eax
push ecx
push edx
call sub.gdiplus.dll_GdipSaveImageToFile
cmp eax, ebx
je 0x44c348
mov dword [esi + 8], eax
mov edi, eax
jmp 0x44c34a
xor edi, edi
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, dword [ebp - 0x60]
xor eax, eax
cmp edi, ebx
sete al
push ecx
mov dword [ebp - 0x64], vtable.Gdiplus::Image.0
mov esi, eax
call sub.gdiplus.dll_GdipDisposeImage
cmp dword [ebp - 0x18], 8
jb 0x44c37f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00535f7c
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
jmp 0x44c479
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x44c395
lea eax, [ebp - 0x2c]
push 0x57c640
push eax
call fcn.0054bed5
mov ecx, dword [ebp - 0x54]
add esp, 8
test eax, eax
jne 0x44c43e
push 3
push 0x57c640
call fcn.0044b830
cmp dword [ebp - 0x3c], 0xc800
jle 0x44c44a
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], edi
jae 0x44c3d2
lea eax, [ebp + 8]
lea edx, [ebp - 0x60]
push edx
push eax
mov dword [ebp - 0x64], vtable.Gdiplus::Image.0
mov dword [ebp - 0x60], ebx
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x78]
push eax
push ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x78], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x44c404
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
push edx
push eax
mov dword [ebp - 0x74], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x44c41e
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x74]
push ebx
push ebx
shr esi, 1
shr ecx, 1
push esi
push ecx
lea ecx, [ebp - 0x64]
call fcn.0044b1f0
mov edx, dword [0x67373c]
mov esi, eax
jmp 0x44c12e
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
call fcn.0044b690
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], edi
jae 0x44c455
lea eax, [ebp + 8]
mov ecx, dword [ebp - 0x70]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
cmp dword [ebp - 0x18], edi
jb 0x44c474
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00535f7c
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
jb 0x44c495
mov ecx, dword [ebp + 8]
push ecx
call fcn.00535f7c
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 0x24