Function at 0x480bef
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x540]
call fcn.0048127e
lea eax, [ebp - 0x13c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x13c]
push 0x4bc010
push eax
call fcn.00485dc7
pop ecx
mov dword [esi], eax
test eax, eax
pop ecx
jne 0x480c3d
push 1
pop eax
jmp 0x480dcd
xor eax, eax
mov cl, byte [eax + 0x4bc008]
mov byte [ebp + eax - 0x24], cl
mov cl, byte [eax + section..data]
mov byte [ebp + eax - 0x1c], cl
inc eax
cmp eax, 8
jl 0x480c3f
mov edi, dword [ebp + 0xc]
push edi
call fcn.00485c80
and dword [esi + 0x110], 0
pop ecx
lea ecx, [esi + 0x110]
xor edx, edx
test eax, eax
jle 0x480c81
movsx ebx, byte [edx + edi]
add dword [ecx], ebx
inc edx
cmp edx, eax
jl 0x480c76
push 2
push 0xfffffffffffffff8
push dword [esi]
call fcn.00485bf7
push dword [esi]
lea edi, [esi + 4]
push 1
pop ebx
push ebx
push 4
push edi
call fcn.00485b50
push dword [esi]
call fcn.004858a1
push dword [esi]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push ebx
push 4
push eax
call fcn.00485b50
push 0
push 0
push dword [esi]
call fcn.00485bf7
and dword [ebp + 0xc], 0
add esp, 0x3c
cmp dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
jle 0x480d00
mov ecx, dword [esi]
test byte [ecx + 0xc], 0x10
jne 0x480d00
push ecx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00485b50
add esp, 0x10
lea ecx, [ebp - 0x540]
push dword [ebp - 0x14]
call fcn.004812bd
inc dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 8]
jl 0x480cd0
xor eax, 0xaaaaaaaa
cmp dword [ebp - 0x10], eax
jne 0x480d41
push 0
push dword [edi]
push dword [esi]
call fcn.00485bf7
push dword [esi]
lea eax, [ebp - 0x34]
push ebx
push 0x10
push eax
call fcn.00485b50
add esp, 0x1c
test eax, eax
je 0x480d41
xor eax, eax
mov cl, byte [ebp + eax - 0x34]
cmp cl, byte [ebp + eax - 0x24]
jne 0x480d3c
inc eax
cmp eax, 0x10
jl 0x480d2c
cmp eax, 0x10
je 0x480d45
push 3
jmp 0x480d5d
push dword [esi]
lea eax, [ebp - 1]
push ebx
push ebx
push eax
call fcn.00485b50
add esp, 0x10
cmp byte [ebp - 1], 3
je 0x480d6a
push 4
pop edi
push dword [esi]
call fcn.00484ee8
pop ecx
mov eax, edi
jmp 0x480dcd
push dword [esi]
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.00485b50
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0xfac1
lea ebx, [esi + 0xc]
push edi
push 1
push ebx
call fcn.00485b50
add esp, 0x20
lea eax, [edi + 0xc3d2]
mov ecx, esi
push eax
push edi
push ebx
call fcn.00480de2
and byte [edi + esi + 0xc], 0
lea eax, [esi + 0x110]
xor ecx, ecx
cmp edi, ecx
mov dword [eax], ecx
jle 0x480dc0
movsx edx, byte [ebx + ecx]
add dword [eax], edx
inc ecx
cmp ecx, edi
jl 0x480db5
push dword [esi]
call fcn.004858a1
mov dword [esi + 8], eax
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x480de2
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [esp + 0x10]
call fcn.00411ee0
xor edi, edi
pop ecx
cmp dword [esp + 0xc], edi
jbe 0x480e0c
push esi
mov eax, dword [esp + 0xc]
lea esi, [edi + eax]
call fcn.00412050
xor byte [esi], al
inc edi
cmp edi, dword [esp + 0x10]
jb 0x480df6
pop esi
pop edi
ret 0xc