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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4abd08]
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 0x45e4df
push edi
push 0x492821
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x154], 0xf
mov dword [ebp - 0x158], edi
mov byte [ebp - 0x168], 0
call fcn.004037a0
mov al, byte [esi]
mov dword [ebp - 4], edi
mov byte [ebp - 0x1e0], al
test al, al
je 0x45da4f
cmp al, 0x2f
jne 0x45da2d
mov byte [ebp - 0x1e0], 0x5c
mov eax, dword [ebp - 0x1e0]
push eax
push 1
lea ecx, [ebp - 0x168]
call fcn.004036f0
mov al, byte [esi + 1]
inc esi
mov byte [ebp - 0x1e0], al
test al, al
jne 0x45da22
push 0xc
call fcn.0046d5d8
add esp, 4
mov dword [ebp - 0x1e0], eax
cmp eax, edi
jne 0x45da7c
cmp dword [ebp - 0x154], 0x10
jb 0x45e4df
mov ecx, dword [ebp - 0x168]
push ecx
jmp 0x45e4d7
mov esi, dword [ebp - 0x1e0]
mov dword [ebp - 0x224], 0x4451d0
mov dword [ebp - 0x220], 0x445210
mov dword [ebp - 0x21c], 0x445250
mov dword [ebp - 0x218], 0x445290
mov dword [ebp - 0x214], 0x4452b0
mov dword [ebp - 0x210], 0x445310
mov dword [ebp - 0x20c], 0x445330
mov dword [ebp - 0x208], edi
mov dword [esi], edi
mov dword [esi + 4], 0xffffffff
mov ecx, dword [0x4adcb4]
mov eax, dword [ecx]
mov dword [ebp - 0x1e4], eax
mov ebx, 7
cmp eax, ecx
je 0x45df47
mov edx, dword [ebp - 0x1e4]
add edx, 8
mov edi, 8
cmp dword [edx + 0x14], edi
jb 0x45db07
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 0x45db30
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x14c]
call fcn.00453110
mov eax, dword [ebp - 0x14c]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], edi
jae 0x45db64
lea eax, [ebp - 0x14c]
push eax
call fcn.0048c5d1
mov edi, dword [ebp - 0x138]
mov ebx, dword [ebp - 0x14c]
add esp, 4
mov ecx, ebx
cmp edi, 8
jae 0x45db86
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x13c]
add edx, edx
test ecx, ecx
jne 0x45db9a
mov dword [ebp - 0x1e8], ecx
jmp 0x45dbdb
test edx, edx
jne 0x45dba8
xor ecx, ecx
mov dword [ebp - 0x1e8], ecx
jmp 0x45dbdb
or eax, 0xffffffff
test edx, edx
je 0x45dbd1
nop
movzx ebx, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, ebx
shr eax, 8
xor eax, dword [esi*4 + 0x4ab570]
inc ecx
dec edx
jne 0x45dbb0
mov ebx, dword [ebp - 0x14c]
not eax
mov ecx, eax
mov dword [ebp - 0x1e8], eax
mov esi, dword [0x4adce4]
mov eax, dword [esi + 4]
cmp byte [eax + 0x15], 0
mov edx, esi
jne 0x45dc04
lea esp, [esp]
cmp dword [eax + 0xc], ecx
jae 0x45dbfa
mov eax, dword [eax + 8]
jmp 0x45dbfe
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0x45dbf0
mov dword [ebp - 0x1f0], edx
cmp edx, esi
je 0x45dc1b
cmp ecx, dword [edx + 0xc]
jb 0x45dc1b
lea eax, [ebp - 0x1f0]
jmp 0x45dc27
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 0x45ddd2
cmp edi, 8
jb 0x45dc65
mov eax, ebx
test ebx, ebx
jne 0x45dc6b
or edi, 0xffffffff
mov dword [ebp - 0x1f0], edi
jmp 0x45dcc8
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 0x45dc92
mov dword [ebp - 0x1f0], edi
jmp 0x45dcc8
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.0046c68a
add esp, 4
test eax, eax
je 0x45dce3
push 0
mov ecx, eax
call fcn.00443a30
mov esi, eax
jmp 0x45dce5
xor esi, esi
lea eax, [edi + 4]
push eax
call fcn.0046d5d8
mov ebx, eax
lea eax, [edi + 4]
push eax
push 0
push ebx
call fcn.0046c140
mov eax, dword [esi]
add esp, 0x10
test eax, eax
je 0x45dd25
mov ecx, dword [esi + 4]
cmp edi, ecx
jae 0x45dd0f
push edi
jmp 0x45dd10
push ecx
push eax
push ebx
call fcn.0046ba50
mov eax, dword [esi]
add esp, 0xc
push eax
call fcn.0046c650
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], edi
cmp dword [ebp - 0x138], 8
mov eax, dword [ebp - 0x14c]
jae 0x45dd3f
lea eax, [ebp - 0x14c]
push 0
push edi
push 0
push 0
push ebx
push eax
call fcn.00443810
push esi
call fcn.00444bc0
add edi, 0x10
add esp, 4
cmp dword [esi + 4], edi
jb 0x45dd88
mov eax, dword [esi]
test eax, eax
je 0x45dd6d
push eax
call fcn.0046c650
add esp, 4
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046ba37
add esp, 4
jmp 0x45df06
mov edx, dword [ebp - 0x1e8]
push 0
lea eax, [ebp - 0x1fc]
push eax
mov ecx, 0x4adce0
mov dword [ebp - 0x1fc], edx
mov dword [ebp - 0x1f8], esi
call fcn.00453800
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, 0x4adce0
call fcn.00450cd0
mov edx, dword [esi]
mov dword [ebp - 0x124], edx
mov eax, dword [esi + 4]
mov dword [ebp - 0x120], eax
jmp 0x45dde9
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.0043e730
mov esi, dword [ebp - 0x1e0]
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x45df06
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.0043da80
add esp, 0x20
test eax, eax
jne 0x45def3
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea ebx, [eax + 0x10]
mov eax, dword [ebp - 0x1b4]
cmp eax, 1
jb 0x45deba
mov al, byte [ebp + eax - 0x115]
cmp al, 0x5c
je 0x45deba
cmp al, 0x2f
je 0x45deba
xor eax, eax
cmp byte [ebp + eax - 0x114], 0x2f
jne 0x45de72
mov byte [ebp + eax - 0x114], 0x5c
cmp byte [ebp + eax - 0x114], 0
je 0x45de84
inc eax
cmp eax, 0x104
jb 0x45de60
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x154], ebx
jae 0x45de98
lea eax, [ebp - 0x168]
push eax
lea edx, [ebp - 0x114]
push edx
call edi
test eax, eax
jne 0x45deba
push eax
mov eax, dword [esi]
push eax
call fcn.0043e9f0
add esp, 8
test eax, eax
je 0x45e02b
mov ecx, dword [esi]
push ecx
call fcn.0043db20
add esp, 4
test eax, eax
jne 0x45def3
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.0043da80
add esp, 0x20
test eax, eax
je 0x45de44
mov edx, dword [esi]
push edx
call fcn.0043e0c0
mov eax, dword [esi]
push eax
call fcn.0043e780
add esp, 8
cmp dword [ebp - 0x138], 8
mov byte [ebp - 4], 0
jb 0x45df22
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.0046ba37
add esp, 4
mov edx, dword [ebp - 0x1e4]
mov eax, dword [edx]
mov dword [ebp - 0x1e4], eax
cmp eax, dword [0x4adcb4]
jne 0x45daf2
mov esi, dword [ebp - 0x1e0]
xor edi, edi
lea ebx, [edi + 7]
mov dword [esi], edi
mov dword [esi + 4], 0xffffffff
mov eax, dword [0x4adcb4]
mov ecx, dword [eax]
mov dword [ebp - 0x1e4], ecx
cmp ecx, eax
je 0x45e3d7
jmp 0x45df70
xor eax, eax
mov word [ebp - 0x130], ax
mov eax, 0x4ad558
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 0x45df90
sub eax, edx
sar eax, 1
push eax
push 0x4ad558
lea ecx, [ebp - 0x130]
call fcn.00453110
push 0x49e7bc
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x14c]
push edx
mov byte [ebp - 4], 2
call fcn.0045ce10
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x45e0a5
cmp dword [ebp - 0x11c], 8
jb 0x45dff7
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0046ba37
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 0x45e07e
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x130]
push esi
push ecx
call fcn.0046bdd0
add esp, 0xc
jmp 0x45e088
cmp dword [ebp - 0x138], 8
jb 0x45e043
mov eax, dword [ebp - 0x14c]
push eax
call fcn.0046ba37
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 0x45e077
mov edx, dword [ebp - 0x168]
push edx
call fcn.0046ba37
add esp, 4
mov eax, esi
jmp 0x45e4e1
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 0x45e0c1
mov eax, dword [ebp - 0x14c]
push eax
call fcn.0046ba37
add esp, 4
mov eax, dword [ebp - 0x1e4]
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x45e0d2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x14c]
push edx
call fcn.0045ce10
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x45e16c
cmp dword [ebp - 0x11c], 8
jb 0x45e111
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0046ba37
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 0x45e145
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x130]
push esi
push ecx
call fcn.0046bdd0
add esp, 0xc
jmp 0x45e14f
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 0x45e188
mov eax, dword [ebp - 0x14c]
push eax
call fcn.0046ba37
add esp, 4
push 0x49e7bc
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x14c]
push edx
call fcn.0045ce10
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x45e226
cmp dword [ebp - 0x11c], 8
jb 0x45e1cb
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0046ba37
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 0x45e1ff
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x130]
push esi
push ecx
call fcn.0046bdd0
add esp, 0xc
jmp 0x45e209
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 0x45e242
mov eax, dword [ebp - 0x14c]
push eax
call fcn.0046ba37
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.00402dc0
lea eax, [ebp - 0x184]
push eax
call fcn.0045d5e0
push eax
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x14c]
push edx
mov byte [ebp - 4], 6
call fcn.0045cf00
add esp, 0x30
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x45e318
cmp dword [ebp - 0x11c], 8
jb 0x45e2bd
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0046ba37
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 0x45e2f1
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x130]
push esi
push ecx
call fcn.0046bdd0
add esp, 0xc
jmp 0x45e2fb
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 0x45e330
mov eax, dword [ebp - 0x14c]
push eax
call fcn.0046ba37
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 0x45e361
mov edx, dword [ebp - 0x184]
push edx
call fcn.0046ba37
add esp, 4
cmp dword [ebp - 0x11c], 8
mov eax, dword [ebp - 0x130]
jae 0x45e376
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 0x45e471
cmp dword [ebp - 0x11c], 8
mov byte [ebp - 4], 0
jb 0x45e3b7
mov eax, dword [ebp - 0x130]
push eax
call fcn.0046ba37
add esp, 4
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ecx]
mov dword [ebp - 0x1e4], eax
cmp eax, dword [0x4adcb4]
jne 0x45df70
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.00402dc0
lea eax, [ebp - 0x184]
push eax
call fcn.0045d5e0
mov edi, 8
add esp, 0x24
cmp dword [eax + 0x14], edi
jb 0x45e42a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp dword [ebp - 0x170], edi
jb 0x45e44b
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.0046ba37
add esp, 4
cmp dword [esi + 4], 0xffffffff
je 0x45e4be
cmp dword [ebp - 0x154], 0x10
jb 0x45e077
mov edx, dword [ebp - 0x168]
push edx
call fcn.0046ba37
add esp, 4
mov eax, esi
jmp 0x45e4e1
cmp dword [ebp - 0x11c], 8
jb 0x45e489
mov edx, dword [ebp - 0x130]
push edx
call fcn.0046ba37
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 0x45e077
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.0046ba37
add esp, 4
mov eax, esi
jmp 0x45e4e1
push esi
call fcn.0046c650
add esp, 4
cmp dword [ebp - 0x154], 0x10
jb 0x45e4df
mov eax, dword [ebp - 0x168]
push eax
call fcn.0046ba37
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.0046c641
mov esp, ebp
pop ebp
ret