Function at 0x416c20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5ac
mov eax, dword [0x447034]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [ebx + 0x14], esi
push edi
mov dword [ebp - 0x5a4], ecx
je 0x416c5c
mov eax, 0x40000
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004282a0
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx + 0x2c], 0
je 0x416c79
mov eax, 0x50000
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004282a0
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx], esi
mov dword [ebp - 0x5ac], esi
je 0x416c8d
mov dword [ebp - 0x5ac], 0xc
lea edx, [ebp - 0x23c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x416c95
cmp word [ebp - 0x23c], si
jne 0x416cc4
mov eax, 0x10000
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004282a0
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x23c]
lea ebx, [ebx]
cmp word [eax], 0x5c
jne 0x416cdb
mov word [eax], 0x2f
add eax, 2
cmp word [eax], si
jne 0x416cd0
mov edi, 8
lea edx, [ebp - 0x23c]
mov dword [ebp - 0x5a8], edi
call fcn.004161e0
test al, al
je 0x416d05
mov dword [ebp - 0x5a8], esi
mov edi, esi
mov eax, dword [ebp - 0x5a4]
mov ecx, ebx
call fcn.004167e0
cmp eax, esi
jne 0x417427
push esi
push esi
push 0x104
lea edx, [ebp - 0x454]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x23c]
push eax
push esi
push 0xfde9
mov dword [ebp - 0x240], esi
mov byte [ebp - 0x564], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x454]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x416d53
sub eax, edx
cmp dword [ebx], esi
mov dword [ebp - 0x584], eax
mov byte [ebp - 0x350], cl
mov ecx, dword [ebx + 0x68]
mov ax, 8
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x578], esi
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x244], esi
mov word [ebp - 0x572], si
mov word [ebp - 0x59c], 0xb17
mov word [ebp - 0x59a], 0x14
mov dword [ebp - 0x594], ecx
mov dword [ebp - 0x590], esi
mov word [ebp - 0x598], ax
je 0x416dc8
mov ax, 9
mov word [ebp - 0x598], ax
cmp edi, esi
mov word [ebp - 0x570], ax
mov word [ebp - 0x596], di
jne 0x416df1
mov eax, dword [ebx + 0x70]
cmp eax, esi
jl 0x416df1
mov edx, dword [ebp - 0x5ac]
add eax, edx
mov dword [ebp - 0x58c], eax
jmp 0x416df7
mov dword [ebp - 0x58c], esi
mov edx, dword [ebx + 0x18]
add edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x4c]
mov edi, dword [ebx + 0x5c]
mov dword [ebp - 0x588], eax
mov dword [ebp - 0x56c], ecx
mov dword [ebp - 0x568], edx
mov dl, byte [ebx + 0x58]
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x28]
mov word [ebp - 0x574], si
mov esi, dword [ebx + 0x58]
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], ecx
mov byte [ebp - 0x23], dl
mov eax, esi
mov edx, edi
mov cl, 8
mov dword [ebp - 0x580], 0x11
mov dword [ebp - 0x57c], 9
mov byte [ebp - 0x28], 0x55
mov byte [ebp - 0x27], 0x54
mov byte [ebp - 0x26], 0xd
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 7
call fcn.004372d0
mov byte [ebp - 0x22], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.004372d0
mov byte [ebp - 0x21], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.004372d0
mov esi, dword [ebx + 0x50]
mov edi, dword [ebx + 0x54]
mov byte [ebp - 0x20], al
mov al, byte [ebx + 0x50]
mov byte [ebp - 0x1f], al
mov eax, esi
mov edx, edi
mov cl, 8
call fcn.004372d0
mov byte [ebp - 0x1e], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.004372d0
mov byte [ebp - 0x1d], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.004372d0
movzx ecx, byte [ebx + 0x60]
mov esi, dword [ebx + 0x60]
mov edi, dword [ebx + 0x64]
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x1b], cl
mov eax, esi
mov edx, edi
mov cl, 8
call fcn.004372d0
mov byte [ebp - 0x1a], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.004372d0
mov byte [ebp - 0x19], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.004372d0
mov edx, dword [ebp - 0x28]
movzx ecx, byte [ebp - 0x20]
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov esi, ebx
lea edi, [ebp - 0x59c]
mov byte [ebp - 0x2c], cl
mov byte [ebp - 0x32], 5
call fcn.004156d0
test eax, eax
je 0x416f3d
call fcn.00416a50
mov eax, 0x400
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004282a0
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x580]
mov eax, dword [ebp - 0x584]
lea ecx, [edx + eax + 0x1e]
add dword [ebx + 0x18], ecx
cmp dword [ebx + 0x14], 0
je 0x416f70
call fcn.00416a50
mov eax, dword [ebx + 0x14]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004282a0
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebx]
test edi, edi
lea esi, [ebx + 0x30]
mov dword [esi], 0x12345678
mov dword [ebx + 0x34], 0x23456789
mov dword [ebx + 0x38], 0x34567890
je 0x416f9f
mov cl, byte [edi]
test cl, cl
je 0x416f9f
mov edx, esi
call fcn.00416190
add edi, 1
jne 0x416f8d
cmp byte [0x4496e4], 0
jne 0x416fc1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
push edi
call fcn.00429e4b
add esp, 4
xor edi, edi
call fcn.00429e58
sar eax, 7
mov byte [ebp + edi - 0x14], al
add edi, 1
cmp edi, 0xc
jl 0x416fc3
mov edx, dword [ebp - 0x594]
shr edx, 8
mov byte [ebp - 9], dl
mov dword [ebp - 0x5a4], 0
mov eax, dword [ebp - 0x5a4]
movzx ecx, byte [ebp + eax - 0x14]
mov edi, dword [esi]
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x43f820]
mov dword [ebp - 0x5a0], ecx
mov eax, dword [esi + 8]
shr edi, 8
xor dword [ebp - 0x5a0], edi
mov ecx, dword [ebp - 0x5a0]
mov dword [esi], ecx
movzx ecx, cl
add ecx, dword [esi + 4]
mov edx, eax
imul ecx, ecx, 0x8088405
add ecx, 1
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, eax
and ecx, 0xff
mov edi, dword [esi]
and edx, 0xfffd
or edx, 2
shr eax, 8
xor eax, dword [ecx*4 + 0x43f820]
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x5a4]
xor cl, byte [ebp + eax - 0x14]
mov byte [ebp + eax - 0x14], cl
movzx ecx, byte [ebp + eax - 0x13]
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x43f820]
mov dword [ebp - 0x5a0], ecx
mov eax, dword [esi + 8]
shr edi, 8
xor dword [ebp - 0x5a0], edi
mov ecx, dword [ebp - 0x5a0]
mov dword [esi], ecx
movzx ecx, cl
add ecx, dword [esi + 4]
mov edi, dword [esi]
imul ecx, ecx, 0x8088405
add ecx, 1
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, eax
and ecx, 0xff
mov edx, eax
and edx, 0xfffd
or edx, 2
shr eax, 8
xor eax, dword [ecx*4 + 0x43f820]
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x5a4]
xor cl, byte [ebp + eax - 0x13]
mov byte [ebp + eax - 0x13], cl
movzx ecx, byte [ebp + eax - 0x12]
mov eax, dword [esi + 8]
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x43f820]
mov dword [ebp - 0x5a0], ecx
shr edi, 8
xor dword [ebp - 0x5a0], edi
mov ecx, dword [ebp - 0x5a0]
mov dword [esi], ecx
mov edx, eax
and edx, 0xfffd
movzx ecx, cl
or edx, 2
add ecx, dword [esi + 4]
imul ecx, ecx, 0x8088405
add ecx, 1
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, eax
and ecx, 0xff
mov edi, dword [esi]
shr eax, 8
xor eax, dword [ecx*4 + 0x43f820]
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x5a4]
xor cl, byte [ebp + eax - 0x12]
mov byte [ebp + eax - 0x12], cl
movzx ecx, byte [ebp + eax - 0x11]
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x43f820]
mov dword [ebp - 0x5a0], ecx
mov eax, dword [esi + 8]
shr edi, 8
xor dword [ebp - 0x5a0], edi
mov ecx, dword [ebp - 0x5a0]
mov dword [esi], ecx
movzx ecx, cl
add ecx, dword [esi + 4]
mov edx, eax
imul ecx, ecx, 0x8088405
add ecx, 1
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x43f820]
and edx, 0xfffd
or edx, 2
mov ecx, edx
xor ecx, 1
imul ecx, edx
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x5a4]
shr ecx, 8
xor cl, byte [ebp + eax - 0x11]
add eax, 4
cmp eax, 0xc
mov byte [ebp + eax - 0x15], cl
mov dword [ebp - 0x5a4], eax
jl 0x416fed
cmp dword [ebx], 0
je 0x417213
push 0xc
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.004165b0
add dword [ebx + 0x18], 0xc
mov edx, dword [ebp - 0x5a8]
xor esi, esi
xor eax, eax
cmp dword [ebx], esi
setne al
cmp edx, 8
mov byte [ebx + 0x2d], al
jne 0x41723a
lea eax, [ebp - 0x59c]
push eax
mov edi, ebx
call fcn.00416aa0
jmp 0x417245
test edx, edx
jne 0x41724d
mov edi, ebx
call fcn.00416bb0
mov edx, dword [ebp - 0x5a8]
mov esi, eax
cmp byte [ebx + 0x80], 0
mov byte [ebx + 0x2d], 0
je 0x41726e
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x41726e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x5a8]
mov ecx, dword [ebx + 0x90]
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx + 0x74]
add dword [ebx + 0x18], ecx
test eax, eax
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x70], edi
jne 0x417427
test esi, esi
jne 0x416f26
mov eax, dword [ebp - 0x5ac]
mov esi, dword [ebx + 0x78]
add eax, ecx
cmp dword [ebp - 0x58c], eax
mov dword [ebp - 0x590], esi
sete cl
cmp byte [ebx + 0x1c], 0
mov dword [ebp - 0x58c], eax
mov dword [ebp - 0x588], edi
je 0x41733d
cmp dword [ebx], 0
jne 0x41733d
test byte [ebp - 0x598], 1
mov word [ebp - 0x596], dx
jne 0x4172e1
and word [ebp - 0x598], 0xfff7
mov edx, dword [ebp - 0x568]
mov cx, word [ebp - 0x598]
sub edx, dword [ebx + 0x10]
mov eax, ebx
mov word [ebp - 0x570], cx
call fcn.00416720
test al, al
je 0x417326
mov esi, ebx
lea edi, [ebp - 0x59c]
call fcn.004156d0
test eax, eax
jne 0x416f26
mov edx, dword [ebx + 0x18]
mov eax, ebx
call fcn.00416720
test al, al
jne 0x41738c
mov eax, 0x2000000
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004282a0
mov esp, ebp
pop ebp
ret 4
cmp word [ebp - 0x596], dx
je 0x41735d
mov eax, 0x4000000
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004282a0
mov esp, ebp
pop ebp
ret 4
test edx, edx
jne 0x417365
test cl, cl
je 0x417346
mov esi, ebx
lea edi, [ebp - 0x59c]
call fcn.00415970
test eax, eax
jne 0x416f26
mov dx, word [ebp - 0x570]
add dword [ebx + 0x18], 0x10
mov word [ebp - 0x598], dx
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x417427
mov eax, dword [ebp - 0x57c]
push eax
call fcn.004284f6
mov ecx, dword [ebp - 0x57c]
mov edx, dword [ebp - 0x45c]
add esp, 4
push ecx
mov esi, eax
push edx
push esi
call fcn.0042a950
add esp, 0xc
push 0x360
mov dword [ebp - 0x45c], esi
call fcn.004284f6
mov ecx, 0xd8
lea esi, [ebp - 0x59c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x44]
add esp, 4
test ecx, ecx
jne 0x4173ff
mov dword [ebx + 0x44], eax
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004282a0
mov esp, ebp
pop ebp
ret 4
cmp dword [ecx + 0x35c], 0
je 0x41741f
jmp 0x417410
mov ecx, dword [ecx + 0x35c]
cmp dword [ecx + 0x35c], 0
jne 0x417410
mov dword [ecx + 0x35c], eax
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004282a0
mov esp, ebp
pop ebp
ret 4