Function at 0x1007fe82
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x100eb1ca
call fcn.100c908c
sub esp, 0x40
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x28], ebx
mov esi, 0x101519f8
mov dword [ebp - 4], ebx
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1007170f
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1007170f
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.1007170f
push ebx
push str.http:__
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.1000506b
test eax, eax
jne 0x1007ffbb
cmp byte [edi + 0x1350], al
je 0x1007ffbb
push 0x2f
lea ecx, [ebp + 0xc]
call fcn.1007164b
inc eax
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.1000ec2c
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.1000688b
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10003f60
lea eax, [ebp - 0x28]
push eax
call fcn.10060b08
pop ecx
push str.images_
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 6
call fcn.10006fb9
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call fcn.10006f5b
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.1000688b
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10003f60
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.1000548f
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.1007f2f5
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.1000688b
mov ecx, dword [ebp - 0x28]
jmp 0x100800be
push 0x5c
lea ecx, [ebp + 0xc]
call fcn.1007164b
inc eax
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0xc]
call fcn.1000ec2c
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.1000688b
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10003f60
lea eax, [ebp - 0x24]
push eax
call fcn.10060b08
pop ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xb
call fcn.10006f5b
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.1000688b
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10003f60
mov eax, dword [ebp + 0xc]
mov esi, dword [eax - 0xc]
push ebx
push str..png
lea ecx, [ebp + 0xc]
call fcn.1000506b
add esi, 0xfffffffc
cmp eax, esi
sete al
test al, al
jne 0x10080063
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000688b
jmp 0x100800ca
lea eax, [ebp - 0x20]
push eax
call fcn.10060f33
pop ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xd
call fcn.10006f5b
add esp, 0xc
push str..bmp
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xe
call fcn.10006fb9
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call fcn.1000688b
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10003f60
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
jne 0x100801bb
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x100801bb
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x14]
mov esi, dword [eax - 0xc]
push ebx
push str..png
lea ecx, [ebp - 0x14]
call fcn.1000506b
add esi, 0xfffffffc
cmp eax, esi
jne 0x100801bb
mov eax, dword [0x10150c28]
cmp eax, ebx
jne 0x1008016d
lea eax, [ebp - 0x24]
push eax
call fcn.10060b08
pop ecx
push str.ImageConversion.dll
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x10
call fcn.10006fb9
add esp, 0xc
push dword [eax]
call fcn.1001f65e
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov dword [0x10150c28], eax
call fcn.10003f60
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10003f60
mov eax, dword [0x10150c28]
cmp eax, ebx
je 0x100801bb
cmp eax, 0xffffffff
je 0x100801bb
push str.ConvertToBMP
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x100801bb
test edi, edi
je 0x10080197
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1008019b
xor eax, eax
jmp 0x100801b4
lea esi, [eax + eax]
mov eax, esi
call fcn.100c91f0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.10003212
push 4
push eax
call ebx
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.1000548f
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
lea ecx, [edi - 0x10]
call fcn.10003f60
jmp 0x1008028c
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8