Function at 0x10079c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e1b1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x100a4040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x100be9e8]
push 0x7ff
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [0x100be9f8]
mov edi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x68]
call edx
test al, al
je 0x1007a14a
mov ecx, dword [0x100be9f8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1007a14a
mov ecx, dword [0x100be9f8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100be9e8]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov esi, eax
test esi, esi
je 0x1007a154
mov ax, word [0x100bf268]
test ax, ax
jne 0x10079d15
mov ecx, 0x19222c70
call fcn.10002c20
mov word [0x100bf268], ax
movzx eax, ax
cmp dword [eax + esi], 0
jne 0x1007a154
mov ax, word [0x100be938]
test ax, ax
jne 0x10079d3d
mov ecx, 0xa4f40f36
call fcn.10002c20
mov word [0x100be938], ax
movzx eax, ax
cmp dword [eax + esi], 0
jle 0x1007a154
mov eax, dword [0x100bf398]
test eax, eax
jne 0x10079dec
mov ecx, dword [0x100bea08]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov esi, eax
test esi, esi
je 0x1007a154
mov edi, dword [sym.imp.VCRUNTIME140.dll_strstr]
nop dword [eax]
nop dword [eax + eax]
cmp dword [0x100bf398], 0
jne 0x1007a154
push str.CPrecipitation
push dword [esi + 8]
call edi
add esp, 8
test eax, eax
je 0x10079dd4
movups xmm0, xmmword [0x1009a7d0]
mov byte [ebp - 0x18], 0
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
nop
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xf
jb 0x10079db0
lea eax, [ebp - 0x27]
mov byte [ebp - 0x18], 0
push esi
push eax
call fcn.10002690
add esp, 8
mov dword [0x100bf398], esi
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x10079d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x1007a154
cmp dword [eax], edi
je 0x1007a154
movaps xmm0, xmmword [0x1009a6f0]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x1c091c01
mov dword [ebp - 0x1c], 0x62060701
mov byte [ebp - 0x18], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x17
jb 0x10079e20
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x18], 0
push eax
call fcn.10002690
mov eax, dword [0x100bf398]
push 0
push 0x7ff
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [0x100bf3a8], eax
test eax, eax
je 0x1007a154
mov ecx, dword [0x100be9e8]
push 0x7ff
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [0x100bfc4c]
mov esi, eax
mov edx, dword [0x100be8d8]
mov dword [ebp - 0x10], esi
mov eax, dword [ecx]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x14], eax
mov edi, dword [ecx + edx*4]
mov ecx, dword [0x100bf3a0]
cmp ecx, dword [edi + 4]
jle 0x10079fa1
push 0x100bf3a0
call fcn.1008a0fd
add esp, 4
cmp dword [0x100bf3a0], 0xffffffff
jne 0x10079fa1
mov dword [ebp - 4], 0
mov eax, dword [0x100be904]
cmp eax, dword [edi + 4]
jle 0x10079f17
push 0x100be904
call fcn.1008a0fd
add esp, 4
cmp dword [0x100be904], 0xffffffff
jne 0x10079f17
push 0x1008f440
mov dword [0x100be8f8], 0
mov dword [0x100be8fc], 0
mov dword [0x100be900], 0
call fcn.1008a5ab
push 0x100be904
call fcn.1008a0ac
add esp, 8
mov esi, dword [0x100be8f8]
mov edi, dword [0x100be8fc]
cmp esi, edi
je 0x10079f4d
mov eax, dword [esi]
test eax, eax
je 0x10079f46
push str.DT_Precipitation
push dword [eax + 0xc]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x1007a0d8
add esi, 4
cmp esi, edi
jne 0x10079f27
movaps xmm0, xmmword [0x1009a500]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x10079f60
lea eax, [ebp - 0x27]
mov byte [ebp - 0x19], 0
push str.m_nPrecipType
push eax
call fcn.10002690
add esp, 8
xor esi, esi
push 0x100bf3a0
mov dword [0x100bf390], esi
mov dword [ebp - 4], 0xffffffff
call fcn.1008a0ac
mov esi, dword [ebp - 0x10]
add esp, 4
mov eax, dword [0x100bf390]
lea edi, [esi + 8]
mov ecx, dword [ebp - 0x14]
push 0
mov dword [eax + esi], ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x18]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x10]
mov ax, word [0x100bf38c]
test ax, ax
jne 0x10079fdc
mov ecx, 0xa864188e
call fcn.10002c20
mov word [0x100bf38c], ax
movzx eax, ax
mov dword [eax + esi], 0xc6fffe00
mov dword [eax + esi + 4], 0xc6fffe00
mov dword [eax + esi + 8], 0xc6fffe00
mov ax, word [0x100bf384]
test ax, ax
jne 0x1007a011
mov ecx, 0xb17884a0
call fcn.10002c20
mov word [0x100bf384], ax
movzx eax, ax
mov ecx, esi
mov dword [eax + esi], 0x46fffe00
mov dword [eax + esi + 4], 0x46fffe00
mov dword [eax + esi + 8], 0x46fffe00
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 4]
call edx
mov ecx, esi
mov dword [eax], 0xc6fffe00
mov dword [eax + 4], 0xc6fffe00
mov dword [eax + 8], 0xc6fffe00
mov eax, dword [esi]
mov eax, dword [eax + 8]
call eax
push 0
mov ecx, edi
mov dword [eax], 0x46fffe00
mov dword [eax + 4], 0x46fffe00
mov dword [eax + 8], 0x46fffe00
mov eax, dword [edi]
call dword [eax + 0x14]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x1c]
movaps xmm0, xmmword [0x1009ae00]
xor ecx, ecx
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x54495c49
mov dword [ebp - 0x38], 0x181d5352
mov word [ebp - 0x34], 0x3745
mov byte [ebp - 0x32], 0
mov al, byte [ebp - 0x4c]
xor byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0x19
jb 0x1007a0a7
push dword [ebp - 0x10]
lea eax, [ebp - 0x4b]
mov byte [ebp - 0x32], 0
push eax
call fcn.10002690
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
test eax, eax
je 0x10079f4d
push ecx
push str.m_nPrecipType
push eax
mov ecx, 0x100be8f8
call fcn.10078f80
mov esi, eax
test esi, esi
je 0x10079f4d
mov cl, 0x76
mov dword [ebp - 0x24], 0x4c055376
mov dword [ebp - 0x20], 0x530e4656
xor eax, eax
mov dword [ebp - 0x1c], 0x7c2e4446
mov byte [ebp - 0x18], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x23], cl
inc eax
cmp eax, 0xb
jae 0x1007a12f
mov cl, byte [ebp - 0x24]
jmp 0x1007a120
push esi
lea eax, [ebp - 0x23]
mov byte [ebp - 0x18], 0
push str.m_nPrecipType
push eax
call fcn.10002690
add esp, 0xc
jmp 0x10079f84
mov dword [0x100bf3a8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret