Function at 0x42823d
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
mov eax, 0x467c48
call fcn.00465ac0
sub esp, 0xac
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edx
push 0xa
pop edx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x5c], edi
call fcn.00433f04
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 0x10
jb 0x428275
mov esi, dword [esi]
call fcn.00433f77
mov edx, esi
mov ecx, eax
call fcn.00433ad6
push 0xf
pop esi
mov dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x54]
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x54], bl
call fcn.0041338c
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.0041332b
mov byte [ebp - 0x12], bl
lea edx, [ebp - 0x54]
push dword [ebp - 0x12]
lea ecx, [ebp - 0x88]
call fcn.00414d34
mov byte [ebp - 4], 3
lea edx, [ebp - 0x24]
mov byte [ebp - 0x12], bl
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x12]
call fcn.00414d66
pop ecx
pop ecx
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.0040c370
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.0041314d
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0041314d
test bl, bl
jne 0x42832f
push dword [ebp - 0x24]
xor ebx, ebx
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0041338c
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x3c]
call fcn.0041572d
lea ecx, [ebp - 0x3c]
call fcn.0041332b
jmp 0x428331
xor ebx, ebx
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
push ebx
cmovae eax, dword [ebp - 0x54]
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42839e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, 0x35
mov dword [ebp - 0x14], 0x79607b35
mov word [ebp - 0x10], 0x79
mov eax, ebx
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 4
jae 0x428381
mov cl, byte [ebp - 0x14]
jmp 0x428372
lea eax, [ebp - 0x13]
mov byte [ebp - 0xf], bl
push eax
mov ecx, edi
call fcn.00412991
lea ecx, [ebp - 0x54]
call fcn.0041332b
mov eax, edi
jmp 0x42851b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.0043e76e
push edi
mov ebx, eax
push 0
push ebx
call fcn.00440e40
and dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
add esp, 0x10
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x54]
call fcn.0040c941
cmp byte [ebx], 0xd0
mov dword [ebp - 0x8c], 0xf
sete byte [ebp - 0x15]
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x90], eax
mov byte [ebp - 0xa0], al
mov byte [ebp - 4], 5
mov esi, eax
test edi, edi
je 0x428432
mov al, byte [esi + ebx]
cmp al, 0x20
jbe 0x42842d
cmp al, 0x7f
jae 0x42842d
cmp al, 0x3d
je 0x42842d
mov byte [ebp - 0x14], al
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x14]
call fcn.00413351
inc esi
cmp esi, edi
jb 0x42840d
movaps xmm0, xmmword [0x47bee0]
xor ebx, ebx
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0x7d7571
mov edx, ebx
mov cl, byte [ebp - 0x70]
xor byte [ebp + edx - 0x6f], cl
inc edx
cmp edx, 0x12
jb 0x428448
push 0xf
pop esi
lea eax, [ebp - 0x6f]
mov dword [ebp - 0x3c], ebx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x5d], bl
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x3c], bl
call fcn.0041338c
mov byte [ebp - 4], 6
mov edx, ebx
push 0xa
pop ecx
mov byte [ebp - 0x1f], cl
mov dword [ebp - 0x1e], 0x79796b5a
mov dword [ebp - 0x1a], 0x6e78657d
mov byte [ebp - 0x16], bl
xor byte [ebp + edx - 0x1e], cl
inc edx
cmp edx, 8
jae 0x42849f
mov cl, byte [ebp - 0x1f]
jmp 0x428490
lea eax, [ebp - 0x1e]
mov dword [ebp - 0x88], ebx
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x16], bl
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], esi
mov byte [ebp - 0x88], bl
call fcn.0041338c
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00433bc9
mov dl, byte [ebp - 0x15]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
call fcn.00427f87
add esp, 0x18
lea ecx, [ebp - 0x88]
call fcn.0041332b
lea ecx, [ebp - 0x3c]
call fcn.0041332b
lea ecx, [ebp - 0xa0]
call fcn.0041332b
lea ecx, [ebp - 0x54]
call fcn.0041332b
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret