Function at 0x4759ff
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.0047608e
lea eax, [ebp - 0x13c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNUL32.dll_GetModuleFileN_meA]
lea eax, [ebp - 0x13c]
push 0x49c010
push eax
call fcn.0047a3c6
pop ecx
mov dword [esi], eax
test eax, eax
pop ecx
jne 0x475a4d
push 1
pop eax
jmp 0x475bdd
xor eax, eax
mov cl, byte [eax + 0x49c008]
mov byte [ebp + eax - 0x24], cl
mov cl, byte [eax + section..data]
mov byte [ebp + eax - 0x1c], cl
inc eax
cmp eax, 8
jl 0x475a4f
mov edi, dword [ebp + 0xc]
push edi
call fcn.0047b350
and dword [esi + 0x110], 0
pop ecx
lea ecx, [esi + 0x110]
xor edx, edx
test eax, eax
jle 0x475a91
movsx ebx, byte [edx + edi]
add dword [ecx], ebx
inc edx
cmp edx, eax
jl 0x475a86
push 2
push 0xfffffffffffffff8
push dword [esi]
call fcn.0047b2c8
push dword [esi]
lea edi, [esi + 4]
push 1
pop ebx
push ebx
push 4
push edi
call fcn.0047b221
push dword [esi]
call fcn.0047af72
push dword [esi]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push ebx
push 4
push eax
call fcn.0047b221
push 0
push 0
push dword [esi]
call fcn.0047b2c8
and dword [ebp + 0xc], 0
add esp, 0x3c
cmp dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
jle 0x475b10
mov ecx, dword [esi]
test byte [ecx + 0xc], 0x10
jne 0x475b10
push ecx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0047b221
add esp, 0x10
lea ecx, [ebp - 0x540]
push dword [ebp - 0x14]
call fcn.004760cd
inc dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 8]
jl 0x475ae0
xor eax, 0xaaaaaaaa
cmp dword [ebp - 0x10], eax
jne 0x475b51
push 0
push dword [edi]
push dword [esi]
call fcn.0047b2c8
push dword [esi]
lea eax, [ebp - 0x34]
push ebx
push 0x10
push eax
call fcn.0047b221
add esp, 0x1c
test eax, eax
je 0x475b51
xor eax, eax
mov cl, byte [ebp + eax - 0x34]
cmp cl, byte [ebp + eax - 0x24]
jne 0x475b4c
inc eax
cmp eax, 0x10
jl 0x475b3c
cmp eax, 0x10
je 0x475b55
push 3
jmp 0x475b6d
push dword [esi]
lea eax, [ebp - 1]
push ebx
push ebx
push eax
call fcn.0047b221
add esp, 0x10
cmp byte [ebp - 1], 3
je 0x475b7a
push 4
pop edi
push dword [esi]
call fcn.0047a61b
pop ecx
mov eax, edi
jmp 0x475bdd
push dword [esi]
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.0047b221
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0xfac1
lea ebx, [esi + 0xc]
push edi
push 1
push ebx
call fcn.0047b221
add esp, 0x20
lea eax, [edi + 0xc3d2]
mov ecx, esi
push eax
push edi
push ebx
call fcn.00475bf2
and byte [edi + esi + 0xc], 0
lea eax, [esi + 0x110]
xor ecx, ecx
cmp edi, ecx
mov dword [eax], ecx
jle 0x475bd0
movsx edx, byte [ebx + ecx]
add dword [eax], edx
inc ecx
cmp ecx, edi
jl 0x475bc5
push dword [esi]
call fcn.0047af72
mov dword [esi + 8], eax
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x475bf2
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [esp + 0x10]
call fcn.00411710
xor edi, edi
pop ecx
cmp dword [esp + 0xc], edi
jbe 0x475c1c
push esi
mov eax, dword [esp + 0xc]
lea esi, [edi + eax]
call fcn.00411880
xor byte [esi], al
inc edi
cmp edi, dword [esp + 0x10]
jb 0x475c06
pop esi
pop edi
ret 0xc