Function at 0x472c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x88]
test eax, eax
je 0x472e4b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x472e42
mov edx, dword [ebp + 8]
test edx, edx
je 0x472e42
mov dword [eax + 0x10], edx
mov eax, dword [esi + 0x88]
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 0x88]
mov edx, dword [eax + 0x5c]
cmp ecx, edx
jbe 0x472c49
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 0x88]
push ebx
xor ebx, ebx
push edi
mov dword [ebp + 0xc], ebx
cmp dword [ecx + 0x14], ebx
jbe 0x472e2c
nop
cmp dword [ecx + 8], 0
jne 0x472d46
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x472d46
mov ebx, 0x4000
cmp eax, ebx
jae 0x472c88
mov ebx, eax
test ebx, ebx
je 0x472e37
mov eax, dword [ecx + 0x64]
add eax, dword [ecx + 0x3c]
push 0
push 0
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x88]
push ebx
push dword [eax]
mov eax, dword [esi + 0x1c]
push dword [esi + 0x20]
call eax
cmp dword [esi + 0x9c], 0
je 0x472d1d
xor edi, edi
test ebx, ebx
je 0x472d1d
lea ecx, [esi + 0x8c]
jmp 0x472cd0
mov eax, dword [esi + 0x88]
push dword [esi + 0x98]
mov edx, dword [eax]
push ecx
call fcn.004737c0
movsx ecx, byte [edx + edi]
xor eax, ecx
mov byte [edx + edi], al
movsx eax, al
push eax
push dword [esi + 0x98]
lea eax, [esi + 0x8c]
push eax
call fcn.00473e50
mov ecx, dword [esi + 0x88]
inc edi
mov ecx, dword [ecx]
add esp, 0x14
mov byte [edi + ecx - 1], al
lea ecx, [esi + 0x8c]
cmp edi, ebx
jb 0x472cd0
mov eax, dword [esi + 0x88]
add dword [eax + 0x3c], ebx
mov eax, dword [esi + 0x88]
sub dword [eax + 0x58], ebx
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x88]
mov dword [eax + 8], ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [ecx + 0x60], 0
jne 0x472dc3
mov edi, dword [ecx + 8]
cmp dword [ecx + 0x14], edi
cmovb edi, dword [ecx + 0x14]
push edi
push dword [ecx + 4]
push dword [ecx + 0x10]
call fcn.004e5510
mov eax, dword [esi + 0x88]
add esp, 0xc
push edi
push dword [eax + 0x10]
push dword [eax + 0x50]
call fcn.004e2710
mov ecx, dword [esi + 0x88]
mov dword [ecx + 0x50], eax
mov eax, dword [esi + 0x88]
sub dword [eax + 0x5c], edi
mov eax, dword [esi + 0x88]
sub dword [eax + 8], edi
mov eax, dword [esi + 0x88]
sub dword [eax + 0x14], edi
mov eax, dword [esi + 0x88]
add dword [eax + 0x10], edi
mov eax, dword [esi + 0x88]
add dword [eax + 4], edi
mov eax, dword [esi + 0x88]
add dword [eax + 0x18], edi
add ebx, edi
mov dword [ebp + 0xc], ebx
jmp 0x472e1c
mov edi, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x10]
push 2
lea eax, [ecx + 4]
push eax
call fcn.004e0ee0
mov ecx, dword [esi + 0x88]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x18]
sub eax, edi
push eax
push ebx
push dword [ecx + 0x50]
mov dword [ebp + 8], eax
call fcn.004e2710
mov ecx, dword [esi + 0x88]
mov ebx, dword [ebp + 0xc]
mov dword [ecx + 0x50], eax
mov eax, dword [esi + 0x88]
mov ecx, dword [ebp + 8]
sub dword [eax + 0x5c], ecx
mov eax, dword [ebp - 4]
add ebx, ecx
mov dword [ebp + 0xc], ebx
cmp eax, 1
je 0x472e2c
push eax
mov ecx, esi
call fcn.00472640
mov ecx, dword [esi + 0x88]
cmp dword [ecx + 0x14], 0
ja 0x472c60
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffff9a
call fcn.00472ea0
int3