Function at 0x10076bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b7b63
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov dword [esp + 0x28], edx
mov eax, dword [ebp + 0x14]
mov edi, dword [ecx + 4]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ecx]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
test eax, eax
je 0x10076c54
mov ecx, dword [eax + 0x84]
jmp 0x10076c56
xor ecx, ecx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
push dword [ebp + 0xc]
call fcn.10097c50
mov ecx, dword [esp + 0x28]
xor al, al
mov byte [esp + 0x13], al
mov byte [esp + 0x14], al
mov byte [esp + 0x15], al
mov ecx, dword [ecx + 0x14]
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov dword [esp + 0x38], 0
test ecx, ecx
je 0x10076c99
mov ecx, dword [ecx + 0x84]
jmp 0x10076c9b
xor ecx, ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
lea ecx, [esp + 0x44]
sar eax, 2
dec eax
movzx eax, ax
push 0x100
mov dword [esp + 0x34], eax
call fcn.100940a0
mov dword [esp + 0xd8], 0
cmp edi, 0x2a00
mov edi, dword [esp + 0x44]
mov dword [esp + 0xb8], 0xe8
mov dword [esp + 0xbc], 0x24048b00
mov dword [esp + 0xc0], 0xcb9889fc
mov dword [esp + 0xc4], 0xf700002f
jbe 0x10076e55
mov eax, dword [ebp + 8]
cmp eax, 0x40
je 0x10076d14
cmp eax, 0x154
jne 0x10076e55
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x10076d27
mov ecx, dword [ecx + 0x84]
jmp 0x10076d29
xor ecx, ecx
mov eax, dword [esp + 0x30]
movzx edx, ax
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
cmp edx, eax
jae 0x10076d45
mov eax, dword [ecx + 8]
mov eax, dword [eax + edx*4]
jmp 0x10076d47
xor eax, eax
push 6
push str..rsrc
push dword [eax]
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10076e55
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x10076d7b
mov al, byte [ecx + 0x88]
test al, al
je 0x10076d7b
mov eax, dword [ecx + 0x74]
jmp 0x10076d7d
xor eax, eax
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x10076e55
push ecx
push dword [eax + 0x18]
xor edx, edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
call sub.MSVCR120.dll_memcpy
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
add eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x3c], 0
push 1
push ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.100951f0
test al, al
je 0x10076e55
mov edx, dword [esp + 0x3c]
lea eax, [edx + 0x100]
mov dword [esp + 0x1c], eax
lea ecx, [edx + esi]
cmp edx, eax
jae 0x10076e55
cmp edx, dword [esp + 0x50]
jae 0x10076e55
mov al, byte [ecx]
inc ecx
mov dword [esp + 0x18], ecx
test al, al
je 0x10076e4e
mov dword [ebx], edx
mov al, byte [edx + esi + 2]
mov ah, byte [edx + esi + 1]
cmp ah, al
jne 0x10076e17
mov cl, byte [edx + esi + 3]
cmp al, cl
jne 0x10076e17
cmp cl, byte [edx + esi + 4]
je 0x10076eae
movzx ecx, al
movzx eax, ah
inc eax
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jne 0x10076e4a
mov eax, dword [esp + 0x3c]
movzx ecx, byte [edx + esi + 3]
inc eax
mov dword [esp + 0x40], ecx
cmp ecx, eax
jne 0x10076e4a
mov eax, dword [esp + 0x40]
movzx ecx, byte [edx + esi + 4]
inc eax
cmp ecx, eax
je 0x10076fcc
mov ecx, dword [esp + 0x18]
inc edx
cmp edx, dword [esp + 0x1c]
jb 0x10076de6
xor esi, esi
mov dword [esp + 0xd8], 0xffffffff
test edi, edi
je 0x10076e88
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret
mov al, byte [edx + esi + 1]
lea edi, [esp + 0xb8]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov byte [esp + 0x18], al
mov byte [edx], al
mov eax, dword [ebx]
sub eax, edi
mov edi, dword [esp + 0x44]
add eax, esi
mov dword [esp + 0x1c], eax
add eax, ecx
mov al, byte [esp + eax + 0xb8]
xor al, byte [esp + 0x18]
cmp al, byte [esp + ecx + 0xb8]
jne 0x10076ef5
mov eax, dword [esp + 0x1c]
inc ecx
cmp ecx, 0xb
jb 0x10076ed3
jmp 0x10076efa
cmp ecx, 0xb
jb 0x10076f46
xor ecx, ecx
lea esp, [esp]
mov eax, dword [ebx]
add eax, ecx
mov al, byte [eax + esi]
xor al, byte [edx]
mov byte [edi + ecx], al
mov eax, dword [ebx]
add eax, ecx
mov al, byte [eax + esi + 1]
xor al, byte [edx]
mov byte [edi + ecx + 1], al
mov eax, dword [ebx]
add eax, ecx
mov al, byte [eax + esi + 2]
xor al, byte [edx]
mov byte [edi + ecx + 2], al
add ecx, 3
cmp ecx, 0x50
jle 0x10076f00
mov eax, dword [esp + 0x34]
mov byte [eax], 0
mov eax, dword [esp + 0x24]
mov dword [eax], 1
jmp 0x100770c5
mov eax, dword [ebx]
lea edi, [esp + 0xb8]
sub eax, edi
xor ecx, ecx
mov edi, dword [esp + 0x44]
add eax, esi
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
add eax, ecx
mov al, byte [esp + eax + 0xb8]
sub al, byte [esp + 0x18]
cmp al, byte [esp + ecx + 0xb8]
jne 0x10076f82
mov eax, dword [esp + 0x1c]
inc ecx
cmp ecx, 0xb
jb 0x10076f60
jmp 0x10076f8b
cmp ecx, 0xb
jb 0x100770c5
xor ecx, ecx
lea ecx, [ecx]
mov eax, dword [ebx]
add eax, ecx
mov al, byte [eax + esi]
sub al, byte [edx]
mov byte [edi + ecx], al
mov eax, dword [ebx]
add eax, ecx
mov al, byte [eax + esi + 1]
sub al, byte [edx]
mov byte [edi + ecx + 1], al
mov eax, dword [ebx]
add eax, ecx
mov al, byte [eax + esi + 2]
sub al, byte [edx]
mov byte [edi + ecx + 2], al
add ecx, 3
cmp ecx, 0x50
jle 0x10076f90
mov eax, dword [esp + 0x34]
mov byte [eax], 0
jmp 0x100770bb
mov al, byte [edx + esi + 1]
xor edx, edx
mov ecx, dword [esp + 0x2c]
dec al
mov byte [esp + 0x18], al
mov byte [ecx], al
lea ecx, [esp + 0xb8]
mov eax, dword [ebx]
sub eax, ecx
add eax, esi
mov dword [esp + 0x1c], eax
mov ah, byte [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xb8]
add ecx, edx
mov al, dl
add al, ah
xor al, byte [edi + ecx]
mov edi, dword [esp + 0x44]
cmp al, byte [ecx]
jne 0x10077017
inc edx
cmp edx, 0xb
jb 0x10076ff3
jmp 0x1007701c
cmp edx, 0xb
jb 0x10077049
xor edx, edx
mov edi, edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx]
add ecx, edx
mov al, byte [eax]
add al, dl
xor al, byte [ecx + esi]
mov byte [edi + edx], al
inc edx
cmp edx, 0x50
jle 0x10077020
mov eax, dword [esp + 0x34]
mov byte [eax], 1
mov eax, dword [esp + 0x24]
mov dword [eax], 1
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xb8]
xor edx, edx
mov al, byte [eax]
mov byte [esp + 0x18], al
mov eax, dword [ebx]
sub eax, ecx
add eax, esi
mov dword [esp + 0x1c], eax
mov ah, byte [esp + 0x18]
lea ebx, [ebx]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xb8]
add ecx, edx
mov al, byte [edi + ecx]
mov edi, dword [esp + 0x44]
sub al, dl
sub al, ah
cmp al, byte [ecx]
jne 0x10077094
inc edx
cmp edx, 0xb
jb 0x10077070
jmp 0x10077099
cmp edx, 0xb
jb 0x100770c5
mov edx, dword [esp + 0x2c]
xor ecx, ecx
nop
mov eax, dword [ebx]
add eax, ecx
mov al, byte [eax + esi]
sub al, byte [edx]
sub al, cl
mov byte [edi + ecx], al
inc ecx
cmp ecx, 0x50
jle 0x100770a0
mov eax, dword [esp + 0x34]
mov byte [eax], 1
mov eax, dword [esp + 0x24]
mov dword [eax], 2
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x54]
push 0
sub eax, edi
push eax
push edi
call fcn.1001d150
mov edx, dword [esp + 0x54]
xor esi, esi
mov edi, edi
cmp esi, 0x100
jae 0x1007748f
lea eax, [esi + 7]
cmp eax, 0x100
jae 0x10077138
cmp byte [edi + esi], 0xe8
jne 0x10077138
cmp byte [edi + esi + 1], 0
jne 0x10077138
cmp byte [edi + esi + 2], 0
jne 0x10077138
cmp byte [edi + esi + 3], 0
jne 0x10077138
cmp byte [edi + esi + 4], 0
jne 0x10077138
cmp byte [edi + esi + 5], 0x8b
jne 0x10077138
cmp byte [edi + esi + 6], 4
jne 0x10077138
cmp byte [edi + esi + 7], 0x24
jne 0x10077138
mov bl, 1
mov byte [esp + 0x13], bl
jmp 0x10077460
mov bl, byte [esp + 0x13]
lea eax, [esi + 9]
cmp eax, 0x100
jae 0x1007718c
test bl, bl
je 0x1007718c
cmp byte [edi + esi], 0xf7
jne 0x1007718c
cmp byte [edi + esi + 1], 0x80
jne 0x1007718c
cmp byte [edi + esi + 3], 0x28
jne 0x1007718c
cmp byte [edi + esi + 4], 0
jne 0x1007718c
cmp byte [edi + esi + 5], 0
jne 0x1007718c
cmp byte [edi + esi + 6], 0
jne 0x1007718c
cmp byte [edi + esi + 7], 0
jne 0x1007718c
cmp byte [edi + esi + 8], 0
jne 0x1007718c
cmp byte [edi + esi + 9], 0x80
je 0x1007745b
lea ecx, [esi + 5]
cmp ecx, 0x100
jae 0x100771c8
test bl, bl
je 0x100771c8
cmp byte [edi + esi], 0x81
jne 0x100771c8
cmp byte [edi + esi + 1], 0xe1
jne 0x100771c8
cmp byte [edi + esi + 2], 0
jne 0x100771c8
cmp byte [edi + esi + 3], 0
jne 0x100771c8
cmp byte [edi + esi + 4], 0
jne 0x100771c8
cmp byte [edi + esi + 5], 0x80
je 0x1007745b
lea eax, [esi + 6]
cmp eax, 0x100
jae 0x1007720c
cmp byte [esp + 0x14], 0
je 0x1007720c
cmp byte [edi + esi], 0x80
jne 0x1007720c
cmp byte [edi + esi + 1], 0xb8
jne 0x1007720c
cmp byte [edi + esi + 3], 0x28
jne 0x1007720c
cmp byte [edi + esi + 4], 0
jne 0x1007720c
cmp byte [edi + esi + 5], 0
jne 0x1007720c
cmp byte [edi + esi + 6], 0xe8
jne 0x1007720c
mov byte [esp + 0x15], 1
jmp 0x10077460
cmp ecx, 0x100
jae 0x10077247
cmp byte [esp + 0x15], 0
je 0x10077247
cmp byte [edi + esi], 3
jne 0x10077247
cmp byte [edi + esi + 1], 0x98
jne 0x10077247
cmp byte [edi + esi + 3], 0x28
jne 0x10077247
cmp byte [edi + esi + 4], 0
jne 0x10077247
cmp byte [edi + esi + 5], 0
jne 0x10077247
mov byte [esp + 0x16], 1
jmp 0x10077460
lea ebx, [esi + 4]
mov dword [esp + 0x40], ebx
cmp ebx, 0x100
jae 0x10077283
cmp byte [esp + 0x16], 0
je 0x10077283
cmp byte [edi + esi], 0x8b
jne 0x10077283
cmp byte [edi + esi + 1], 0x5b
jne 0x10077283
cmp byte [edi + esi + 2], 2
jne 0x10077283
cmp byte [edi + esi + 3], 0xff
jne 0x10077283
cmp byte [edi + esi + 4], 0x33
je 0x100774d2
mov al, byte [edi + esi]
cmp al, 0xc3
je 0x1007748f
lea ecx, [esi + 1]
cmp ecx, 0x100
jae 0x100772bd
cmp al, 0xeb
jne 0x100772bd
movsx eax, byte [edi + esi + 1]
inc eax
add esi, eax
lea eax, [esi + 1]
add eax, edx
cmp eax, dword [esp + 0x58]
ja 0x1007747c
mov dword [esp + 0x5c], eax
jmp 0x1007747c
cmp ebx, 0x100
jae 0x10077460
cmp al, 0xe9
jne 0x10077460
movzx ecx, byte [edi + esi + 4]
movzx eax, byte [edi + esi + 3]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x24], esi
movzx eax, byte [edi + esi + 2]
shl ecx, 8
add ecx, eax
mov dword [esp + 0xb8], 0
movzx eax, byte [edi + esi + 1]
shl ecx, 8
add ecx, eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc0], 0
mov byte [esp + 0xd8], 1
lea eax, [esp + 0xb8]
push eax
mov eax, dword [esp + 0x2c]
push esi
mov ecx, dword [eax + 0x14]
call fcn.100979a0
test al, al
jne 0x10077398
mov eax, dword [esp + 0x54]
mov esi, ebx
inc eax
add eax, esi
cmp eax, dword [esp + 0x58]
ja 0x10077351
mov dword [esp + 0x5c], eax
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x10077478
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
jmp 0x10077478
mov ecx, dword [esp + 0xbc]
mov eax, ecx
mov ebx, dword [esp + 0xb8]
sub eax, ebx
and eax, 0xfffffff8
cmp eax, 8
jne 0x100773b6
mov eax, dword [ebx]
jmp 0x100773d1
mov eax, ebx
cmp ebx, ecx
je 0x100773d5
mov edx, dword [esp + 0x30]
cmp word [eax + 4], dx
je 0x100773cf
add eax, 8
cmp eax, ecx
jne 0x100773c0
jmp 0x100773d5
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add ecx, 5
add edx, ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 0x84]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test ax, ax
je 0x1007741e
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test eax, eax
je 0x10077415
mov eax, dword [ecx + 8]
mov eax, dword [eax]
jmp 0x10077417
xor eax, eax
mov eax, dword [eax]
cmp edx, dword [eax + 0xc]
jb 0x10077438
push 1
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push edx
call fcn.10099ab0
test al, al
jne 0x10077438
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
inc eax
add eax, esi
cmp eax, dword [esp + 0x58]
ja 0x10077449
mov dword [esp + 0x5c], eax
mov byte [esp + 0xd8], 0
test ebx, ebx
je 0x10077478
push ebx
jmp 0x10077369
mov byte [esp + 0x14], 1
lea edx, [esp + 0x18]
lea ecx, [esp + 0x54]
call fcn.100ae1f0
test eax, eax
je 0x10076e55
dec esi
add esi, eax
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
inc esi
inc eax
mov dword [esp + 0x38], eax
cmp eax, 0x32
jl 0x100770e0
mov cl, byte [esp + 0x17]
mov al, byte [esp + 0x13]
test al, al
je 0x10076e55
cmp byte [esp + 0x14], 0
je 0x10076e55
cmp byte [esp + 0x15], 0
je 0x10076e55
cmp byte [esp + 0x16], 0
je 0x10076e55
test cl, cl
je 0x10076e55
mov esi, 1
jmp 0x10076e57
mov cl, 1
jmp 0x10077493