Function at 0x457990
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x138
lea eax, [ebp - 0x98]
push esi
push edi
push eax
push dword [0x74b5d8]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x458188
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x90]
mov esi, eax
sub ecx, dword [ebp - 0x98]
imul esi, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], eax
shl esi, 2
push esi
call fcn.005ab960
add esp, 4
mov dword [ebp - 0x24], eax
push esi
push 0
push eax
call fcn.005c3040
mov edi, dword [0x74b714]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov esi, dword [edi]
mov dword [ebp - 0x30], esi
cmp esi, edi
je 0x45817d
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x130]
call fcn.004141c0
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], eax
lea eax, [esi + 0x24]
push eax
call fcn.00427b40
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x108]
call fcn.00427b40
mov eax, dword [esi + 0x40]
lea ecx, [ebp - 0xdc]
movss xmm0, dword [esi + 0x3c]
mov dword [ebp - 0xf8], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0xf4], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0xf0], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0xec], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0xe4], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0xe0], eax
lea eax, [esi + 0x5c]
movss dword [ebp - 0xfc], xmm0
movss xmm0, dword [esi + 0x50]
push eax
movss dword [ebp - 0xe8], xmm0
call fcn.00427e40
lea eax, [esi + 0x68]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004141c0
lea eax, [esi + 0x80]
push eax
lea ecx, [ebp - 0xb8]
call fcn.004141c0
mov al, byte [esi + 0x98]
mov edx, 0x811c9dc5
cmp dword [ebp - 0x11c], 0xf
mov byte [ebp - 0xa0], al
mov al, byte [esi + 0x99]
mov byte [ebp - 0x9f], al
mov al, byte [esi + 0x9a]
mov byte [ebp - 0x9e], al
lea eax, [ebp - 0x130]
cmova eax, dword [ebp - 0x130]
xor ecx, ecx
cmp dword [ebp - 0x120], ecx
jbe 0x457b39
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x120]
jb 0x457b21
mov edi, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x130]
mov ecx, 0x74b730
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004100f0
mov edx, dword [0x74b734]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
mov dword [ebp - 0x34], edx
cmp edx, dword [0x74b734]
je 0x457f01
movups xmm1, xmmword [edx + 0x40]
movaps xmm0, xmm1
movd ecx, xmm1
psrldq xmm0, 8
movd eax, xmm0
movaps xmm0, xmm1
mov dword [ebp - 0x18], ecx
psrldq xmm0, 0xc
sub eax, ecx
psrldq xmm1, 4
movd ecx, xmm0
mov dword [ebp - 0x14], eax
movd eax, xmm1
mov edx, ecx
sub edx, eax
mov eax, dword [ebp - 8]
sub eax, ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x457f01
mov eax, dword [ecx]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [eax + 0x30]
lea edx, [ebp - 0x40]
push edx
call eax
test al, al
je 0x457f01
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
xor edx, edx
push dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x14]
inc dword [ebp - 0x28]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x3c]
push eax
push 0
call fcn.004c8770
mov eax, dword [0x74b6e0]
add esp, 0x28
cmp eax, 2
jne 0x457d46
mov edi, dword [0x74b734]
mov esi, dword [edi]
cmp esi, edi
je 0x457ef0
test byte [esi + 0x3b], 1
je 0x457d37
movups xmm1, xmmword [esi + 0x40]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
movaps xmm0, xmm1
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x70], xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
psrldq xmm1, 4
movd eax, xmm1
mov edx, ecx
sub edx, eax
mov eax, dword [ebp - 8]
sub eax, ecx
mov cl, byte [esi + 0x3b]
shr cl, 2
add edx, eax
and cl, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x44], cl
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x70]
mov dword [ebp - 0x64], edx
sub edx, eax
mov eax, edx
mov dword [ebp - 0x14], ecx
imul eax, ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x10], edx
shl eax, 2
push eax
call fcn.00444cf0
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x54]
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.004c9090
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov ecx, dword [ebp - 0x54]
push dword [ebp - 0x10]
call fcn.004c8fc0
mov ecx, dword [ebp - 0x10]
add esp, 4
mov eax, dword [ebp - 0x14]
xor edx, edx
push dword [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x70]
push dword [ebp - 0x24]
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push eax
push 0
call fcn.004c8770
mov edx, dword [ebp - 0x54]
add esp, 0x28
test edx, edx
je 0x457d37
mov ecx, dword [ebp - 0x4c]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x457d18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458195
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x457c22
jmp 0x457ef0
test eax, eax
jne 0x457ef6
mov eax, dword [ebp - 0x34]
mov edi, dword [0x74b734]
movups xmm0, xmmword [eax + 0x40]
mov esi, dword [edi]
movups xmmword [ebp - 0x80], xmm0
cmp esi, edi
je 0x457ef0
lea ecx, [eax + 8]
mov dword [ebp - 0x38], ecx
nop
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
mov edx, ecx
jbe 0x457d80
mov edx, dword [ecx]
cmp dword [esi + 0x1c], 0xf
lea ecx, [esi + 8]
jbe 0x457d8c
mov ecx, dword [esi + 8]
push dword [ebp - 0x18]
push edx
mov edx, dword [esi + 0x18]
call fcn.004108e0
add esp, 8
test al, al
jne 0x457ee3
mov edx, dword [ebp - 0x34]
lea ecx, [esi + 8]
mov al, byte [ecx + 0x30]
cmp al, byte [edx + 0x38]
jne 0x457ee3
push ecx
call fcn.0045a1b0
test al, al
jne 0x457ee3
movups xmm0, xmmword [esi + 0x40]
lea eax, [esi + 8]
movd ecx, xmm0
movups xmmword [ebp - 0x70], xmm0
mov edx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x80]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x64]
jne 0x457df9
cmp edx, dword [ebp - 0x78]
jne 0x457df9
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x6c], eax
lea eax, [esi + 8]
jne 0x457df9
cmp ecx, dword [ebp - 0x74]
je 0x457ee3
mov al, byte [eax + 0x33]
sub edx, dword [ebp - 4]
shr al, 2
and al, 1
mov dword [ebp - 0x10], edx
mov byte [ebp - 0x48], al
mov eax, ecx
sub eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x64]
add eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x64], eax
sub eax, ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x60]
imul eax, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
shl eax, 2
push eax
call fcn.00444cf0
push dword [ebp - 0x48]
mov edx, dword [ebp - 0x60]
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.004c9090
mov edx, dword [ebp - 0x10]
add esp, 0x14
mov ecx, dword [ebp - 0x60]
push dword [ebp - 0x14]
call fcn.004c8fc0
mov eax, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor edx, edx
push dword [ebp - 0x20]
push eax
push ecx
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [ebp - 0x24]
push ecx
push eax
push ecx
mov ecx, dword [ebp - 0x60]
push 0
call fcn.004c8770
mov edx, dword [ebp - 0x60]
add esp, 0x28
test edx, edx
je 0x457ee3
mov ecx, dword [ebp - 0x58]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x457ec4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458195
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov esi, dword [esi]
mov ecx, dword [ebp - 0x38]
cmp esi, edi
jne 0x457d70
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
push dword [ebp - 0xc]
call fcn.005ab969
add esp, 4
lea ecx, [ebp - 0x118]
call fcn.00415210
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0xf
jbe 0x457f46
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x457f3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458195
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov esi, dword [esi]
mov dword [ebp - 0x30], esi
cmp esi, edi
jne 0x457a22
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x45817d
push 0x1000
push 0
push str.resourceutil32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x457faa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.resourceutil32.dll
push str.WPX_Error_loading_library__S___i_._n
call fcn.00473960
add esp, 0xc
push dword [ebp - 0x24]
call fcn.005ab969
add esp, 4
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SaveRGBAToJPEG
push edi
call esi
push str.FreeImageBits
push edi
mov dword [ebp - 0x34], eax
call esi
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x45815e
test ecx, ecx
je 0x45815e
mov esi, dword [ebx + 8]
test esi, esi
je 0x458040
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x24]
push dword [ebp - 8]
push dword [ebp - 0x20]
call eax
add esp, 0x14
test al, al
je 0x458040
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
push esi
mov dword [ebp - 0x44], eax
call fcn.0044ae30
cmp dword [eax + 0x14], 7
jbe 0x45801c
mov eax, dword [eax]
push dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov ecx, eax
call fcn.0044aaa0
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.00413980
push dword [ebp - 4]
call dword [ebp - 0x28]
add esp, 4
mov ecx, dword [0x74d730]
mov esi, ecx
mov eax, dword [0x74d734]
cmp esi, eax
je 0x458064
cmp dword [esi + 0x10], 0
jne 0x45805d
cmp dword [esi + 0x14], 0
je 0x458066
add esi, 0x68
cmp esi, eax
jne 0x458051
mov esi, ecx
cmp dword [ebx + 0xc], 0
je 0x45815e
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
add eax, ecx
cmp eax, dword [ebp - 8]
jg 0x45815e
mov eax, dword [esi]
mov edx, dword [esi + 8]
add eax, edx
cmp eax, dword [ebp - 0x20]
jg 0x45815e
imul ecx, edx
shl ecx, 2
push ecx
call fcn.005ab960
mov ecx, dword [esi + 0xc]
mov edx, eax
mov eax, dword [ebp - 8]
add esp, 4
sub eax, ecx
mov dword [ebp - 0xc], edx
sub eax, dword [esi + 4]
xor edi, edi
test ecx, ecx
jle 0x4580fa
imul eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
nop dword [eax]
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x24]
lea eax, [ecx*4]
imul ecx, edi
push eax
mov eax, dword [esi]
add eax, dword [ebp - 8]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0xc]
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.005c3580
mov eax, dword [ebp - 0x20]
inc edi
add dword [ebp - 8], eax
add esp, 0xc
mov ecx, dword [esi + 0xc]
cmp edi, ecx
jl 0x4580c0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x34]
push edx
push ecx
push dword [esi + 8]
call eax
add esp, 0x14
test al, al
je 0x458150
push dword [ebx + 0xc]
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x88]
mov edi, dword [ebp - 4]
call fcn.0044ae30
cmp dword [eax + 0x14], 7
jbe 0x45812f
mov eax, dword [eax]
push esi
mov edx, edi
mov ecx, eax
call fcn.0044aaa0
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.00413980
push dword [ebp - 4]
call dword [ebp - 0x28]
add esp, 4
push dword [ebp - 0xc]
call fcn.005ab969
mov edi, dword [ebp - 0x18]
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x24]
call fcn.005ab969
add esp, 4
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push dword [ebp - 0x24]
call fcn.005ab969
add esp, 4
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.005c695f
int3