Function at 0x100705e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b7843
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0x44], eax
mov esi, dword [ecx]
mov eax, dword [eax + 0x14]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0
test eax, eax
je 0x10070652
mov ecx, dword [eax + 0x84]
jmp 0x10070654
xor ecx, ecx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0xc]
call fcn.10097c50
xor bl, bl
mov dword [esp + 0x38], 0
push 0x60
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1f], bl
call fcn.100940a0
mov dword [esp + 0xf0], 0
mov ebx, dword [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0xc0], 0xe890
mov dword [esp + 0xc4], 0x48b0000
mov dword [esp + 0xc8], 0x2b80f724
mov dword [esp + 0xcc], 0x24
mov dword [esp + 0xd0], 0xe890
mov dword [esp + 0xd4], 0x8b410000
mov dword [esp + 0xd8], 0x80f72404
mov dword [esp + 0xdc], 0x2384
call fcn.10095340
mov edi, dword [esp + 0x4c]
test eax, eax
je 0x10070f8f
mov ecx, ebx
call fcn.10095340
mov ecx, ebx
call fcn.10095340
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
cmp dword [ebp + 8], 0x154
jne 0x10070f8f
lea eax, [ecx - 0x2400]
cmp eax, 0x400
ja 0x10070f8f
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x1007074a
mov edx, dword [ecx + 0x84]
jmp 0x1007074c
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
dec eax
movzx eax, ax
mov dword [esp + 0x58], eax
test ecx, ecx
je 0x10070769
mov ecx, dword [ecx + 0x84]
jmp 0x1007076b
xor ecx, ecx
push eax
call fcn.100955a0
mov eax, dword [eax]
mov ebx, dword [eax + 0x10]
add ebx, dword [eax + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
cmp ebx, eax
jae 0x10070f8f
lea ecx, [ebx + 6]
cmp ecx, eax
jae 0x100709b7
mov dl, byte [esi + ebx + 2]
add esi, ebx
cmp dl, byte [esi + 3]
jne 0x1007084b
cmp dl, byte [esi + 4]
jne 0x1007084b
cmp dl, byte [esi + 5]
jne 0x1007084b
cmp dl, byte [esi + 6]
je 0x1007084b
mov ebx, esi
lea eax, [esp + 0xc0]
xor ecx, ecx
sub ebx, eax
jmp 0x100707d0
lea eax, [ebx + ecx]
mov al, byte [esp + eax + 0xc0]
xor al, dl
cmp al, byte [esp + ecx + 0xc0]
jne 0x100707ed
inc ecx
cmp ecx, 0xb
jb 0x100707d0
jmp 0x100707f2
cmp ecx, 0xb
jb 0x10070807
xor ecx, ecx
mov al, byte [esi + ecx]
xor al, dl
mov byte [edi + ecx], al
inc ecx
cmp ecx, 0x50
jle 0x100707f4
jmp 0x10070b66
xor ecx, ecx
lea esp, [esp]
lea eax, [ebx + ecx]
mov al, byte [esp + eax + 0xc0]
sub al, dl
cmp al, byte [esp + ecx + 0xc0]
jne 0x1007082d
inc ecx
cmp ecx, 0xb
jb 0x10070810
jmp 0x10070836
cmp ecx, 0xb
jb 0x10070b66
xor ecx, ecx
mov al, byte [esi + ecx]
sub al, dl
mov byte [edi + ecx], al
inc ecx
cmp ecx, 0x50
jle 0x10070838
jmp 0x10070b66
mov esi, dword [esp + 0x28]
cmp ecx, eax
jae 0x100709b7
mov dl, byte [esi + ebx + 2]
add esi, ebx
movzx eax, dl
inc eax
mov dword [esp + 0x24], esi
movzx ecx, byte [esi + 3]
cmp ecx, eax
jne 0x100709b7
movzx eax, byte [esi + 4]
mov dword [esp + 0x20], eax
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jne 0x100709b7
movzx eax, byte [esi + 5]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 1]
cmp dword [esp + 0x1c], eax
jne 0x100709b7
mov eax, dword [esp + 0x1c]
movzx ecx, byte [esi + 6]
inc eax
cmp ecx, eax
je 0x100709b7
mov eax, esi
lea ecx, [esp + 0xc0]
sub dl, 2
xor ebx, ebx
sub eax, ecx
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc0]
add ecx, ebx
mov al, bl
add al, dl
xor al, byte [edi + ecx]
mov edi, dword [esp + 0x4c]
cmp al, byte [ecx]
jne 0x100708e6
inc ebx
cmp ebx, 0xb
jb 0x100708c2
jmp 0x100708eb
cmp ebx, 0xb
jb 0x1007090d
mov eax, esi
xor ebx, ebx
sub eax, edi
mov dword [esp + 0x20], eax
mov esi, eax
mov al, bl
lea ecx, [edi + ebx]
add al, dl
inc ebx
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp ebx, 0x50
jle 0x100708f7
mov esi, dword [esp + 0x24]
xor ebx, ebx
nop
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc0]
add ecx, ebx
mov al, byte [eax + ecx]
sub al, bl
sub al, dl
cmp al, byte [ecx]
jne 0x10070930
inc ebx
cmp ebx, 0xb
jb 0x10070910
jmp 0x10070935
cmp ebx, 0xb
jb 0x10070957
xor ebx, ebx
sub esi, edi
lea esp, [esp]
lea ecx, [edi + ebx]
mov al, byte [esi + ecx]
sub al, bl
inc ebx
sub al, dl
mov byte [ecx], al
cmp ebx, 0x50
jle 0x10070940
jmp 0x10070b66
mov eax, esi
lea ecx, [esp + 0xd0]
xor ebx, ebx
sub eax, ecx
mov dword [esp + 0x24], eax
jmp 0x10070970
lea ecx, [esp + 0xd0]
add ecx, ebx
mov al, byte [eax + ecx]
sub al, bl
sub al, dl
cmp al, byte [ecx]
jne 0x10070990
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, 0xb
jb 0x10070970
jmp 0x10070999
cmp ebx, 0xb
jb 0x10070b66
xor ebx, ebx
sub esi, edi
lea ecx, [ecx]
lea ecx, [edi + ebx]
mov al, byte [esi + ecx]
sub al, bl
inc ebx
sub al, dl
mov byte [ecx], al
cmp ebx, 0x50
jle 0x100709a0
jmp 0x10070b66
lea eax, [ebx + 0xf]
cmp eax, dword [esp + 0x2c]
ja 0x10070f8f
mov esi, dword [esp + 0x28]
add esi, ebx
movzx eax, byte [esi]
xor eax, 0x90
movzx ecx, byte [esi + 1]
mov dword [esp + 0x20], eax
xor ecx, 0xe8
movzx eax, byte [esi + 4]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 5]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 6]
movzx edx, byte [esi + 2]
xor eax, 0x8b
movzx ebx, byte [esi + 3]
mov dword [esp + 0x48], eax
movzx eax, byte [esi + 7]
xor eax, 4
mov dword [esp + 0x2c], eax
mov al, cl
sub al, byte [esp + 0x20]
movzx esi, al
mov al, dl
sub al, cl
mov dword [esp + 0x3c], esi
movzx ecx, al
mov al, bl
sub al, dl
mov edx, dword [esp + 0x24]
movzx eax, al
mov dword [esp + 0x34], eax
mov al, dl
sub al, bl
mov ebx, dword [esp + 0x1c]
movzx eax, al
mov dword [esp + 0x24], eax
mov al, bl
sub al, dl
mov edx, dword [esp + 0x48]
movzx eax, al
mov dword [esp + 0x1c], eax
mov al, dl
sub al, bl
movzx ebx, al
mov al, byte [esp + 0x2c]
sub al, dl
movzx eax, al
cmp esi, ecx
jne 0x10070b66
cmp esi, dword [esp + 0x34]
jne 0x10070b66
cmp esi, dword [esp + 0x24]
jne 0x10070b66
cmp esi, dword [esp + 0x1c]
jne 0x10070b66
cmp esi, ebx
jne 0x10070b66
cmp esi, eax
jne 0x10070b66
mov esi, dword [esp + 0x30]
add esi, dword [esp + 0x28]
movzx eax, byte [esi + 9]
movzx ebx, byte [esi + 8]
xor eax, 0xf7
movzx ecx, byte [esi + 0xa]
xor ebx, 0x24
movzx edx, byte [esi + 0xc]
xor ecx, 0x80
mov dword [esp + 0x1c], eax
xor edx, 0x24
movzx eax, byte [esi + 0xd]
sub cl, byte [esp + 0x1c]
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x48], eax
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x24], eax
mov al, bl
sub al, byte [esp + 0x2c]
movzx esi, al
mov al, byte [esp + 0x1c]
sub al, bl
mov ebx, dword [esp + 0x3c]
movzx eax, al
mov dword [esp + 0x2c], eax
movzx eax, cl
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov al, cl
sub al, dl
mov edx, dword [esp + 0x48]
movzx eax, al
mov dword [esp + 0x34], eax
mov al, dl
sub al, cl
movzx ecx, al
mov eax, dword [esp + 0x24]
sub al, dl
movzx eax, al
cmp ebx, esi
jne 0x10070b66
cmp ebx, dword [esp + 0x2c]
jne 0x10070b66
cmp ebx, dword [esp + 0x1c]
jne 0x10070b66
cmp ebx, dword [esp + 0x34]
jne 0x10070b66
cmp ebx, ecx
jne 0x10070b66
cmp ebx, eax
jne 0x10070b66
mov esi, dword [esp + 0x28]
xor edx, edx
mov eax, dword [esp + 0x30]
add esi, eax
sub esi, edi
mov al, dl
lea ecx, [edi + edx]
imul bl
inc edx
add al, byte [esp + 0x20]
xor al, byte [ecx + esi]
mov byte [ecx], al
cmp edx, 0x50
jle 0x10070b50
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x5c]
push 0
sub eax, edi
push eax
push edi
call fcn.1001d150
xor esi, esi
jmp 0x10070b80
cmp esi, 0x100
jae 0x10070f62
lea ebx, [esi + 4]
mov dword [esp + 0x30], ebx
cmp ebx, 0x100
jae 0x10070bc8
cmp byte [edi + esi], 0xe8
jne 0x10070bc8
cmp byte [edi + esi + 1], 0
jne 0x10070bc8
cmp byte [edi + esi + 2], 0
jne 0x10070bc8
cmp byte [edi + esi + 3], 0
jne 0x10070bc8
cmp byte [edi + esi + 4], 0
jne 0x10070bc8
mov bl, 1
mov byte [esp + 0x17], bl
jmp 0x10070f41
lea eax, [esi + 9]
cmp eax, 0x100
mov al, byte [esp + 0x17]
jae 0x10070c29
test al, al
je 0x10070c29
cmp byte [edi + esi], 0xf7
jne 0x10070c29
cmp byte [edi + esi + 1], 0x80
jne 0x10070c29
mov al, byte [edi + esi + 3]
cmp al, 0x23
je 0x10070bf7
cmp al, 0x24
je 0x10070bf7
cmp al, 0x28
jne 0x10070c25
cmp byte [edi + esi + 4], 0
jne 0x10070c25
cmp byte [edi + esi + 5], 0
jne 0x10070c25
cmp byte [edi + esi + 6], 0
jne 0x10070c25
cmp byte [edi + esi + 7], 0
jne 0x10070c25
cmp byte [edi + esi + 8], 0
jne 0x10070c25
cmp byte [edi + esi + 9], 0x80
je 0x10070f38
mov al, byte [esp + 0x17]
lea ecx, [esi + 5]
cmp ecx, 0x100
jae 0x10070c65
test al, al
je 0x10070c65
cmp byte [edi + esi], 0x81
jne 0x10070c65
cmp byte [edi + esi + 1], 0xe1
jne 0x10070c65
cmp byte [edi + esi + 2], 0
jne 0x10070c65
cmp byte [edi + esi + 3], 0
jne 0x10070c65
cmp byte [edi + esi + 4], 0
jne 0x10070c65
cmp byte [edi + esi + 5], 0x80
je 0x10070f38
lea edx, [esi + 6]
cmp edx, 0x100
jae 0x10070cb3
cmp byte [esp + 0x19], 0
je 0x10070cb3
cmp byte [edi + esi], 0x80
jne 0x10070cb3
cmp byte [edi + esi + 1], 0xb8
jne 0x10070cb3
mov al, byte [edi + esi + 3]
cmp al, 0x23
je 0x10070c94
cmp al, 0x24
je 0x10070c94
cmp al, 0x28
jne 0x10070cb3
cmp byte [edi + esi + 4], 0
jne 0x10070cb3
cmp byte [edi + esi + 5], 0
jne 0x10070cb3
cmp byte [edi + esi + 6], 0xe8
jne 0x10070cb3
mov byte [esp + 0x1a], 1
jmp 0x10070f3d
cmp ecx, 0x100
jae 0x10070cf7
cmp byte [esp + 0x1a], 0
je 0x10070cf7
cmp byte [edi + esi], 3
jne 0x10070cf7
cmp byte [edi + esi + 1], 0x98
jne 0x10070cf7
mov al, byte [edi + esi + 3]
cmp al, 0x23
je 0x10070cdf
cmp al, 0x24
je 0x10070cdf
cmp al, 0x28
jne 0x10070cf7
cmp byte [edi + esi + 4], 0
jne 0x10070cf7
cmp byte [edi + esi + 5], 0
jne 0x10070cf7
mov byte [esp + 0x18], 1
jmp 0x10070f3d
cmp edx, 0x100
jae 0x10070d3b
mov al, byte [esp + 0x18]
test al, al
je 0x10070d3b
cmp byte [edi + esi], 0x8b
jne 0x10070d3b
cmp byte [edi + esi + 1], 0x5b
jne 0x10070d3b
cmp byte [edi + esi + 2], 2
jne 0x10070d3b
cmp byte [edi + esi + 3], 0xff
jne 0x10070d3b
cmp byte [edi + esi + 4], 0x33
jne 0x10070d3b
cmp byte [edi + esi + 5], 0xeb
jne 0x10070d3b
cmp byte [edi + esi + 6], 8
je 0x10070f5a
mov al, byte [edi + esi]
cmp al, 0xc3
je 0x10070f62
lea ecx, [esi + 1]
cmp ecx, 0x100
jae 0x10070d7b
cmp al, 0xeb
jne 0x10070d7b
movsx eax, byte [edi + esi + 1]
mov bl, byte [esp + 0x17]
inc eax
add esi, eax
mov eax, dword [esp + 0x5c]
inc eax
add eax, esi
cmp eax, dword [esp + 0x60]
ja 0x10070e53
mov dword [esp + 0x64], eax
jmp 0x10070e53
cmp ebx, 0x100
jae 0x10070f3d
cmp al, 0xe9
jne 0x10070f3d
movzx ebx, byte [edi + esi + 4]
movzx eax, byte [edi + esi + 3]
shl ebx, 8
add ebx, eax
mov dword [esp + 0x20], esi
movzx eax, byte [edi + esi + 2]
shl ebx, 8
add ebx, eax
mov dword [esp + 0xc0], 0
movzx eax, byte [edi + esi + 1]
shl ebx, 8
add ebx, eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov byte [esp + 0xf0], 1
lea eax, [esp + 0xc0]
push eax
mov eax, dword [esp + 0x48]
push esi
mov ecx, dword [eax + 0x14]
call fcn.100979a0
test al, al
jne 0x10070e6b
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
inc eax
add eax, esi
cmp eax, dword [esp + 0x60]
ja 0x10070e11
mov dword [esp + 0x64], eax
mov byte [esp + 0xf0], 0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x10070e4f
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov bl, byte [esp + 0x17]
mov eax, dword [esp + 0x38]
inc esi
inc eax
mov dword [esp + 0x38], eax
cmp eax, 0x32
jl 0x10070b80
jmp 0x10070f66
mov edx, dword [esp + 0xc4]
mov eax, edx
mov ecx, dword [esp + 0xc0]
sub eax, ecx
and eax, 0xfffffff8
cmp eax, 8
jne 0x10070e89
mov eax, dword [ecx]
jmp 0x10070ea9
mov eax, ecx
cmp ecx, edx
je 0x10070ea5
nop
mov edi, dword [esp + 0x58]
cmp word [eax + 4], di
mov edi, dword [esp + 0x4c]
je 0x10070ee1
add eax, 8
cmp eax, edx
jne 0x10070e90
mov eax, dword [esp + 0x20]
add eax, 5
add ebx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x84]
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
test ax, ax
je 0x10070eee
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
test eax, eax
je 0x10070ee5
mov eax, dword [edx + 8]
mov eax, dword [eax]
jmp 0x10070ee7
mov eax, dword [eax]
jmp 0x10070ea9
xor eax, eax
mov eax, dword [eax]
cmp ebx, dword [eax + 0xc]
jb 0x10070f11
push 1
lea eax, [esp + 0x2c]
mov ecx, edx
push eax
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.10099ab0
test al, al
je 0x10070dfc
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0x5c]
inc eax
add eax, esi
cmp eax, dword [esp + 0x60]
ja 0x10070f22
mov dword [esp + 0x64], eax
mov byte [esp + 0xf0], 0
test ecx, ecx
je 0x10070e4f
push ecx
jmp 0x10070e25
mov byte [esp + 0x19], 1
mov bl, byte [esp + 0x17]
lea edx, [esp + 0x43]
lea ecx, [esp + 0x5c]
call fcn.100ae1f0
test eax, eax
je 0x10070f8f
dec esi
add esi, eax
jmp 0x10070e53
mov bl, byte [esp + 0x17]
mov cl, 1
jmp 0x10070f6e
mov bl, byte [esp + 0x17]
mov al, byte [esp + 0x18]
mov cl, byte [esp + 0x1b]
test bl, bl
je 0x10070f8f
cmp byte [esp + 0x19], 0
je 0x10070f8f
cmp byte [esp + 0x1a], 0
je 0x10070f8f
test al, al
je 0x10070f8f
test cl, cl
je 0x10070f8f
mov esi, 1
jmp 0x10070f91
xor esi, esi
mov dword [esp + 0xf0], 0xffffffff
test edi, edi
je 0x10070fc2
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret