Function at 0x4045a5
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
sub esp, 0x88
lea ebp, [esp - 4]
mov eax, dword [0x489c20]
xor eax, ebp
mov dword [ebp + 0x88], eax
push 0x48
mov eax, 0x4707c4
call fcn.00450afd
mov eax, dword [ebp + 0x94]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00401494
push 0x47c880
xor ebx, ebx
push 0x6a
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x40467d
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
cmp edi, ebx
je 0x40467d
cmp eax, ebx
je 0x40467d
push eax
push edi
call fcn.0040e1d8
mov esi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044e4ef
push dword [ebp - 0x1c]
mov ebx, eax
push edi
call fcn.0040e1d8
add esp, 0x14
push esi
push ebx
lea ecx, [ebp]
call fcn.00401ca3
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x40465d
lea eax, [ebp + 4]
push eax
lea esi, [ebp + 0x1c]
call fcn.0040d9d2
push ebx
test al, al
jne 0x4046b1
call fcn.0044f119
pop ecx
push 0
push 1
lea ecx, [ebp]
call fcn.00401fd6
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x1c]
push eax
call fcn.004014da
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.0044eff8
add ebp, 0x8c
leave
ret 4
call fcn.0044f119
xor ebx, ebx
mov eax, esp
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x68], ebx
lea esi, [ebp + 0x1c]
mov dword [ebp - 0x10], esp
mov dword [eax], 0x47ca44
call fcn.0040dd5f
test al, al
jne 0x4046e4
push ebx
jmp 0x404673
mov esi, dword [ebp - 0x14]
add esi, 0x2cc
push esi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push str.ProductSkin
push eax
call fcn.004019b7
lea edi, [ebp + 0x1c]
call fcn.004044e9
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x404719
push str.blue
push esi
call fcn.00401a3d
mov ebx, dword [ebp - 0x14]
lea eax, [ebx + 0x2a0]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push str.ProductExe
push eax
call fcn.004019b7
lea edi, [ebp + 0x1c]
call fcn.004044e9
lea esi, [ebx + 0x2a4]
push esi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push str.Url_Down
push eax
call fcn.004019b7
call fcn.004044e9
mov esi, dword [esi]
push str..net_
push esi
call fcn.0044f7f2
pop ecx
pop ecx
test eax, eax
je 0x404773
mov byte [ebx + 0x2e9], 1
lea eax, [ebx + 0x2b0]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push str.ProductInstallPath
push eax
call fcn.004019b7
lea edi, [ebp + 0x1c]
call fcn.004044e9
lea eax, [ebx + 0x2b4]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x47cad8
push eax
call fcn.004019b7
call fcn.004044e9
lea eax, [ebx + 0x2b8]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push str.AppID
push eax
call fcn.004019b7
call fcn.004044e9
lea esi, [ebx + 0x2bc]
push esi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push str.Channel
push eax
call fcn.004019b7
call fcn.004044e9
mov eax, esi
call fcn.00401bac
lea esi, [ebx + 0x2c4]
push esi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push str.ProductBrand
push eax
call fcn.004019b7
call fcn.004044e9
mov esi, dword [esi]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.00406a3c
lea esi, [ebp - 0x54]
call fcn.0040c7b9
add esp, 0x1c
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 8
jb 0x404838
mov eax, dword [eax + 4]
jmp 0x40483b
add eax, 4
lea esi, [ebx + 0x2dc]
push eax
push esi
mov dword [ebp - 0x10], esi
call fcn.00401a3d
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401fd6
mov eax, dword [0x48c260]
mov ecx, 0x48c260
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.ProductID
push eax
mov byte [ebp - 4], 3
call fcn.004019b7
lea edi, [ebp + 0x1c]
call fcn.004044e9
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x404915
push ecx
call fcn.0044fc0a
mov dword [ebx + 0x2c0], eax
lea eax, [ebp - 0x24]
mov dword [esp], str.DownTask_
push eax
mov ecx, esi
call fcn.00403912
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004038c1
lea ecx, [ebp - 0x14]
push str..xml
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00403912
add esp, 0x18
lea edi, [ebx + 0x2d8]
mov byte [ebp - 4], 6
call fcn.004019fc
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401464
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [0x48c260]
mov ecx, 0x48c260
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.OnlyUseLocalUrl
push eax
mov byte [ebp - 4], 7
call fcn.004019b7
lea edi, [ebp + 0x1c]
call fcn.004044e9
mov eax, dword [ebp - 0x1c]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x404960
push eax
call fcn.0044fc0a
pop ecx
mov dword [ebx + 0x2d0], eax
lea edi, [ebx + 0x2c0]
push dword [edi]
call fcn.0040808f
pop ecx
test eax, eax
je 0x40497b
xor eax, eax
inc eax
mov word [0x48cefc], ax
mov eax, dword [edi]
mov dword [0x48cdb0], eax
push dword [ebx + 0x2bc]
lea ecx, [ebp - 0x54]
call fcn.00406a3c
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x48cdb4
mov byte [ebp - 4], 8
call fcn.0040227d
push esi
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.00401fd6
lea esi, [ebx + 0x2c4]
mov eax, dword [esi]
push dword [eax - 0xc]
call fcn.00401255
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00406a3c
lea ecx, [ebp - 0x54]
call fcn.0040ccd1
add esp, 0x1c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x48ce08
mov byte [ebp - 4], 9
call fcn.0040227d
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.00401fd6
lea ecx, [ebp - 0x14]
call fcn.00407f66
lea edi, [ebx + 0x2b0]
mov byte [ebp - 4], 0xa
call fcn.004019fc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401464
mov edi, dword [edi]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.00406a3c
call fcn.00403b57
mov eax, dword [0x48c260]
mov esi, 0x48c260
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.InstallTime
push eax
mov byte [ebp - 4], 0xb
call fcn.004019b7
lea edi, [ebp + 0x1c]
call fcn.004044e9
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x404aa5
push eax
call fcn.0044fc0a
pop ecx
lea ecx, [ebx + 0x2c8]
mov dword [ecx], eax
cmp eax, 5
jae 0x404a97
mov dword [ecx], 0x1e
cmp dword [ecx], 0x12c
jbe 0x404aa5
mov dword [ecx], 0x78
lea eax, [ebx + 0x2a8]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.Url_Install
push eax
call fcn.004019b7
lea edi, [ebp + 0x1c]
call fcn.004044e9
lea edi, [ebx + 0x2d4]
lea eax, [ebx + 0x2a8]
call fcn.004019fc
lea eax, [ebx + 0x2ac]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.Url_License
push eax
call fcn.004019b7
lea edi, [ebp + 0x1c]
call fcn.004044e9
mov eax, dword [ebx + 0x2ac]
lea ecx, [ebx + 0x134]
push eax
call fcn.004039d0
xor edi, edi
cmp dword [ebx + 0x148], edi
jne 0x404b22
push str.http:__pop.wondershare.com_license.html
lea ecx, [ebx + 0x134]
call fcn.004039d0
lea eax, [ebx + 0x2bc]
mov ecx, dword [eax]
mov ecx, dword [ecx - 0xc]
cmp ecx, edi
je 0x404b61
lea edi, [ebx + 0x2b8]
mov edx, dword [edi]
mov edx, dword [edx - 0xc]
push ecx
mov esi, eax
mov dword [ebp - 0x14], edx
call fcn.00401255
push eax
push dword [ebp - 0x14]
mov esi, edi
call fcn.00401255
push eax
call fcn.00407df4
pop ecx
pop ecx
mov esi, 0x48c260
xor edi, edi
cmp dword [ebx + 0x2d0], 1
jne 0x404b9e
lea eax, [ebx + 0x2a8]
lea edi, [ebx + 0x2d4]
call fcn.004019fc
lea esi, [ebx + 0x2ac]
mov eax, dword [esi]
push dword [eax - 0xc]
call fcn.00401255
push eax
lea ecx, [ebx + 0x134]
call fcn.004039d0
mov esi, 0x48c260
xor edi, edi
xor eax, eax
cmp dword [ebp + 0x58], edi
push ecx
setne al
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x70], edi
mov dword [ebp - 0x18], esp
mov dword [ebp + 0x68], eax
mov eax, esp
mov dword [eax], str.MainProduct
lea eax, [ebp + 0x1c]
call fcn.0040ddb4
test al, al
je 0x404d87
lea eax, [ebp + 0x1c]
call fcn.0040e398
test al, al
je 0x404d87
mov eax, dword [0x48c260]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.ProductID
push eax
mov byte [ebp - 4], 0xc
call fcn.004019b7
lea edi, [ebp + 0x1c]
call fcn.004044e9
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
je 0x404d71
push edi
call fcn.0044fc0a
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x404d71
mov eax, dword [0x48c260]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xd
mov eax, dword [0x48c260]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xe
mov eax, dword [0x48c260]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
push 0x47cad8
push eax
mov byte [ebp - 4], 0xf
call fcn.004019b7
lea edi, [ebp + 0x1c]
call fcn.004044e9
lea eax, [ebp - 0x20]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
push str.ProductDownUrl
push eax
call fcn.004019b7
call fcn.004044e9
lea eax, [ebp - 0x28]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
push str.ProductExe
push eax
call fcn.004019b7
call fcn.004044e9
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x2f0], eax
mov eax, dword [ebp - 0x30]
push dword [eax - 0xc]
lea esi, [ebp - 0x30]
call fcn.00401255
push eax
lea ecx, [ebx + 0x2f4]
call fcn.004039d0
mov eax, dword [ebp - 0x20]
push dword [eax - 0xc]
lea esi, [ebp - 0x20]
call fcn.00401255
push eax
lea ecx, [ebx + 0x348]
call fcn.004039d0
mov eax, dword [ebp - 0x28]
push dword [eax - 0xc]
lea esi, [ebp - 0x28]
call fcn.00401255
push eax
lea ecx, [ebx + 0x310]
call fcn.004039d0
mov edi, dword [ebp - 0x30]
mov eax, dword [edi - 0xc]
lea esi, [ebp - 0x30]
call fcn.00406a1e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax - 0xc]
lea esi, [ebp - 0x20]
call fcn.00406a1e
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
lea esi, [ebp - 0x28]
call fcn.00406a1e
xor eax, eax
inc eax
mov word [0x48cf08], ax
mov eax, dword [ebx + 0x2f0]
mov dword [0x48cf04], eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00401464
lea eax, [edi - 0x10]
call fcn.00401464
mov edi, dword [ebp - 0x14]
lea eax, [ebp + 0x1c]
call fcn.0040e3ca
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00401464
xor edi, edi
push 0x47cc40
push 0x69
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x404dc2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00401464
push edi
jmp 0x404673
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push 0x47cc48
push eax
call fcn.00403912
pop ecx
pop ecx
push edi
push 0x80
push 4
push edi
push edi
push 0xc0000000
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x404e23
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00401464
push edi
push 1
lea ecx, [ebp]
call fcn.00401fd6
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x1c]
push eax
call fcn.004014da
xor eax, eax
inc eax
jmp 0x40468c