Function at 0x7a1900
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0xbd33e0]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov ebp, edx
mov esi, ecx
xor eax, esp
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0x1000
call fcn.007a2450
mov ecx, eax
mov eax, edi
mov dword [ebp], 0
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], ebp
test al, 2
je 0x7a19be
test ebx, ebx
jne 0x7a1979
mov dword [esp + 8], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], 0
xor esi, esi
mov dword [esp + 4], 0
mov edi, 1
jmp 0x7a1b2a
cmp byte [ebx], 0
mov edx, ebx
jne 0x7a199b
mov al, 1
mov dword [esp + 8], 1
mov dword [esp + 0x10], edx
mov dword [esp], 0
mov dword [esp + 0x14], eax
jmp 0x7a1965
mov ebx, ecx
xor ecx, ecx
mov dword [esp + 4], 0
call fcn.0078a6b0
test eax, eax
jne 0x7a1aff
mov ebx, 7
jmp 0x7a2087
mov edi, 1
test ebx, ebx
jne 0x7a19f5
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp], 0
xor esi, esi
mov dword [esp + 4], 0
jmp 0x7a1b2a
cmp byte [ebx], 0
jne 0x7a1a06
mov al, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jmp 0x7a19d7
mov ebx, esi
mov esi, dword [esi + 8]
mov al, 1
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
lea edx, [esi + esi + 2]
mov eax, edx
sar eax, 0x1f
push eax
call fcn.0078fe60
add esp, 4
test eax, eax
jne 0x7a1a37
mov ebx, 7
jmp 0x7a2087
mov edi, eax
mov byte [eax], 0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x40]
inc esi
mov ecx, ebx
mov dword [esp + 0x10], eax
push edi
push esi
call fcn.007a18c0
add esp, 8
mov ebx, eax
cmp eax, 0x200
jne 0x7a1a6e
mov ebx, dword [esp + 0x48]
shl ebx, 7
sar ebx, 0x1f
and ebx, 0x60e
mov ecx, edi
mov dword [esp], edi
call fcn.00783170
mov edi, dword [esp + 0x40]
mov esi, eax
mov ecx, edi
call fcn.00783170
cmp byte [edi + eax + 1], 0
lea ecx, [edi + eax + 1]
mov edi, ecx
mov dword [esp + 4], ecx
je 0x7a1abe
mov edi, dword [esp + 4]
push edi
call fcn.0098a1e0
add esp, 4
lea ebp, [edi + eax]
lea eax, [edi + eax + 1]
push eax
call fcn.0098a1e0
add esp, 4
cmp byte [eax + ebp + 2], 0
lea edi, [eax + ebp + 2]
jne 0x7a1a9a
test ebx, ebx
jne 0x7a1af0
mov ecx, dword [esp + 0xc]
lea eax, [esi + 8]
cmp eax, dword [ecx + 8]
jg 0x7a1ae1
inc edi
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], 0
sub edi, dword [esp + 4]
jmp 0x7a1b2a
mov ecx, 0x5c2d
call fcn.007a0950
mov ebx, 0xe
mov edx, dword [esp]
xor ecx, ecx
call fcn.00780810
jmp 0x7a2087
mov ecx, eax
mov dword [esp + 8], 1
mov dword [esp], eax
call fcn.00783170
mov esi, eax
mov edi, 1
mov ecx, ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0xc]
mov eax, 0x127
add ecx, 7
xor edx, edx
and ecx, 0xfffffff8
mov ebp, ecx
add eax, dword [ebx + 4]
and eax, 0xfffffff8
lea eax, [eax + ecx*2]
lea ecx, [esi + esi*2]
or eax, 4
add ecx, edi
lea ecx, [eax + ecx + 0x12]
call fcn.007870a0
test eax, eax
jne 0x7a1b6f
mov edx, dword [esp]
xor ecx, ecx
call fcn.00780810
mov ebx, 7
jmp 0x7a2087
lea ecx, [eax + 0xf0]
mov dword [eax + 0xe4], ecx
lea ecx, [eax + 0x120]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebx + 4]
add ecx, 7
and ecx, 0xfffffff8
lea ecx, [eax + ecx + 0x120]
mov dword [eax + 0x44], ecx
add ecx, ebp
test esi, esi
lea ebx, [ebp + ecx + 4]
mov dword [eax + 0x40], ecx
mov dword [eax + 0xa8], ebx
jle 0x7a1c28
mov ebp, eax
push esi
push dword [esp + 4]
push ebx
call fcn.0098a270
add esp, 0xc
mov eax, dword [esp + 4]
lea ebx, [ebx + esi + 1]
test eax, eax
jne 0x7a1bcd
mov edi, 1
jmp 0x7a1bd8
push edi
push eax
push ebx
call fcn.0098a270
add esp, 0xc
add ebx, edi
mov dword [ebp + 0xac], ebx
push esi
mov edi, dword [esp + 4]
push edi
push ebx
call fcn.0098a270
add esp, 0xc
mov dword [esi + ebx + 4], 0x6c616e72
mov dword [esi + ebx], 0x756f6a2d
lea eax, [esi + ebx + 9]
lea ebx, [ebx + esi]
mov dword [ebp + 0xec], eax
push esi
push edi
push eax
call fcn.0098a270
add esp, 0xc
mov dword [esi + ebx + 9], 0x6c61772d
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0xc]
jmp 0x7a1c4b
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0xc]
mov edi, dword [esp]
mov ebp, eax
mov dword [eax + 0xac], 0
mov dword [eax + 0xec], 0
je 0x7a1c54
xor ecx, ecx
mov edx, edi
call fcn.00780810
cmp byte [esp + 0x14], 0
mov dword [ebp], esi
mov dword [ebp + 0x90], ebx
je 0x7a1f80
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x7a1f80
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
mov ecx, esi
mov edx, dword [ebp + 0xa8]
push eax
push ebx
push dword [ebp + 0x3c]
call fcn.007a2460
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x7a1fd8
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x3c]
and ebx, 1
call fcn.007a2480
mov esi, eax
mov edi, ebx
test ebx, ebx
jne 0x7a1ce0
mov ecx, ebp
call fcn.007a2490
mov eax, dword [ebp + 0x94]
cmp eax, 0x1001
jb 0x7a1ce0
cmp eax, 0x2001
jb 0x7a1cdc
mov dword [esp + 0x24], 0x2000
jmp 0x7a1ce0
mov dword [esp + 0x24], eax
mov edx, fcn.007aad10
movzx ecx, byte [0xbb4ca7]
and edx, 1
inc edx
mov eax, edx
xor eax, fcn.007aad10
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x7a1e04
mov al, byte [0xbb4ca7]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007aad10
sete cl
not cl
and cl, 5
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb4ca7], ah
jne 0x7a1d0f
mov ecx, fcn.007aad10
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.007aad10
sete dl
not dl
and dl, 5
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7a1d7b
mov eax, ecx
movzx edx, byte [0xbb4ca7]
xor eax, fcn.007aad10
sete al
not al
and al, 5
movzx eax, al
bt edx, eax
jae 0x7a1d59
jmp 0x7a1e04
xor ecx, fcn.007aad10
movzx ecx, byte [0xbb4ca7]
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x7a1de1
mov eax, fcn.007aad10
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.007aad10
mov eax, dword [0xbb4c9c]
sete cl
xor ecx, 0x40a6cb45
add ecx, 0x860
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb4c9c], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
xor dword [0xbb4ca0], edx
mov dl, 1
shl dl, cl
or byte [0xbb4ca7], dl
mov eax, fcn.007aad10
and eax, 1
inc eax
xor eax, fcn.007aad10
mov al, 0xfe
sete cl
not cl
and cl, 5
xor cl, 7
rol al, cl
and byte [0xbb4ca7], al
push 0
push 0xbb4c9c
push dword [ebp + 0xa8]
call fcn.007986f0
add esp, 0xc
mov ebx, 1
test esi, 0x2000
mov byte [ebp + 0xd], al
jne 0x7a1f80
mov edx, 0x841110
mov eax, 0x841110
movzx ecx, byte [0xbb4cb7]
and edx, 1
xor edx, eax
cmp edx, 0xffffffff
sete al
xor al, 5
movzx eax, al
bt ecx, eax
jb 0x7a1f5d
mov al, byte [0xbb4cb7]
cmp edx, 0xffffffff
mov ah, 1
sete cl
or cl, 0xfa
add cl, 8
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb4cb7], ah
jne 0x7a1e5c
mov ecx, 0x841110
mov edx, 0x841110
movzx eax, al
and ecx, 1
xor ecx, edx
cmp ecx, 0xffffffff
sete dl
or dl, 0xfa
add dl, 8
movzx edx, dl
bt eax, edx
jae 0x7a1eba
cmp ecx, 0xffffffff
movzx edx, byte [0xbb4cb7]
sete al
xor al, 5
movzx eax, al
bt edx, eax
jae 0x7a1e9e
jmp 0x7a1f5d
cmp ecx, 0xffffffff
movzx edx, byte [0xbb4cb7]
sete al
xor al, 5
movzx eax, al
bt edx, eax
jb 0x7a1f38
mov edx, 0x841110
mov eax, 0x841110
xor ecx, ecx
and edx, 1
xor edx, eax
mov eax, dword [0xbb4ca8]
cmp edx, 0xffffffff
sete cl
xor ecx, 0xb241d2b5
add ecx, 0x1000
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb4ca8], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb4cac]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb4cac], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
shl dl, cl
xor dword [0xbb4cb0], eax
or byte [0xbb4cb7], dl
mov ecx, 0x841110
mov eax, 0x841110
and ecx, 1
xor ecx, eax
mov al, 0xfe
cmp ecx, 0xffffffff
sete cl
or cl, 0xfa
add cl, 8
rol al, cl
and byte [0xbb4cb7], al
push 0
push 0xbb4ca8
push dword [ebp + 0xa8]
call fcn.007986f0
add esp, 0xc
test eax, eax
jne 0x7a1f80
mov dword [esp + 0xc], 0
jmp 0x7a1f95
and ebx, 1
mov al, 1
mov word [ebp + 0x10], 0x401
mov byte [ebp + 0xd], 1
mov edi, ebx
mov dword [esp + 0xc], eax
lea edx, [esp + 0x24]
mov ecx, ebp
push 0xffffffffffffffff
call fcn.007a2190
add esp, 4
mov ebx, eax
test eax, eax
jne 0x7a1fd8
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x24]
xor eax, eax
mov esi, fcn.007a2540
test edx, edx
cmovne esi, eax
xor edx, 1
push dword [ebp + 0xe4]
push ebp
push esi
call fcn.007a24d0
add esp, 0xc
mov ebx, eax
test eax, eax
je 0x7a1ff9
mov ecx, dword [ebp + 0x3c]
call fcn.007a25e0
mov ecx, dword [ebp + 0xe0]
call fcn.007a2600
push ebp
call fcn.00780f60
add esp, 4
jmp 0x7a2087
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
and ebx, 1
mov eax, ebx
xor al, 1
test cl, cl
mov byte [ebp + 6], al
mov eax, dword [esp + 8]
mov dword [ebp + 0x9c], 0x3fffffff
mov byte [ebp + 0xc], cl
mov byte [ebp + 4], cl
mov byte [ebp + 0x12], cl
mov esi, eax
mov byte [ebp + 0xf], al
mov eax, edi
mov byte [ebp + 0xe], al
mov byte [ebp + 7], cl
jne 0x7a203a
mov dword [ebp + 8], 0xa020001
mov ecx, ebp
mov word [ebp + 0x8c], 0x58
mov dword [ebp + 0xa4], 0xffffffff
mov dword [ebp + 0xa0], 0xffffffff
call fcn.007a2490
or esi, ebx
je 0x7a206e
test ebx, ebx
sete al
add al, al
add al, 2
mov byte [ebp + 5], al
mov ecx, ebp
mov dword [ebp + 0xc8], 0x7a20a0
call fcn.007a2610
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [eax], ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00989fe9
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret