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

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
push 0xffffffffffffffff
push 0x40a8a5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x80], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 0
mov edx, 0xf
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x2c], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x44], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], edx
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 3
mov eax, dword [esi]
test eax, eax
je 0x401d9b
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x90], edi
test edi, edi
je 0x401d9b
mov eax, dword [esi + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x98], eax
test eax, eax
je 0x401d9b
lea esi, [eax + edi]
test esi, esi
je 0x401d9b
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
add edx, edi
mov eax, dword [esi + 0x20]
add ecx, edi
mov dword [ebp - 0x94], edx
mov edx, dword [ebp - 0x18]
add eax, edi
je 0x401d9b
test ecx, ecx
je 0x401d9b
cmp dword [ebp - 0x94], 0
je 0x401d9b
cmp dword [esi + 0x18], 0
jbe 0x40183e
xor esi, esi
mov edx, dword [eax + esi*4]
mov edi, eax
add edx, dword [ebp - 0x90]
mov dword [ebp - 0x88], ecx
mov ecx, edx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x84], edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401780
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00407e30
mov esi, dword [ebp - 0x78]
mov eax, edi
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x88]
test edi, edi
je 0x401824
cmp dword [ebp - 0x48], 0xf
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
or ecx, 0xffffffff
mov dword [ebp - 0xb4], eax
xor edx, edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
test edi, edi
je 0x401813
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x78], esi
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0x84], eax
movsx eax, byte [edx + esi]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x40b440]
cmp edx, edi
jb 0x4017f2
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x84]
not ecx
cmp ecx, dword [ebx + 8]
je 0x4018c2
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x98]
inc esi
mov edi, dword [ebp - 0x90]
cmp esi, dword [edx + edi + 0x18]
jb 0x401761
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x80]
mov dword [esi], 0
cmp edx, 0xf
jbe 0x401876
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ecx, 0x1000
jb 0x40186c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018bc
push ecx
push edx
call fcn.0040997a
add esp, 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp eax, 0xf
jbe 0x401d97
mov edx, dword [ebp - 0x5c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x401d8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401d8d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x98]
add ecx, dword [ebp - 0x90]
movzx eax, word [eax + esi*2]
mov edx, dword [edx + eax*4]
add edx, dword [ebp - 0x90]
cmp edx, ecx
jb 0x401d07
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x7c]
add eax, ecx
cmp edx, eax
jae 0x401d07
xor eax, eax
test edx, edx
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401910
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407e30
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmova edx, esi
test eax, eax
je 0x4019c8
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x40195a
nop dword [eax + eax]
cmp ecx, edx
je 0x4019c8
dec ecx
cmp byte [ecx], 0x2e
jne 0x401950
sub ecx, edx
lea edi, [ecx + 1]
mov edx, edi
mov ecx, edi
cmp edi, 0xffffffff
jne 0x4019ce
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x18]
mov dword [ecx], 0
cmp eax, 0xf
jbe 0x4019a4
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40199a
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018bc
push ecx
push esi
call fcn.0040997a
add esp, 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x401d88
inc ecx
jmp 0x401d5d
xor edi, edi
xor edx, edx
xor ecx, ecx
cmp dword [ebp - 0x1c], edx
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
cmovb ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0xf
push ecx
cmova eax, esi
mov dword [ebp - 0x9c], 0
push eax
lea ecx, [ebp - 0xb0]
movups xmmword [ebp - 0xb0], xmm0
call fcn.00408080
movups xmm0, xmmword [ebp - 0xb0]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0xa0]
movq qword [ebp - 0x34], xmm0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
cmp ecx, edx
jae 0x401a44
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
mov word [eax + ecx], 0x64
jmp 0x401a52
push 0x64
push dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00408160
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
cmp ecx, edx
jae 0x401a74
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
mov word [eax + ecx], 0x6c
jmp 0x401a82
push 0x6c
push dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00408160
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
cmp ecx, edx
jae 0x401aa4
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
mov word [eax + ecx], 0x6c
jmp 0x401ab2
push 0x6c
push dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00408160
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xb0], xmm0
cmp eax, edi
jb 0x401dc2
sub eax, edi
mov ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push ecx
add eax, edi
lea ecx, [ebp - 0xb0]
push eax
call fcn.00408080
movups xmm1, xmmword [ebp - 0xb0]
lea edi, [ebp - 0x74]
movq xmm0, qword [ebp - 0xa0]
movq qword [ebp - 0x64], xmm0
cmp dword [ebp - 0x60], 0xf
movd eax, xmm1
movups xmmword [ebp - 0x74], xmm1
cmova edi, eax
mov dword [ebp - 0x78], eax
xor ecx, ecx
or esi, 0xffffffff
cmp dword [ebp - 0x64], ecx
jbe 0x401b58
mov edx, dword [ebp - 0xa0]
nop dword [eax + eax]
movsx eax, byte [ecx + edi]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x40b440]
cmp ecx, edx
jb 0x401b40
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
mov edi, dword [ebp - 0x44]
not esi
cmova eax, edi
xor ecx, ecx
or edx, 0xffffffff
cmp dword [ebp - 0x34], ecx
jbe 0x401b8f
mov edi, eax
movsx eax, byte [edi + ecx]
inc ecx
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x40b440]
cmp ecx, dword [ebp - 0x34]
jb 0x401b73
mov edi, dword [ebp - 0x44]
not edx
lea ecx, [ebp - 0xa4]
call fcn.00401170
push esi
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00401640
mov ecx, dword [ebp - 0x80]
add esp, 4
mov eax, dword [eax]
test eax, eax
jne 0x401c5d
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
cmp eax, 0xf
jbe 0x401bf5
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x78]
mov edx, eax
cmp ecx, 0x1000
jb 0x401beb
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x78], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4018bc
mov eax, dword [ebp - 0x78]
push ecx
push eax
call fcn.0040997a
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
jbe 0x401c28
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x401c1e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018bc
push ecx
push edi
call fcn.0040997a
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4019a4
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401c56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018bc
push ecx
push edx
jmp 0x40199c
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
cmp eax, 0xf
jbe 0x401c9b
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x78]
mov edx, eax
cmp ecx, 0x1000
jb 0x401c91
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x78], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4018bc
mov eax, dword [ebp - 0x78]
push ecx
push eax
call fcn.0040997a
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
jbe 0x401cce
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x401cc4
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018bc
push ecx
push edi
call fcn.0040997a
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4019a4
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401c56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018bc
push ecx
push edx
jmp 0x40199c
mov ecx, dword [ebp - 0x80]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x401d40
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401d36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018bc
push ecx
push edx
call fcn.0040997a
add esp, 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp eax, 0xf
jbe 0x401d88
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x5c]
mov eax, edx
cmp ecx, 0x1000
jb 0x401d7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018bc
push ecx
push edx
call fcn.0040997a
add esp, 8
mov eax, dword [ebp - 0x80]
jmp 0x401da4
push ecx
push edx
call fcn.0040997a
add esp, 8
mov eax, esi
jmp 0x401da4
mov eax, dword [ebp - 0x80]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00409937
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00407f60
int3