Function at 0x1007e810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008eb35
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x100a4040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xf0], esi
cmp edx, 0x2396
jne 0x1007f589
movaps xmm0, xmmword [0x1009af40]
xor ecx, ecx
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x5c], 0x6278737f
movaps xmm0, xmmword [0x1009ad50]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x58], 0x7a7a735e
movaps xmm0, xmmword [0x1009b070]
movups xmmword [ebp - 0x6c], xmm0
mov word [ebp - 0x54], 0x1c79
mov byte [ebp - 0x52], 0
nop
mov al, byte [ebp - 0x8c]
xor byte [ebp + ecx - 0x8b], al
inc ecx
cmp ecx, 0x39
jb 0x1007e8b0
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x52], 0
push eax
call fcn.10002690
mov eax, dword [0x100bfff4]
add esp, 4
cmp byte [eax], 0
je 0x1007fa00
mov esi, dword [esi]
lea ecx, [ebp - 0x30]
push 0x14
sub esi, 8
call fcn.1007b0a0
push esi
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x10099ed4
call fcn.1007b330
mov dword [ebp - 0x30], 0x10099f0c
push 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
call fcn.1007b0a0
mov dword [ebp - 0x50], 0x10099d50
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x1007e93b
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
or edi, 0xffffffff
mov ecx, dword [ebp - 0x44]
test esi, esi
je 0x1007e989
lock inc dword [esi + 4]
mov dword [ebp - 0xcc], eax
mov eax, edi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xd0], vtable.pbwrap::pbfield_1__struct_pbwrap::types::Uint32__void_.0
lock xadd dword [esi + 4], eax
jne 0x1007e9a5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007e9a5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007e9a5
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xd0], vtable.pbwrap::pbfield_1__struct_pbwrap::types::Uint32__void_.0
mov byte [ebp - 4], 3
mov edx, 1
mov eax, dword [0x100c00f0]
push dword [eax]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 4
push eax
push 1
lea ecx, [ebp - 0xcc]
call fcn.1007ae90
lea ecx, [ebp - 0xbc]
call fcn.1007aa20
test esi, esi
je 0x1007ea0c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007ea0c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007ea0c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x1007ea1a
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
test esi, esi
je 0x1007ea65
lock inc dword [esi + 4]
mov dword [ebp - 0xcc], eax
mov eax, edi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xd0], vtable.pbwrap::pbfield_2__struct_pbwrap::types::Uint32__void_.0
lock xadd dword [esi + 4], eax
jne 0x1007ea81
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007ea81
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007ea81
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xd0], vtable.pbwrap::pbfield_2__struct_pbwrap::types::Uint32__void_.0
mov byte [ebp - 4], 5
mov ebx, 2
mov eax, dword [0x100c00cc]
mov edx, ebx
push dword [eax]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 6
push eax
push ebx
lea ecx, [ebp - 0xcc]
call fcn.1007ae90
lea ecx, [ebp - 0xbc]
call fcn.1007aa20
test esi, esi
je 0x1007eae9
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007eae9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007eae9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x1007eaf7
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
test esi, esi
je 0x1007eb42
lock inc dword [esi + 4]
mov dword [ebp - 0xcc], eax
mov eax, edi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xd0], 0x10099d48
lock xadd dword [esi + 4], eax
jne 0x1007eb5e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007eb5e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007eb5e
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xd0], 0x10099d48
mov byte [ebp - 4], 7
mov edx, 4
mov eax, dword [0x100c00a8]
push dword [eax]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 8
push eax
push 4
lea ecx, [ebp - 0xcc]
call fcn.1007ae90
lea ecx, [ebp - 0xbc]
call fcn.1007aa20
test esi, esi
je 0x1007ebc5
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007ebc5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007ebc5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1007ebd3
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
test esi, esi
je 0x1007ec12
lock inc dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099f34
lock xadd dword [esi + 4], eax
jne 0x1007ec22
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007ec22
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007ec22
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099f34
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x50]
call fcn.1007b1e0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xa4]
mov ecx, esp
push eax
call fcn.1000b8c0
push ecx
mov edx, 8
lea ecx, [ebp - 0x84]
call fcn.1007aab0
add esp, 0x1c
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xb
push eax
push 8
lea ecx, [ebp - 0x1c]
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x90]
cmp ecx, 0xf
jbe 0x1007ecc0
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007ecb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007ecb6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008a5c0
add esp, 8
test esi, esi
je 0x1007ece3
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007ece3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007ece3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1007ecf1
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
test esi, esi
je 0x1007ed30
lock inc dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099e18
lock xadd dword [esi + 4], eax
jne 0x1007ed40
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007ed40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007ed40
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099e18
mov byte [ebp - 4], 0xc
mov edx, 0x11
mov eax, dword [0x100c0060]
push dword [eax]
push ecx
lea ecx, [ebp - 0x84]
call fcn.10081bb0
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xd
push eax
push 0x11
lea ecx, [ebp - 0x1c]
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
test esi, esi
je 0x1007eda4
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007eda4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007eda4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1007edb2
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
test esi, esi
je 0x1007edf1
lock inc dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099e00
lock xadd dword [esi + 4], eax
jne 0x1007ee01
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007ee01
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007ee01
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099e00
mov byte [ebp - 4], 0xe
mov edx, 0x12
mov eax, dword [0x100c0084]
push dword [eax]
push ecx
lea ecx, [ebp - 0x84]
call fcn.10081bb0
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xf
push eax
push 0x12
lea ecx, [ebp - 0x1c]
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
test esi, esi
je 0x1007ee65
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007ee65
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007ee65
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [0x100c0234]
cmp dword [eax], 0
je 0x1007eff5
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1007ee81
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
test esi, esi
je 0x1007eec0
lock inc dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099d80
lock xadd dword [esi + 4], eax
jne 0x1007eed0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007eed0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007eed0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099d80
mov byte [ebp - 4], 0x10
mov edx, 5
mov eax, dword [0x100c0210]
push dword [eax]
push ecx
lea ecx, [ebp - 0x84]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x11
push eax
push 5
lea ecx, [ebp - 0x1c]
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
test esi, esi
je 0x1007ef34
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007ef34
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007ef34
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1007ef42
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
test esi, esi
je 0x1007ef81
lock inc dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099d48
lock xadd dword [esi + 4], eax
jne 0x1007ef91
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007ef91
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007ef91
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099d48
mov byte [ebp - 4], 0x12
mov edx, 4
mov eax, dword [0x100c0234]
push dword [eax]
push ecx
lea ecx, [ebp - 0x84]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x13
push eax
push 4
lea ecx, [ebp - 0x1c]
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
test esi, esi
je 0x1007eff5
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007eff5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007eff5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1007f003
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
test esi, esi
je 0x1007f042
lock inc dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099de8
lock xadd dword [esi + 4], eax
jne 0x1007f052
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f052
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007f052
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099de8
mov byte [ebp - 4], 0x14
mov edx, 6
mov eax, dword [0x100c01ec]
movzx eax, byte [eax]
push eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.10081bb0
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x15
push eax
push 6
lea ecx, [ebp - 0x1c]
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
mov byte [ebp - 4], 2
test esi, esi
je 0x1007f0bc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f0bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f0bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 6
lea ecx, [ebp - 0x40]
call fcn.1007b0a0
mov dword [ebp - 0x40], vtable.MatchmakingGC2ClientHello::PlayerRankingInfo.0
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1007f0db
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
test esi, esi
je 0x1007f11a
lock inc dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], vtable.pbwrap::pbfield_1__struct_pbwrap::types::Uint32__void_.0
lock xadd dword [esi + 4], eax
jne 0x1007f12a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f12a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007f12a
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], vtable.pbwrap::pbfield_1__struct_pbwrap::types::Uint32__void_.0
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0xc6]
mov ecx, dword [0x100bea88]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, 1
push dword [eax]
push ecx
lea ecx, [ebp - 0x84]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x18
push eax
push 1
lea ecx, [ebp - 0x1c]
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
test esi, esi
je 0x1007f19b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f19b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f19b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.1007b6e0
mov esi, eax
push 6
push ecx
mov edx, 6
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x84]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [esi + 4]
push 6
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1007f20b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f20b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f20b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.1007b5c0
mov esi, eax
mov byte [ebp - 4], 0x1b
mov edx, ebx
mov ecx, dword [0x100c003c]
push dword [ecx + 0x100]
push ecx
lea ecx, [ebp - 0x84]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [esi + 4]
push 2
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1007f282
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f282
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f282
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.1007b650
mov esi, eax
mov byte [ebp - 4], 0x1d
mov edx, 3
mov ecx, dword [0x100c003c]
push dword [ecx + 0x104]
push ecx
lea ecx, [ebp - 0x84]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [esi + 4]
push 3
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1007f2fc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f2fc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f2fc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1007f30a
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
test esi, esi
je 0x1007f349
lock inc dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099d38
lock xadd dword [esi + 4], eax
jne 0x1007f359
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f359
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007f359
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x10099d38
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x40]
call fcn.1007b1e0
sub esp, 0x18
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0xa4]
mov ecx, esp
push eax
call fcn.1000b8c0
push ecx
mov edx, 7
lea ecx, [ebp - 0x84]
call fcn.1007aab0
add esp, 0x1c
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x21
push eax
push 7
lea ecx, [ebp - 0x1c]
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x90]
cmp ecx, 0xf
jbe 0x1007f3f7
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f3ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007f3ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008a5c0
add esp, 8
mov byte [ebp - 4], 0x16
test esi, esi
je 0x1007f41e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f41e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f41e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x30]
call fcn.1007b1e0
push dword [ebp - 0xf0]
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x22
push dword [ebp + 0x18]
push dword [ebp - 0xe4]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.1000b8c0
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xec]
call fcn.1007e700
mov eax, dword [0x100c003c]
add esp, 0x24
movaps xmm0, xmmword [0x1009a7e0]
xor ecx, ecx
mov edx, dword [eax + 0x104]
mov esi, dword [eax + 0x100]
movups xmmword [ebp - 0xe0], xmm0
mov word [ebp - 0xc0], 0x1a
movaps xmm0, xmmword [0x1009b030]
movups xmmword [ebp - 0xd0], xmm0
nop dword [eax]
mov al, byte [ebp - 0xe0]
xor byte [ebp + ecx - 0xdf], al
inc ecx
cmp ecx, 0x20
jb 0x1007f4a0
push edx
lea eax, [ebp - 0xdf]
mov byte [ebp - 0xbf], 0
push esi
push eax
call fcn.10002690
mov ecx, dword [ebp - 0x90]
add esp, 0xc
cmp ecx, 0xf
jbe 0x1007f507
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f4fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007f4fd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008a5c0
add esp, 8
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1007f52d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f52d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f52d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x1007f553
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f553
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f553
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1007fa00
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007fa00
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1007fa00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007fa00
cmp edx, 0x23ea
jne 0x1007f92a
movaps xmm0, xmmword [0x1009a7c0]
xor ecx, ecx
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x58], 0x5b3425
movaps xmm0, xmmword [0x1009a640]
movups xmmword [ebp - 0x78], xmm0
movaps xmm0, xmmword [0x1009a850]
movups xmmword [ebp - 0x68], xmm0
mov al, byte [ebp - 0x88]
xor byte [ebp + ecx - 0x87], al
inc ecx
cmp ecx, 0x32
jb 0x1007f5c2
lea eax, [ebp - 0x87]
mov byte [ebp - 0x55], 0
push eax
call fcn.10002690
mov eax, dword [0x100bfff4]
add esp, 4
cmp byte [eax], 0
je 0x1007fa00
mov esi, dword [esi]
lea ecx, [ebp - 0x20]
push 1
sub esi, 8
call fcn.1007b0a0
push esi
lea eax, [ebx + 8]
mov dword [ebp - 4], 0x23
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x10099e40
call fcn.1007b330
mov dword [ebp - 0x20], 0x10099f14
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x20]
call fcn.1007b770
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x25
push ecx
mov ecx, eax
call fcn.10080ac0
mov esi, dword [ebp - 0x28]
or edi, 0xffffffff
test esi, esi
je 0x1007f673
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f673
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f673
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.1007b6e0
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.10080d70
mov esi, dword [ebp - 0x38]
mov edx, eax
mov dword [ebp - 0xc4], edx
test esi, esi
je 0x1007f6bf
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x1007f6bf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f6b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0xc4]
movaps xmm0, xmmword [str.B0__6_2b]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
nop dword [eax]
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xe
jb 0x1007f6d0
push edx
lea eax, [ebp - 0x3f]
mov byte [ebp - 0x31], 0
push eax
call fcn.10002690
add esp, 8
lea eax, [ebp - 0x40]
xor ebx, ebx
mov ecx, 2
cmp dword [ebp - 0xc4], 7
sete bl
cmp dword [ebp - 0xc4], 0xa
push eax
cmove ebx, ecx
lea ecx, [ebp - 0x50]
call fcn.1007b5c0
mov esi, eax
imul ebx, ebx, 0x10c
mov edx, 2
mov byte [ebp - 4], 0x29
mov ecx, dword [0x100c003c]
push dword [ebx + ecx + 0x100]
push ecx
lea ecx, [ebp - 0x84]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x2a
push eax
lea ecx, [esi + 4]
push 2
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1007f78a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f78a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f78a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.1007b650
mov esi, eax
mov byte [ebp - 4], 0x2b
mov edx, 3
mov ecx, dword [0x100c003c]
push dword [ebx + ecx + 0x104]
push ecx
lea ecx, [ebp - 0x84]
call fcn.10081710
add esp, 8
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [esi + 4]
push 3
call fcn.1007ae90
lea ecx, [ebp - 0x84]
call fcn.1007aa20
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1007f805
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f805
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f805
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x20]
call fcn.1007b770
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x2d
push ecx
mov ecx, eax
call fcn.10080ca0
mov byte [ebp - 4], 0x27
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1007f84b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f84b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f84b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x20]
call fcn.1007b1e0
push dword [ebp - 0xf0]
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x2e
push dword [ebp + 0x18]
push dword [ebp - 0xe4]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.1000b8c0
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xec]
call fcn.1007e700
mov ecx, dword [ebp - 0x90]
add esp, 0x24
cmp ecx, 0xf
jbe 0x1007f8ce
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f8c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007f8c4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008a5c0
add esp, 8
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x1007f8f4
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007f8f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007f8f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1007fa00
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007fa00
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1007fa00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1007fa00
cmp edx, 0xfa4
jne 0x1007fa03
movaps xmm0, xmmword [0x1009a9c0]
xor ecx, ecx
movups xmmword [ebp - 0xb0], xmm0
mov word [ebp - 0x90], 0x46
movaps xmm0, xmmword [0x1009a810]
movups xmmword [ebp - 0xa0], xmm0
nop dword [eax]
mov al, byte [ebp - 0xb0]
xor byte [ebp + ecx - 0xaf], al
inc ecx
cmp ecx, 0x20
jb 0x1007f960
lea eax, [ebp - 0xaf]
mov byte [ebp - 0x8f], 0
push eax
call fcn.10002690
push esi
mov edx, ebx
lea ecx, [ebp - 0xa4]
call fcn.1007c100
add esp, 8
push esi
push dword [ebp + 0x18]
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0x2f
push ebx
sub esp, 0x18
mov ecx, esp
push eax
call fcn.1000b8c0
mov edx, dword [ebp - 0xe8]
mov ecx, edi
call fcn.1007e700
mov ecx, dword [ebp - 0x90]
add esp, 0x24
cmp ecx, 0xf
jbe 0x1007fa00
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f9f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007f9f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008a5c0
add esp, 8
mov edx, dword [ebp + 0x10]
movaps xmm0, xmmword [0x1009ace0]
xor ecx, ecx
movups xmmword [ebp - 0xd0], xmm0
mov word [ebp - 0xc0], 0x28
nop dword [eax]
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x10
jb 0x1007fa20
push edx
lea eax, [ebp - 0xcf]
mov byte [ebp - 0xbf], 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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a073
mov esp, ebp
pop ebp
ret 0x18