Function at 0x45a6f0
Capabilities:
Encode data using xor
Get file size
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a098
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4a5c78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
cmp esi, edi
je 0x45b21f
push edi
push 0x48d821
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x154], 0xf
mov dword [ebp - 0x158], edi
mov byte [ebp - 0x168], 0
call fcn.00403790
mov al, byte [esi]
mov dword [ebp - 4], edi
mov byte [ebp - 0x1e0], al
test al, al
je 0x45a78f
cmp al, 0x2f
jne 0x45a76d
mov byte [ebp - 0x1e0], 0x5c
mov eax, dword [ebp - 0x1e0]
push eax
push 1
lea ecx, [ebp - 0x168]
call fcn.004036e0
mov al, byte [esi + 1]
inc esi
mov byte [ebp - 0x1e0], al
test al, al
jne 0x45a762
push 0xc
call fcn.004697f8
add esp, 4
mov dword [ebp - 0x1e0], eax
cmp eax, edi
jne 0x45a7bc
cmp dword [ebp - 0x154], 0x10
jb 0x45b21f
mov ecx, dword [ebp - 0x168]
push ecx
jmp 0x45b217
mov esi, dword [ebp - 0x1e0]
mov dword [ebp - 0x224], 0x442310
mov dword [ebp - 0x220], 0x442350
mov dword [ebp - 0x21c], 0x442390
mov dword [ebp - 0x218], 0x4423d0
mov dword [ebp - 0x214], 0x4423f0
mov dword [ebp - 0x210], 0x442450
mov dword [ebp - 0x20c], 0x442470
mov dword [ebp - 0x208], edi
mov dword [esi], edi
mov dword [esi + 4], 0xffffffff
mov ecx, dword [0x4a7c34]
mov eax, dword [ecx]
mov dword [ebp - 0x1e4], eax
mov ebx, 7
cmp eax, ecx
je 0x45ac87
mov edx, dword [ebp - 0x1e4]
add edx, 8
mov edi, 8
cmp dword [edx + 0x14], edi
jb 0x45a847
mov edx, dword [edx]
xor eax, eax
mov word [ebp - 0x14c], ax
mov eax, edx
mov dword [ebp - 0x138], 7
mov dword [ebp - 0x13c], 0
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a870
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x14c]
call fcn.0044fe40
mov eax, dword [ebp - 0x14c]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], edi
jae 0x45a8a4
lea eax, [ebp - 0x14c]
push eax
call fcn.00488781
mov edi, dword [ebp - 0x138]
mov ebx, dword [ebp - 0x14c]
add esp, 4
mov ecx, ebx
cmp edi, 8
jae 0x45a8c6
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x13c]
add edx, edx
test ecx, ecx
jne 0x45a8da
mov dword [ebp - 0x1e8], ecx
jmp 0x45a91b
test edx, edx
jne 0x45a8e8
xor ecx, ecx
mov dword [ebp - 0x1e8], ecx
jmp 0x45a91b
or eax, 0xffffffff
test edx, edx
je 0x45a911
nop
movzx ebx, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, ebx
shr eax, 8
xor eax, dword [esi*4 + 0x4a54e0]
inc ecx
dec edx
jne 0x45a8f0
mov ebx, dword [ebp - 0x14c]
not eax
mov ecx, eax
mov dword [ebp - 0x1e8], eax
mov esi, dword [0x4a7c64]
mov eax, dword [esi + 4]
cmp byte [eax + 0x15], 0
mov edx, esi
jne 0x45a944
lea esp, [esp]
cmp dword [eax + 0xc], ecx
jae 0x45a93a
mov eax, dword [eax + 8]
jmp 0x45a93e
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0x45a930
mov dword [ebp - 0x1f0], edx
cmp edx, esi
je 0x45a95b
cmp ecx, dword [edx + 0xc]
jb 0x45a95b
lea eax, [ebp - 0x1f0]
jmp 0x45a967
mov dword [ebp - 0x1ec], esi
lea eax, [ebp - 0x1ec]
mov ecx, dword [eax]
xor eax, eax
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
cmp ecx, esi
jne 0x45ab12
cmp edi, 8
jb 0x45a9a5
mov eax, ebx
test ebx, ebx
jne 0x45a9ab
or edi, 0xffffffff
mov dword [ebp - 0x1f0], edi
jmp 0x45aa08
lea eax, [ebp - 0x14c]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
jne 0x45a9d2
mov dword [ebp - 0x1f0], edi
jmp 0x45aa08
lea ecx, [ebp - 0x204]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor ecx, ecx
push ecx
push ecx
push ecx
xor eax, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x200]
mov edi, dword [ebp - 0x204]
mov dword [ebp - 0x1f0], edx
push 8
call fcn.004688aa
add esp, 4
test eax, eax
je 0x45aa23
push 0
mov ecx, eax
call fcn.00440b70
mov esi, eax
jmp 0x45aa25
xor esi, esi
lea eax, [edi + 4]
push eax
call fcn.004697f8
mov ebx, eax
lea eax, [edi + 4]
push eax
push 0
push ebx
call fcn.00468360
mov eax, dword [esi]
add esp, 0x10
test eax, eax
je 0x45aa65
mov ecx, dword [esi + 4]
cmp edi, ecx
jae 0x45aa4f
push edi
jmp 0x45aa50
push ecx
push eax
push ebx
call fcn.00467c80
mov eax, dword [esi]
add esp, 0xc
push eax
call fcn.00468870
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], edi
cmp dword [ebp - 0x138], 8
mov eax, dword [ebp - 0x14c]
jae 0x45aa7f
lea eax, [ebp - 0x14c]
push 0
push edi
push 0
push 0
push ebx
push eax
call fcn.00440950
push esi
call fcn.00441d00
add edi, 0x10
add esp, 4
cmp dword [esi + 4], edi
jb 0x45aac8
mov eax, dword [esi]
test eax, eax
je 0x45aaad
push eax
call fcn.00468870
add esp, 4
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00467c75
add esp, 4
jmp 0x45ac46
mov edx, dword [ebp - 0x1e8]
push 0
lea eax, [ebp - 0x1fc]
push eax
mov ecx, 0x4a7c60
mov dword [ebp - 0x1fc], edx
mov dword [ebp - 0x1f8], esi
call fcn.00450530
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, 0x4a7c60
call fcn.0044d8a0
mov edx, dword [esi]
mov dword [ebp - 0x124], edx
mov eax, dword [esi + 4]
mov dword [ebp - 0x120], eax
jmp 0x45ab29
mov eax, dword [ecx + 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x124], edx
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x120], ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x124]
push eax
call fcn.0043b870
mov esi, dword [ebp - 0x1e0]
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x45ac46
push 0
push 0
push 0
push 0
push 0x104
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x1dc]
push ecx
push eax
call fcn.0043abc0
add esp, 0x20
test eax, eax
jne 0x45ac33
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea ebx, [eax + 0x10]
mov eax, dword [ebp - 0x1b4]
cmp eax, 1
jb 0x45abfa
mov al, byte [ebp + eax - 0x115]
cmp al, 0x5c
je 0x45abfa
cmp al, 0x2f
je 0x45abfa
xor eax, eax
cmp byte [ebp + eax - 0x114], 0x2f
jne 0x45abb2
mov byte [ebp + eax - 0x114], 0x5c
cmp byte [ebp + eax - 0x114], 0
je 0x45abc4
inc eax
cmp eax, 0x104
jb 0x45aba0
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x154], ebx
jae 0x45abd8
lea eax, [ebp - 0x168]
push eax
lea edx, [ebp - 0x114]
push edx
call edi
test eax, eax
jne 0x45abfa
push eax
mov eax, dword [esi]
push eax
call fcn.0043bb30
add esp, 8
test eax, eax
je 0x45ad6b
mov ecx, dword [esi]
push ecx
call fcn.0043ac60
add esp, 4
test eax, eax
jne 0x45ac33
mov ecx, dword [esi]
push eax
push eax
push eax
push eax
push 0x104
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x1dc]
push eax
push ecx
call fcn.0043abc0
add esp, 0x20
test eax, eax
je 0x45ab84
mov edx, dword [esi]
push edx
call fcn.0043b200
mov eax, dword [esi]
push eax
call fcn.0043b8c0
add esp, 8
cmp dword [ebp - 0x138], 8
mov byte [ebp - 4], 0
jb 0x45ac62
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.00467c75
add esp, 4
mov edx, dword [ebp - 0x1e4]
mov eax, dword [edx]
mov dword [ebp - 0x1e4], eax
cmp eax, dword [0x4a7c34]
jne 0x45a832
mov esi, dword [ebp - 0x1e0]
xor edi, edi
lea ebx, [edi + 7]
mov dword [esi], edi
mov dword [esi + 4], 0xffffffff
mov eax, dword [0x4a7c34]
mov ecx, dword [eax]
mov dword [ebp - 0x1e4], ecx
cmp ecx, eax
je 0x45b117
jmp 0x45acb0
xor eax, eax
mov word [ebp - 0x130], ax
mov eax, 0x4a74d8
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x45acd0
sub eax, edx
sar eax, 1
push eax
push 0x4a74d8
lea ecx, [ebp - 0x130]
call fcn.0044fe40
push 0x49951c
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x14c]
push edx
mov byte [ebp - 4], 2
call fcn.00459b50
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x45ade5
cmp dword [ebp - 0x11c], 8
jb 0x45ad37
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.00467c75
add esp, 4
xor edx, edx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], edi
mov word [ebp - 0x130], dx
cmp dword [esi + 0x14], 8
jae 0x45adbe
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x130]
push esi
push ecx
call fcn.00467ff0
add esp, 0xc
jmp 0x45adc8
cmp dword [ebp - 0x138], 8
jb 0x45ad83
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00467c75
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x138], 7
mov dword [ebp - 0x13c], 0
mov word [ebp - 0x14c], cx
cmp dword [ebp - 0x154], ebx
jb 0x45adb7
mov edx, dword [ebp - 0x168]
push edx
call fcn.00467c75
add esp, 4
mov eax, esi
jmp 0x45b221
mov edx, dword [esi]
mov dword [ebp - 0x130], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x120], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x11c], ecx
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov word [esi], dx
cmp dword [ebp - 0x138], 8
mov byte [ebp - 4], 2
jb 0x45ae01
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00467c75
add esp, 4
mov eax, dword [ebp - 0x1e4]
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x45ae12
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x14c]
push edx
call fcn.00459b50
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x45aeac
cmp dword [ebp - 0x11c], 8
jb 0x45ae51
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.00467c75
add esp, 4
xor edx, edx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], edi
mov word [ebp - 0x130], dx
cmp dword [esi + 0x14], 8
jae 0x45ae85
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x130]
push esi
push ecx
call fcn.00467ff0
add esp, 0xc
jmp 0x45ae8f
mov edx, dword [esi]
mov dword [ebp - 0x130], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x120], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x11c], ecx
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov word [esi], dx
cmp dword [ebp - 0x138], 8
mov byte [ebp - 4], 2
jb 0x45aec8
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00467c75
add esp, 4
push 0x49951c
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x14c]
push edx
call fcn.00459b50
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x45af66
cmp dword [ebp - 0x11c], 8
jb 0x45af0b
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.00467c75
add esp, 4
xor edx, edx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], edi
mov word [ebp - 0x130], dx
cmp dword [esi + 0x14], 8
jae 0x45af3f
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x130]
push esi
push ecx
call fcn.00467ff0
add esp, 0xc
jmp 0x45af49
mov edx, dword [esi]
mov dword [ebp - 0x130], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x120], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x11c], ecx
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov word [esi], dx
cmp dword [ebp - 0x138], 8
mov byte [ebp - 4], 2
jb 0x45af82
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00467c75
add esp, 4
push 0xfde9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1ec], esp
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x168]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], edi
push edx
mov byte [ecx], 0
call fcn.00402db0
lea eax, [ebp - 0x184]
push eax
call fcn.0045a320
push eax
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x14c]
push edx
mov byte [ebp - 4], 6
call fcn.00459c40
add esp, 0x30
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x45b058
cmp dword [ebp - 0x11c], 8
jb 0x45affd
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.00467c75
add esp, 4
xor edx, edx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], edi
mov word [ebp - 0x130], dx
cmp dword [esi + 0x14], 8
jae 0x45b031
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x130]
push esi
push ecx
call fcn.00467ff0
add esp, 0xc
jmp 0x45b03b
mov edx, dword [esi]
mov dword [ebp - 0x130], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x120], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x11c], ecx
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov word [esi], dx
cmp dword [ebp - 0x138], 8
jb 0x45b070
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00467c75
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x170], 8
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x13c], edi
mov word [ebp - 0x14c], cx
mov byte [ebp - 4], 2
jb 0x45b0a1
mov edx, dword [ebp - 0x184]
push edx
call fcn.00467c75
add esp, 4
cmp dword [ebp - 0x11c], 8
mov eax, dword [ebp - 0x130]
jae 0x45b0b6
lea eax, [ebp - 0x130]
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [ebp - 0x1e0]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x45b1b1
cmp dword [ebp - 0x11c], 8
mov byte [ebp - 4], 0
jb 0x45b0f7
mov eax, dword [ebp - 0x130]
push eax
call fcn.00467c75
add esp, 4
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ecx]
mov dword [ebp - 0x1e4], eax
cmp eax, dword [0x4a7c34]
jne 0x45acb0
mov esi, dword [ebp - 0x1e0]
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
push 0xfde9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1ec], esp
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x168]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], edi
push edx
mov byte [ecx], 0
call fcn.00402db0
lea eax, [ebp - 0x184]
push eax
call fcn.0045a320
mov edi, 8
add esp, 0x24
cmp dword [eax + 0x14], edi
jb 0x45b16a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp dword [ebp - 0x170], edi
jb 0x45b18b
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.00467c75
add esp, 4
cmp dword [esi + 4], 0xffffffff
je 0x45b1fe
cmp dword [ebp - 0x154], 0x10
jb 0x45adb7
mov edx, dword [ebp - 0x168]
push edx
call fcn.00467c75
add esp, 4
mov eax, esi
jmp 0x45b221
cmp dword [ebp - 0x11c], 8
jb 0x45b1c9
mov edx, dword [ebp - 0x130]
push edx
call fcn.00467c75
add esp, 4
xor eax, eax
cmp dword [ebp - 0x154], 0x10
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], edi
mov word [ebp - 0x130], ax
jb 0x45adb7
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.00467c75
add esp, 4
mov eax, esi
jmp 0x45b221
push esi
call fcn.00468870
add esp, 4
cmp dword [ebp - 0x154], 0x10
jb 0x45b21f
mov eax, dword [ebp - 0x168]
push eax
call fcn.00467c75
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.00468861
mov esp, ebp
pop ebp
ret