Function at 0x4728e0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50948b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x564690]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x1c], 0
movq qword [ebp - 0x1b], xmm0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
test eax, eax
je 0x472bb2
cmp eax, 0xffffffff
je 0x472bb2
cmp dword [edi + 0x38], 0
je 0x472bb2
cmp dword [edi + 0x88], 0
je 0x472965
call fcn.00472660
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.00473870
push 0x6c
call fcn.004e48e7
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x47299b
mov ecx, eax
call fcn.00472440
mov esi, eax
jmp 0x47299d
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4729de
push 0x4000
call fcn.004e3b54
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x28]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x4729e8
mov ecx, esi
call fcn.00472550
push esi
call fcn.004e48b8
add esp, 4
mov eax, 0xffffff98
jmp 0x472bb7
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x40], 0
test ecx, ecx
je 0x4729fb
mov eax, dword [edi + 0x54]
mov dword [ecx], eax
test ebx, ebx
je 0x472a30
mov dword [ebx], 6
mov eax, dword [edi + 0x50]
and eax, 6
sub eax, 2
je 0x472a2a
sub eax, 2
je 0x472a22
sub eax, 2
jne 0x472a30
mov dword [ebx], 1
jmp 0x472a30
mov dword [ebx], 2
jmp 0x472a30
mov dword [ebx], 9
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x54]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x64], eax
mov dword [esi + 0x18], 0
cmp dword [edi + 0x54], 8
jne 0x472aa1
cmp dword [ebp + 0x10], 0
jne 0x472aa1
push 0x38
push str.1.2.1
lea eax, [esi + 4]
push 0xfffffffffffffff1
push eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [eax], 0
mov dword [esi + 8], 0
call fcn.004e0d00
mov ebx, eax
test ebx, ebx
jne 0x472b94
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x60]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 0x24]
add eax, 0x1e
add eax, dword [edi + 0x84]
mov dword [esi + 8], 0
mov dword [esi + 0x3c], eax
mov dword [edi + 0x88], esi
mov esi, dword [ebp - 0x30]
mov dword [edi + 0x9c], 0
test esi, esi
je 0x472b90
call fcn.004e2440
push eax
lea ebx, [edi + 0x8c]
push ebx
push esi
mov dword [edi + 0x98], eax
call fcn.00473820
mov ecx, dword [edi + 0x88]
add esp, 0xc
mov eax, dword [ecx + 0x64]
add eax, dword [ecx + 0x3c]
push 0
push 0
push eax
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4729de
push 0
lea eax, [ebp - 0x20]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0x20]
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4729de
cmp dword [ebp - 0x20], 0xc
jb 0x4729de
xor esi, esi
lea ecx, [ecx]
mov edx, dword [edi + 0x98]
push edx
push ebx
call fcn.004737c0
movsx ecx, byte [ebp + esi - 0x1c]
xor eax, ecx
mov byte [ebp + esi - 0x1c], al
movsx eax, al
push eax
push edx
push ebx
call fcn.00473e50
inc esi
add esp, 0x14
cmp esi, 0xc
jl 0x472b50
mov eax, dword [edi + 0x88]
add dword [eax + 0x3c], 0xc
mov dword [edi + 0x9c], 1
xor eax, eax
jmp 0x472bb7
push dword [esi]
call fcn.004e5c83
add esp, 4
mov ecx, esi
call fcn.00472550
push esi
call fcn.004e48b8
add esp, 4
mov eax, ebx
jmp 0x472bb7
mov eax, 0xffffff9a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e50b4
mov esp, ebp
pop ebp
ret 0x10