Function at 0x44ffa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov ax, word [0x47bc24]
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 0x44ffde
mov dword [ebp - 0xc], 1
xor ecx, ecx
push ecx
push 0x10000080
push 3
push ecx
push dword [ebp - 0xc]
je 0x44ffef
pop fs
call 0xff463b5b
jne 0x450007
mov eax, dword [0x13b66e8]
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 0x45001d
invalid
mov dword [0x15767b8], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [ebp + 0x10], ebx
mov esi, 0x13b56a4
mov eax, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x450047
add esi, 0x104
inc edi
cmp esi, 0x13b66e4
jl 0x450027
jmp 0x450054
mov ebx, dword [edi*4 + 0x1576770]
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0xc], edi
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
test ebx, ebx
jne 0x450322
mov eax, dword [0x15767bc]
mov ecx, dword [eax*4 + 0x1576770]
test ecx, ecx
je 0x450089
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x15767bc]
mov dword [eax*4 + 0x1576770], ebx
mov edx, dword [ebp + 8]
mov ecx, eax
shl ecx, 6
loope 0x450097
push edx
add ecx, eax
lea edx, [ecx*4 + 0x13b56a4]
movsb byte es:[edi], byte [esi]
push esi
cmp eax, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x18]
mov dword [ebp + 0x10], 0x13b6770
mov dword [ebp - 0xc], eax
xor ebx, ebx
push 0
je 0x4500b6
jnp 0x3babe4d8
mov ebx, dword [0x13b66e4]
push dword [ebp - 0x30]
add edi, edi
jne 0x45008f
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 0x4500df
mov ecx, dword [ebp - 8]
push ecx
jmp 0x4504d6
push 6
lea edx, [ebp - 0x18]
push str.WARC_1.7
push edx
call fcn.004458c0
add esp, 0xc
test eax, eax
je 0x45010a
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 0x450134
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 0x45015b
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.004515c0
mov edi, dword [ebp - 0x10]
xor edi, 0xf182ad82
add esp, 4
mov dword [ebp - 0xc], edi
xor esi, esi
push 0
push esi
je 0x450177
push 0x56a0358b
cmp eax, dword [ecx]
mov esi, dword [0x13b56a0]
push dword [ebp - 0xc]
xor esi, 0xffffffff
push dword [ebp - 8]
call esi
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x45019a
mov ecx, dword [ebp - 8]
push ecx
jmp 0x4504d6
mov esi, 0xe0000
mov dword [ebp - 0x2c], esi
xor ecx, ecx
push 0
je 0x4501a9
push 0x66e40d8b
cmp eax, dword [ecx]
mov ecx, dword [0x13b66e4]
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 0x4504d2
push esi
push 0x13b6770
call fcn.004512d0
add esp, 8
mov eax, 0x13b6770
xor dword [eax], edi
add eax, 4
cmp eax, 0x1496770
jb 0x4501e1
lea eax, [ebp - 4]
push eax
mov eax, dword [0x498a90]
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 0x13b6778
push 0x1496770
mov dword [ebp - 4], esi
call fcn.00451b90
add esp, 0x14
test eax, eax
je 0x4504d2
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x15767bc]
mov dword [ecx*4 + 0x1576770], eax
mov ecx, dword [ebp - 4]
mov edx, ecx
shr ecx, 2
mov edi, eax
mov esi, 0x1496770
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, 0x1496770
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [0x15767bc]
mov ebx, dword [ecx*4 + 0x1576770]
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 + 0x13b6730], esi
jle 0x4502d7
mov esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
test eax, eax
jle 0x4502c2
mov bl, byte [esi + ecx]
mov dl, cl
inc dl
xor bl, dl
mov byte [esi + ecx], bl
inc ecx
cmp ecx, eax
jl 0x4502b1
mov ecx, dword [0x15767bc]
mov eax, dword [ecx*4 + 0x13b6730]
inc edi
add esi, 0x38
cmp edi, eax
jl 0x4502a4
mov esi, ecx
inc ecx
cmp ecx, 0x10
mov dword [ebp - 0xc], esi
mov dword [0x15767bc], ecx
jb 0x4502f2
mov dword [0x15767bc], 0
mov eax, dword [esi*4 + 0x13b6730]
mov edx, dword [esi*4 + 0x1576770]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
push edx
call fcn.00451c60
add esp, 8
and eax, 0xffff
mov dword [esi*4 + 0x13b66f0], 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 [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp - 0xc]
mov esi, eax
lea eax, [edx*4 + 0x13b6730]
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 [sym.imp.USER32.dll_CharUpperA]
xor eax, eax
inc esi
test esi, esi
jle 0x45039a
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 0x450381
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 0x4503d1
mov ecx, dword [ebp + 8]
add edi, 2
push esi
or ecx, ecx
repe cmpsb byte [esi], byte es:[edi]
pop esi
je 0x4503d9
lea edi, [ebx + 0x38]
dec edx
jne 0x4503bc
xor ebx, ebx
mov dword [ebp - 0x30], ebx
popfd
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x4503ed
mov eax, dword [ebp - 8]
push eax
jmp 0x4504d6
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 + 0x1576770]
shl edx, 3
push edx
push eax
call fcn.00451c60
mov ecx, dword [esi*4 + 0x13b66f0]
add esp, 8
and eax, 0xffff
cmp ecx, eax
je 0x45042b
mov ecx, dword [ebp - 8]
push ecx
jmp 0x4504d6
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
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.00445190
test edx, edx
jl 0x450480
jg 0x45047a
cmp eax, 0x7800
jbe 0x450480
mov eax, dword [ebp - 8]
push eax
jmp 0x4504d6
mov eax, dword [ebp + 0x20]
test eax, eax
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov dword [ebp - 0xc], ecx
je 0x450492
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x45049b
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4504a4
mov dword [eax], edx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4504b0
mov ecx, dword [edi + 0x28]
mov dword [eax], ecx
xor ebx, ebx
push 0
push ebx
je 0x4504b8
jnp 0x3b9ba4da
mov ebx, dword [0x13b56a0]
push dword [ebp - 0xc]
add edi, edi
jne 0x4504b5
xor ebx, 0xffffffff
push dword [ebp - 8]
call ebx
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0xffffffff
jne 0x4504f0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x15767b8], 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