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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2094
call fcn.10014090
cmp dword [ebp + 0x28], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
je 0x1000432b
push esi
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.10014430
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0xe]
movzx edx, byte [edi + 0xd]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 0xc]
shl eax, 8
or eax, edx
movzx edx, byte [edi + 0xb]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 0xa]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 8]
shl edx, 8
or edx, ecx
add eax, edx
mov edx, eax
mov ecx, eax
mov byte [ebp - 0x94], al
shr edx, 8
shr ecx, 0x10
shr eax, 0x18
add esp, 0xc
cmp dword [ebp + 0x14], 0
mov byte [ebp - 0x93], dl
mov byte [ebp - 0x92], cl
mov byte [ebp - 0x91], al
je 0x10003a14
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov ecx, eax
lea esi, [ebp - 0x54]
mov dword [ebp - 4], ecx
cmp byte [eax], bl
je 0x100039fd
jmp 0x100039d0
cmp ebx, 4
jne 0x100039db
mov byte [esi], 0x2d
inc esi
xor ebx, ebx
mov al, byte [ecx]
cmp al, 0x2d
je 0x100039f4
movsx edx, al
push edx
call fcn.1001357c
mov ecx, dword [ebp - 4]
mov byte [esi], al
add esp, 4
inc esi
inc ebx
inc ecx
cmp byte [ecx], 0
mov dword [ebp - 4], ecx
jne 0x100039d0
mov byte [esi], 0
push edi
lea esi, [ebp - 0x8c]
lea eax, [ebp - 0x54]
call fcn.10008270
mov ebx, dword [ebp + 8]
jmp 0x10003a70
lea esi, [ebp - 0x8c]
mov dword [ebp - 4], 9
cmp dword [0x10029f90], 0
jne 0x10003a54
rdtsc
mov dword [ebp + 8], eax
add dword [ebp + 8], edx
push 0
call fcn.10013857
mov ecx, dword [ebp + 8]
add ecx, eax
push ecx
mov dword [ebp + 8], ecx
call fcn.10013433
add esp, 8
mov dword [0x10029f90], 1
call fcn.10013445
call fcn.10013445
call fcn.10013445
call fcn.10013445
mov byte [esi], al
inc esi
dec dword [ebp - 4]
jne 0x10003a21
cmp byte [ebp + 0x24], 0
je 0x10003b3e
xor edx, edx
mov esi, ebx
cmp ebx, edx
jne 0x10003a87
mov dword [ebp + 8], edx
jmp 0x10003abb
movzx ecx, word [ebx]
xor eax, eax
cmp cx, dx
je 0x10003ab8
mov ebx, eax
xor ebx, ecx
movzx ecx, bx
mov ebx, ecx
shr ebx, 8
movzx ecx, cl
movzx ebx, bl
xor ebx, ecx
movzx ecx, word [esi + 2]
xor eax, dword [ebx*4 + 0x100251a0]
add esi, 2
cmp cx, dx
jne 0x10003a91
mov dword [ebp + 8], eax
mov esi, dword [ebp + 0xc]
cmp esi, edx
je 0x10003af9
movzx ecx, word [esi]
xor eax, eax
cmp cx, dx
je 0x10003af7
lea esp, [esp]
mov ebx, eax
xor ebx, ecx
movzx ecx, bx
mov ebx, ecx
shr ebx, 8
movzx ecx, cl
movzx ebx, bl
xor ebx, ecx
movzx ecx, word [esi + 2]
xor eax, dword [ebx*4 + 0x100251a0]
add esi, 2
cmp cx, dx
jne 0x10003ad0
mov edx, eax
mov esi, dword [ebp + 0x10]
xor eax, eax
test esi, esi
je 0x10003b37
movzx ecx, word [esi]
test cx, cx
je 0x10003b37
lea ebx, [ebx]
mov ebx, eax
xor ebx, ecx
movzx ecx, bx
mov ebx, ecx
shr ebx, 8
movzx ecx, cl
movzx ebx, bl
xor ebx, ecx
movzx ecx, word [esi + 2]
xor eax, dword [ebx*4 + 0x100251a0]
add esi, 2
test cx, cx
jne 0x10003b10
add eax, edx
jmp 0x10003bc1
xor esi, esi
mov edx, ebx
cmp ebx, esi
jne 0x10003b4b
mov dword [ebp + 8], esi
jmp 0x10003b6d
mov cl, byte [ebx]
xor eax, eax
test cl, cl
je 0x10003b6a
movzx ebx, al
movzx ecx, cl
xor ebx, ecx
mov cl, byte [edx + 1]
xor eax, dword [ebx*4 + 0x100251a0]
inc edx
test cl, cl
jne 0x10003b53
mov dword [ebp + 8], eax
mov edx, dword [ebp + 0xc]
cmp edx, esi
je 0x10003b99
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x10003b97
lea esp, [esp]
movzx esi, al
movzx ecx, cl
xor esi, ecx
mov cl, byte [edx + 1]
xor eax, dword [esi*4 + 0x100251a0]
inc edx
test cl, cl
jne 0x10003b80
mov esi, eax
mov edx, dword [ebp + 0x10]
xor eax, eax
test edx, edx
je 0x10003bbf
mov cl, byte [edx]
test cl, cl
je 0x10003bbf
movzx ebx, al
movzx ecx, cl
xor ebx, ecx
mov cl, byte [edx + 1]
xor eax, dword [ebx*4 + 0x100251a0]
inc edx
test cl, cl
jne 0x10003ba8
add eax, esi
add eax, dword [ebp + 8]
mov byte [ebp - 0x83], 0
mov dword [ebp + 8], eax
mov byte [ebp - 0x82], al
shr eax, 8
mov byte [ebp - 0x81], al
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x10003beb
mov byte [ebp - 0x83], 1
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x10003bf9
or byte [ebp - 0x83], 2
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x10003c07
or byte [ebp - 0x83], 4
cmp dword [ebp + 0x14], 0
je 0x10003c14
or byte [ebp - 0x83], 8
test eax, eax
jne 0x10003c20
call fcn.10007e00
mov ecx, dword [ebp + 0x20]
mov byte [ebp - 0x92], al
test esi, esi
je 0x10003c2e
mov eax, esi
jmp 0x10003c36
call fcn.10007e00
mov ecx, dword [ebp + 0x20]
mov byte [ebp - 0x91], al
test ecx, ecx
je 0x10003c5b
movzx edx, byte [ecx + 2]
shl dx, 8
movzx eax, dx
movzx edx, word [ecx]
movzx ecx, byte [ecx + 6]
shl edx, 0x10
or eax, edx
or eax, ecx
jmp 0x10003c60
call fcn.10007e00
mov ecx, eax
mov edx, eax
shr ecx, 0x10
mov byte [ebp - 0x90], al
shr eax, 0x18
shr edx, 8
mov byte [ebp - 0x8e], cl
mov byte [ebp - 0x8f], dl
mov byte [ebp - 0x8d], al
xor esi, esi
xor cl, cl
xor dl, dl
lea eax, [ebp - 0x92]
mov ebx, esi
and ebx, 1
mov dword [ebp + 0x14], ebx
je 0x10003ca0
add dl, byte [eax - 2]
jmp 0x10003ca3
xor cl, byte [eax - 2]
lea ebx, [esi - 1]
and ebx, 1
mov dword [ebp + 0x20], ebx
je 0x10003cb3
add dl, byte [eax - 1]
jmp 0x10003cb6
xor cl, byte [eax - 1]
cmp dword [ebp + 0x14], 0
je 0x10003cc0
add dl, byte [eax]
jmp 0x10003cc2
xor cl, byte [eax]
cmp dword [ebp + 0x20], 0
je 0x10003ccd
add dl, byte [eax + 1]
jmp 0x10003cd0
xor cl, byte [eax + 1]
cmp dword [ebp + 0x14], 0
je 0x10003cdb
add dl, byte [eax + 2]
jmp 0x10003cde
xor cl, byte [eax + 2]
add esi, 5
add eax, 5
cmp esi, 0x14
jb 0x10003c91
movzx eax, cl
shl ax, 8
movzx ecx, dl
or ax, cx
movzx eax, ax
mov byte [ebp - 0x80], al
shr eax, 8
mov byte [ebp - 0x7f], al
call fcn.10007e00
movzx ecx, ax
mov edx, ecx
shr edx, 8
mov byte [ebp - 0x7e], cl
mov byte [ebp - 0x7d], dl
lea eax, [ebp - 0x94]
jmp 0x10003d20
mov bl, byte [eax]
xor bl, cl
add bl, dl
mov byte [eax], bl
inc eax
lea esi, [ebp - 0x7e]
cmp eax, esi
jb 0x10003d20
movzx eax, byte [edi + 0x1f]
movzx ecx, byte [edi + 0x1e]
movzx edx, byte [edi + 0x1d]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 0x1c]
shl eax, 8
or eax, edx
movzx edx, byte [edi + 0x2f]
shl edx, 8
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 0x2e]
or edx, ecx
movzx ecx, byte [edi + 0x2d]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x2c]
shl edx, 8
or edx, ecx
add eax, edx
movzx esi, byte [edi + 0x32]
mov edx, eax
shr edx, 8
mov byte [ebp - 0x13], dl
mov ecx, eax
shr ecx, 0x10
mov byte [ebp - 0x12], cl
movzx ecx, byte [edi + 0x23]
mov edx, eax
shr edx, 0x18
mov byte [ebp - 0x11], dl
movzx edx, byte [edi + 0x22]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 0x21]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 0x20]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 0x33]
shl edx, 8
or edx, esi
movzx esi, byte [edi + 0x31]
shl edx, 8
or edx, esi
movzx esi, byte [edi + 0x30]
shl edx, 8
or edx, esi
movzx esi, byte [edi + 0x26]
add ecx, edx
mov edx, ecx
shr edx, 8
mov byte [ebp - 0xf], dl
movzx ebx, byte [edi + 0x36]
mov edx, ecx
shr edx, 0x10
mov byte [ebp - 0xe], dl
mov edx, ecx
shr edx, 0x18
mov byte [ebp - 0xd], dl
movzx edx, byte [edi + 0x27]
shl edx, 8
or edx, esi
movzx esi, byte [edi + 0x25]
shl edx, 8
or edx, esi
movzx esi, byte [edi + 0x24]
shl edx, 8
or edx, esi
movzx esi, byte [edi + 0x37]
shl esi, 8
or esi, ebx
movzx ebx, byte [edi + 0x35]
shl esi, 8
or esi, ebx
movzx ebx, byte [edi + 0x34]
shl esi, 8
or esi, ebx
add edx, esi
movzx esi, byte [edi + 0x2b]
mov ebx, edx
shr ebx, 8
mov byte [ebp - 0xb], bl
shl esi, 8
mov ebx, edx
shr ebx, 0x10
mov byte [ebp - 0xa], bl
mov ebx, edx
shr ebx, 0x18
mov byte [ebp - 9], bl
movzx ebx, byte [edi + 0x2a]
or esi, ebx
movzx ebx, byte [edi + 0x29]
shl esi, 8
or esi, ebx
movzx ebx, byte [edi + 0x28]
shl esi, 8
or esi, ebx
movzx ebx, byte [edi + 0x3b]
mov dword [ebp + 0x14], esi
movzx esi, byte [edi + 0x3a]
shl ebx, 8
or ebx, esi
movzx esi, byte [edi + 0x39]
shl ebx, 8
or ebx, esi
movzx esi, byte [edi + 0x38]
shl ebx, 8
or ebx, esi
mov esi, dword [ebp + 0x14]
add esi, ebx
mov ebx, esi
shr ebx, 8
mov byte [ebp - 7], bl
mov ebx, esi
mov dword [ebp + 0x14], esi
shr ebx, 0x10
mov byte [ebp - 6], bl
mov ebx, esi
shr ebx, 0x18
movzx esi, bl
movzx ebx, byte [ebp - 6]
shl esi, 8
or esi, ebx
movzx ebx, byte [ebp - 7]
shl esi, 8
or esi, ebx
movzx ebx, byte [ebp + 0x14]
shl esi, 8
or esi, ebx
movzx ebx, byte [ebp - 0xa]
push esi
movzx esi, byte [ebp - 9]
shl esi, 8
or esi, ebx
movzx ebx, byte [ebp - 0xb]
movzx edx, dl
shl esi, 8
or esi, ebx
shl esi, 8
or esi, edx
movzx edx, byte [ebp - 0xd]
shl edx, 8
push esi
movzx esi, byte [ebp - 0xe]
or edx, esi
movzx esi, byte [ebp - 0xf]
shl edx, 8
or edx, esi
shl edx, 8
movzx ecx, cl
or edx, ecx
movzx ecx, byte [ebp - 0x12]
push edx
movzx edx, byte [ebp - 0x11]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebp - 0x13]
shl edx, 8
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
push edx
mov eax, 0x18
lea ecx, [ebp - 0x94]
call fcn.10007f90
movzx edx, byte [edi + 0x3f]
movzx ecx, byte [edi + 0x3e]
movzx eax, byte [edi + 0x3d]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x3c]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 0x43]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x42]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 0x41]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 0x40]
shl eax, 8
or eax, ecx
add edx, eax
lea eax, [ebp - 0x94]
push 6
mov ecx, eax
call fcn.10007ee0
movzx eax, byte [edi + 0x47]
movzx edx, byte [edi + 0x46]
movzx ecx, byte [edi + 0x45]
shl eax, 8
or eax, edx
movzx edx, byte [edi + 0x44]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov ecx, eax
mov edx, eax
mov byte [ebp - 0x38], al
shr eax, 0x18
mov byte [ebp - 0x35], al
movzx eax, byte [edi + 0x4b]
shl eax, 8
shr ecx, 8
mov byte [ebp - 0x37], cl
movzx ecx, byte [edi + 0x4a]
or eax, ecx
movzx ecx, byte [edi + 0x48]
shr edx, 0x10
shl eax, 8
mov byte [ebp - 0x36], dl
movzx edx, byte [edi + 0x49]
or eax, edx
shl eax, 8
or eax, ecx
mov edx, eax
mov ecx, eax
mov byte [ebp - 0x34], al
shr eax, 0x18
mov byte [ebp - 0x31], al
movzx eax, byte [edi + 0x4f]
shr edx, 8
mov byte [ebp - 0x33], dl
movzx edx, byte [edi + 0x4e]
shl eax, 8
shr ecx, 0x10
or eax, edx
movzx edx, byte [edi + 0x4c]
mov byte [ebp - 0x32], cl
movzx ecx, byte [edi + 0x4d]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov byte [ebp - 0x30], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [ebp - 0x2d], al
movzx eax, byte [edi + 0x53]
shl eax, 8
shr ecx, 8
mov byte [ebp - 0x2f], cl
movzx ecx, byte [edi + 0x52]
or eax, ecx
movzx ecx, byte [edi + 0x50]
shl eax, 8
shr edx, 0x10
mov byte [ebp - 0x2e], dl
movzx edx, byte [edi + 0x51]
or eax, edx
shl eax, 8
or eax, ecx
mov edx, eax
mov ecx, eax
mov byte [ebp - 0x2c], al
shr eax, 0x18
mov byte [ebp - 0x29], al
movzx eax, byte [edi + 0x57]
shl eax, 8
shr edx, 8
mov byte [ebp - 0x2b], dl
movzx edx, byte [edi + 0x56]
or eax, edx
movzx edx, byte [edi + 0x54]
shl eax, 8
shr ecx, 0x10
mov byte [ebp - 0x2a], cl
movzx ecx, byte [edi + 0x55]
or eax, ecx
shl eax, 8
or eax, edx
mov ecx, eax
mov edx, eax
mov byte [ebp - 0x28], al
shr eax, 0x18
mov byte [ebp - 0x25], al
movzx eax, byte [edi + 0x5b]
shr ecx, 8
shl eax, 8
mov byte [ebp - 0x27], cl
movzx ecx, byte [edi + 0x5a]
or eax, ecx
movzx ecx, byte [edi + 0x58]
shr edx, 0x10
shl eax, 8
mov byte [ebp - 0x26], dl
movzx edx, byte [edi + 0x59]
or eax, edx
shl eax, 8
or eax, ecx
mov edx, eax
mov ecx, eax
mov byte [ebp - 0x24], al
shr eax, 0x18
mov byte [ebp - 0x21], al
movzx eax, byte [edi + 0x5f]
shr edx, 8
mov byte [ebp - 0x23], dl
movzx edx, byte [edi + 0x5e]
shr ecx, 0x10
shl eax, 8
or eax, edx
movzx edx, byte [edi + 0x5c]
mov byte [ebp - 0x22], cl
movzx ecx, byte [edi + 0x5d]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov ecx, eax
shr ecx, 8
mov edx, eax
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], cl
shr edx, 0x10
movzx ecx, byte [edi + 0x62]
shr eax, 0x18
mov byte [ebp - 0x1d], al
movzx eax, byte [edi + 0x63]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 0x60]
mov byte [ebp - 0x1e], dl
movzx edx, byte [edi + 0x61]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov edx, eax
shr edx, 8
mov ecx, eax
mov byte [ebp - 0x1c], al
shr eax, 0x18
mov byte [ebp - 0x1b], dl
lea edx, [ebp - 0x94]
shr ecx, 0x10
mov byte [ebp - 0x19], al
push 6
push edx
lea eax, [ebp - 0x38]
mov byte [ebp - 0x1a], cl
mov dword [ebp - 0x18], 0
call fcn.10008100
add esp, 0xc
xor esi, esi
xor cl, cl
xor dl, dl
lea eax, [ebp - 0x92]
mov ebx, esi
and ebx, 1
mov dword [ebp + 0x14], ebx
je 0x10004167
add dl, byte [eax - 2]
jmp 0x1000416a
xor cl, byte [eax - 2]
lea ebx, [esi - 1]
and ebx, 1
mov dword [ebp + 0x20], ebx
je 0x1000417a
add dl, byte [eax - 1]
jmp 0x1000417d
xor cl, byte [eax - 1]
cmp dword [ebp + 0x14], 0
je 0x10004187
add dl, byte [eax]
jmp 0x10004189
xor cl, byte [eax]
cmp dword [ebp + 0x20], 0
je 0x10004194
add dl, byte [eax + 1]
jmp 0x10004197
xor cl, byte [eax + 1]
cmp dword [ebp + 0x14], 0
je 0x100041a2
add dl, byte [eax + 2]
jmp 0x100041a5
xor cl, byte [eax + 2]
cmp dword [ebp + 0x20], 0
je 0x100041b0
add dl, byte [eax + 3]
jmp 0x100041b3
xor cl, byte [eax + 3]
add esi, 6
add eax, 6
cmp esi, 0x18
jb 0x10004158
movzx eax, byte [edi + 0x69]
movzx esi, byte [edi + 0x68]
mov edi, dword [ebp + 0x28]
shl ax, 8
movzx ecx, cl
or ax, si
movzx edx, dl
shl cx, 8
or cx, dx
xor ax, cx
xor ax, word [ebp + 8]
mov dword [ebp + 0x14], 0x1a
movzx eax, ax
mov byte [ebp - 0x7c], al
shr eax, 8
mov byte [ebp - 0x7b], al
lea eax, [ebp - 0x94]
mov dword [ebp + 0x20], eax
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], 6
lea ebx, [ebx]
mov esi, edi
mov edx, 4
mov edi, eax
lea esp, [esp]
mov cl, byte [edi]
mov al, cl
shr al, 4
lea ebx, [eax - 0xa]
cmp bl, 5
ja 0x10004233
add al, 0x37
jmp 0x10004239
cmp al, 9
ja 0x10004239
add al, 0x30
and cl, 0xf
mov byte [esi], al
lea eax, [ecx - 0xa]
cmp al, 5
ja 0x1000424a
add cl, 0x37
jmp 0x10004252
cmp cl, 9
ja 0x10004252
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
inc edi
dec edx
jne 0x10004220
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x20]
sub dword [ebp + 0x14], 4
mov byte [esi], dl
add eax, 4
mov byte [edi + 8], 0x2d
add edi, 9
dec dword [ebp + 0xc]
mov dword [ebp + 0x20], eax
mov dword [ebp + 8], edi
jne 0x10004210
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x20], ecx
mov esi, edi
mov edx, eax
test ecx, ecx
je 0x100042d4
jmp 0x10004290
mov cl, byte [edx]
mov al, cl
shr al, 4
lea ebx, [eax - 0xa]
cmp bl, 5
ja 0x100042a3
add al, 0x37
jmp 0x100042a9
cmp al, 9
ja 0x100042a9
add al, 0x30
and cl, 0xf
mov byte [esi], al
lea eax, [ecx - 0xa]
cmp al, 5
ja 0x100042ba
add cl, 0x37
jmp 0x100042c2
cmp cl, 9
ja 0x100042c2
add cl, 0x30
mov eax, dword [ebp + 0x20]
dec eax
mov byte [esi + 1], cl
add esi, 2
inc edx
mov dword [ebp + 0x20], eax
test eax, eax
jne 0x10004290
cmp byte [ebp + 0x24], 0
mov ecx, dword [ebp + 0x14]
mov byte [esi], 0
mov byte [edi + ecx*2], 0
je 0x1000432a
mov edi, dword [ebp + 0x28]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100042f0
sub eax, edx
push eax
lea edx, [ebp - 0x2094]
push edi
push edx
call fcn.1001323e
mov esi, eax
lea eax, [esi + esi + 4]
push eax
push 0
push edi
call fcn.10014430
lea ecx, [esi + esi]
push ecx
lea edx, [ebp - 0x2094]
push edx
push edi
call fcn.100140c0
add esp, 0x24
pop esi
pop edi
mov eax, 0x3c
pop ebx
mov esp, ebp
pop ebp
ret 0x24