Function at 0x4735c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov ax, word [0x4a4e5c]
push ebx
xor ecx, ecx
push esi
mov word [ebp - 0x18], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x16], ecx
push edi
xor edi, edi
test eax, 0x80000000
mov dword [ebp - 0x12], ecx
lea edx, [ebp - 4]
mov word [ebp - 0xe], cx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x30], edx
je 0x4735fe
mov dword [ebp - 0xc], 1
xor ecx, ecx
push ecx
push 0x10000080
push 3
push ecx
push dword [ebp - 0xc]
je 0x47360f
pop fs
fdiv dword [ebx]
lds eax, [eax]
mov eax, dword [0xc533d8]
push dword [ebp + 0x10]
xor eax, 0xffffffff
push dword [ebp + 8]
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
cmp ecx, eax
jne 0x47363d
mov dword [0xe134a8], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [ebp + 0x10], ebx
mov esi, 0xc52394
mov eax, dword [ebp + 8]
push esi
push eax
call dword [0x4a40d4]
test eax, eax
je 0x473667
add esi, 0x104
inc edi
cmp esi, 0xc533d4
jl 0x473647
jmp 0x473674
mov ebx, dword [edi*4 + 0xe13460]
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0xc], edi
lea ecx, [ebp - 0x50]
push ecx
call dword [0x4a4100]
test ebx, ebx
jne 0x473942
mov eax, dword [0xe134ac]
mov ecx, dword [eax*4 + 0xe13460]
test ecx, ecx
je 0x4736a9
push ecx
call dword [0x4a4180]
mov eax, dword [0xe134ac]
mov dword [eax*4 + 0xe13460], ebx
mov edx, dword [ebp + 8]
mov ecx, eax
shl ecx, 6
loope 0x4736b7
push edx
add ecx, eax
lea edx, [ecx*4 + 0xc52394]
push edx
call dword [0x4a41ec]
xchg esp, eax
and eax, ebp
add byte [edx - 1], dl
adc eax, 0x4a41ec
lea eax, [ebp - 0x18]
mov dword [ebp + 0x10], 0xc53460
mov dword [ebp - 0xc], eax
xor ebx, ebx
push 0
je 0x4736d6
jnp 0xc57b0af8
mov ebx, dword [0xc533d4]
push dword [ebp - 0x30]
add bh, bh
jne 0x4736af
push 0xc
xor ebx, 0xffffffff
push dword [ebp - 0xc]
push dword [ebp - 8]
call ebx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4736ff
mov ecx, dword [ebp - 8]
push ecx
jmp 0x473af6
push 6
lea edx, [ebp - 0x18]
push str.WARC_1.7
push edx
call fcn.0044f340
add esp, 0xc
test eax, eax
je 0x47372a
mov eax, dword [ebp - 8]
push eax
call dword [0x4a4290]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x12], 0x2e
mov eax, dword [ebp - 0x13]
jne 0x473754
mov edx, dword [ebp - 0x11]
and eax, 0xff
lea ecx, [eax + eax*4]
and edx, 0xff
lea eax, [edx + ecx*2]
lea eax, [eax + eax*4]
lea ecx, [eax + eax - 0x14a0]
push ecx
jmp 0x47377b
and eax, 0xff
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x12]
and eax, 0xff
lea eax, [eax + edx*2]
mov edx, dword [ebp - 0x11]
lea ecx, [eax + eax*4]
and edx, 0xff
lea eax, [edx + ecx*2 - 0x14d0]
push eax
call fcn.00474c10
mov edi, dword [ebp - 0x10]
xor edi, 0xf182ad82
add esp, 4
mov dword [ebp - 0xc], edi
xor esi, esi
push 0
push esi
je 0x473797
push 0x2390358b
lds eax, [eax]
mov esi, dword [0xc52390]
push dword [ebp - 0xc]
xor esi, 0xffffffff
push dword [ebp - 8]
call esi
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4737ba
mov ecx, dword [ebp - 8]
push ecx
jmp 0x473af6
mov esi, 0xe0000
mov dword [ebp - 0x2c], esi
xor ecx, ecx
push 0
je 0x4737c9
push 0x33d40d8b
lds eax, [eax]
mov ecx, dword [0xc533d4]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
xor ecx, 0xffffffff
push dword [ebp + 0x10]
push dword [ebp - 8]
call ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x473af2
push esi
push 0xc53460
call fcn.00474910
add esp, 8
mov eax, 0xc53460
xor dword [eax], edi
add eax, 4
cmp eax, 0xd33460
jb 0x473801
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4d544c]
mov ecx, eax
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, eax
push ecx
push 0xdfff8
push 0xc53468
push 0xd33460
mov dword [ebp - 4], esi
call fcn.004751d0
add esp, 0x14
test eax, eax
je 0x473af2
mov eax, dword [ebp - 4]
push eax
push 0
call dword [0x4a4184]
mov ecx, dword [0xe134ac]
mov dword [ecx*4 + 0xe13460], eax
mov ecx, dword [ebp - 4]
mov edx, ecx
shr ecx, 2
mov edi, eax
mov esi, 0xd33460
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, 0xd33460
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [0xe134ac]
mov ebx, dword [ecx*4 + 0xe13460]
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
xor edi, edi
test esi, esi
mov dword [ebp + 0x10], ebx
mov dword [ecx*4 + 0xc53420], esi
jle 0x4738f7
mov esi, ebx
push esi
call dword [0x4a4190]
xor ecx, ecx
test eax, eax
jle 0x4738e2
mov bl, byte [esi + ecx]
mov dl, cl
inc dl
xor bl, dl
mov byte [esi + ecx], bl
inc ecx
cmp ecx, eax
jl 0x4738d1
mov ecx, dword [0xe134ac]
mov eax, dword [ecx*4 + 0xc53420]
inc edi
add esi, 0x38
cmp edi, eax
jl 0x4738c4
mov esi, ecx
inc ecx
cmp ecx, 0x10
mov dword [ebp - 0xc], esi
mov dword [0xe134ac], ecx
jb 0x473912
mov dword [0xe134ac], 0
mov eax, dword [esi*4 + 0xc53420]
mov edx, dword [esi*4 + 0xe13460]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
push edx
call fcn.00475400
add esp, 8
and eax, 0xffff
mov dword [esi*4 + 0xc533e0], eax
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [ebp - 0x158]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x158]
push ecx
call dword [0x4a4190]
mov edx, dword [ebp - 0xc]
mov esi, eax
lea eax, [edx*4 + 0xc53420]
mov dword [ebp - 0x54], eax
mov eax, dword [eax]
lea ecx, [ebp - 0x158]
dec esi
push ecx
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], eax
call dword [0x4a43b4]
xor eax, eax
inc esi
test esi, esi
jle 0x4739ba
mov cl, byte [ebp + eax - 0x158]
mov dl, al
inc dl
xor cl, dl
mov byte [ebp + eax - 0x25c], cl
inc eax
cmp eax, esi
jl 0x4739a1
lea edx, [ebp - 0x25c]
mov byte [ebp + eax - 0x25c], 0
mov dword [ebp - 0x2c], edx
pushfd
cld
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ax, word [esi]
add esi, 2
mov ebx, edi
cmp word [edi], ax
jne 0x4739f1
mov ecx, dword [ebp + 8]
add edi, 2
push esi
or ecx, ecx
repe cmpsb byte [esi], byte es:[edi]
pop esi
je 0x4739f9
lea edi, [ebx + 0x38]
dec edx
jne 0x4739dc
xor ebx, ebx
mov dword [ebp - 0x30], ebx
popfd
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x473a0d
mov eax, dword [ebp - 8]
push eax
jmp 0x473af6
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
mov esi, dword [ebp - 0xc]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi*4 + 0xe13460]
shl edx, 3
push edx
push eax
call fcn.00475400
mov ecx, dword [esi*4 + 0xc533e0]
add esp, 8
and eax, 0xffff
cmp ecx, eax
je 0x473a4b
mov ecx, dword [ebp - 8]
push ecx
jmp 0x473af6
lea edx, [ebp - 0x40]
push edx
call dword [0x4a4100]
mov esi, dword [0x4a42c8]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x50]
push ecx
call esi
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
push 0
sub ecx, ebx
push 0x2710
sbb edx, esi
push edx
push ecx
call fcn.0044e590
test edx, edx
jl 0x473aa0
jg 0x473a9a
cmp eax, 0x7800
jbe 0x473aa0
mov eax, dword [ebp - 8]
push eax
jmp 0x473af6
mov eax, dword [ebp + 0x20]
test eax, eax
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov dword [ebp - 0xc], ecx
je 0x473ab2
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x473abb
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x473ac4
mov dword [eax], edx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x473ad0
mov ecx, dword [edi + 0x28]
mov dword [eax], ecx
xor ebx, ebx
push 0
push ebx
je 0x473ad8
jnp 0xc56acafa
mov ebx, dword [0xc52390]
push dword [ebp - 0xc]
add bh, bh
jne 0x473ad5
xor ebx, 0xffffffff
push dword [ebp - 8]
call ebx
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0xffffffff
jne 0x473b10
mov edx, dword [ebp - 8]
push edx
call dword [0x4a4290]
mov dword [0xe134a8], 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret