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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b52e7
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, 0xe
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x40], 0xcb00e4
mov dword [ebp - 0x3c], 0xc800df
mov dword [ebp - 0x38], 0xc800d3
mov dword [ebp - 0x34], 0xdc00cc
mov dword [ebp - 0x30], 0xb200a5
mov dword [ebp - 0x2c], 0xb300ec
mov dword [ebp - 0x28], 0xae00a5
mov dword [ebp - 0x24], 0xc6
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x63bb30
xor ecx, ecx
mov word [ebp + eax*2 - 0x40], cx
lea ecx, [ebp - 0xc8]
mov eax, dword [esi + 4]
add eax, 0xcc
push eax
call fcn.00404120
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
mov eax, dword [esi + 4]
add eax, 0x6c
push eax
call fcn.00404120
push 0x7cd374
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00408060
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00413490
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00408060
add esp, 0x24
lea ecx, [ebp - 0xe0]
call fcn.00404490
lea ecx, [ebp - 0xf8]
call fcn.00404490
lea ecx, [ebp - 0xb0]
call fcn.00404490
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 9
call fcn.00404490
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x18]
cmovae eax, dword [ebp - 0x84]
sub esp, 0xc
push 3
push 1
push SysReAllocString
push eax
call fcn.00415b70
test eax, eax
je 0x63bc47
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x84]
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00404490
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x63bd5e
push eax
jmp 0x63bd58
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x58], eax
cmp eax, 0xffffffff
jne 0x63bc6a
call fcn.00415b30
test eax, eax
js 0x63bd37
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 9
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x63bc90
call fcn.00415b30
mov eax, dword [ebp - 0x8c]
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 6
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x20], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x63bcbc
call fcn.00415b30
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x6a]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x20], 0
jle 0x63bd2a
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 6
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x63bcf9
call fcn.00415b30
test eax, eax
jmp 0x63bcfd
cmp dword [ebp - 0x48], 6
jne 0x63bd2a
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x56]
mov esi, ecx
sub esi, dword [ebp - 0x98]
movzx eax, word [eax + 8]
cmp esi, eax
je 0x63bd7d
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x1c]
jl 0x63bcd2
test esi, esi
je 0x63bd37
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x84]
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00404490
test esi, esi
je 0x63bd5e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 4
push ecx
lea eax, [ebp - 0x91]
mov dword [ebp - 0x5c], 0
push eax
xorps xmm0, xmm0
mov byte [ebp - 0x91], 0
push esi
lea ecx, [ebp - 0x64]
movq qword [ebp - 0x64], xmm0
call fcn.0041e2a0
push 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x98]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x63bdd2
call fcn.00415b30
push esi
push dword [ebp - 0x64]
lea ecx, [ebp - 0x18]
call fcn.0063a760
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x63bdf3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
push 0
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.0041b2e0
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push esi
cmovae eax, dword [ebp - 0x38]
push dword [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [ebp - 0x38]
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x38]
mov dword [edi + 0x14], 0
add esp, 0xc
movups xmmword [edi], xmm0
mov byte [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x28]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
call fcn.00407a10
lea ecx, [ebp - 0x64]
call fcn.0040f050
lea ecx, [ebp - 0x84]
call fcn.00404490
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x63bd5e
push eax
jmp 0x63bd58