Function at 0x100225c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3171
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x100d01c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x434], ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x10022602
lea eax, [esi + 0xf]
jmp 0x10022aba
mov ecx, dword [esi + 4]
xor edi, edi
mov dword [ebp - 0x430], edi
test ecx, ecx
jne 0x10022615
xor eax, eax
jmp 0x10022638
mov edx, dword [esi + 8]
lea eax, [edx + 2]
mov dword [ebp - 0x42c], eax
cmp eax, ecx
ja 0x10022ad7
mov eax, dword [esi]
movzx eax, word [edx + eax]
mov edx, dword [ebp - 0x42c]
mov dword [esi + 8], edx
movzx eax, ax
sub eax, 1
je 0x1002299a
sub eax, 1
je 0x1002271d
sub eax, 3
je 0x1002265c
mov edi, 0xc
jmp 0x10022ab8
test ecx, ecx
jne 0x1002267b
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0x43c], xmm0
mov edx, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x43c]
jmp 0x100226ec
mov eax, dword [esi + 8]
mov dword [ebp - 0x42c], eax
lea edx, [eax + 4]
cmp edx, ecx
ja 0x10022ad7
mov edi, dword [esi]
mov eax, dword [edi + eax]
mov dword [esi + 8], edx
cdq
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x42c]
lea edi, [eax + 8]
mov dword [ebp - 0x42c], edi
cmp edi, ecx
mov edi, dword [ebp - 0x430]
jbe 0x100226d7
push str.Not_enough_bytes_left_in_buffer_to_read
lea ecx, [ebp - 0x458]
call fcn.10021b50
push 0x100c5f88
lea eax, [ebp - 0x458]
jmp 0x10022af2
mov ecx, dword [esi]
mov eax, dword [ecx + eax + 4]
mov ecx, dword [ebp - 0x42c]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x438]
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x434]
call fcn.10023060
test eax, eax
je 0x10022ab8
push str.Could_not_query_memory_bytes_for_server_auth___HandleInboundPacket
push 2
push str.UltimateAnticheat.log
call fcn.10010bd0
mov edi, 0x14
jmp 0x10022ab5
mov ecx, esi
call fcn.10023170
movzx eax, ax
mov ecx, 0x80
cmp ax, cx
je 0x10022739
lea eax, [ecx - 0x77]
jmp 0x10022aba
mov ecx, dword [esi + 8]
lea eax, [ecx + 0x80]
cmp eax, dword [esi + 4]
ja 0x10022ad7
mov eax, dword [esi]
add eax, ecx
mov dword [ebp - 0x428], edi
push 0x80
push eax
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
call fcn.100140c0
sub dword [esi + 8], 0xffffff80
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x464]
call fcn.10017120
lea eax, [ebp + 4]
mov byte [ebp - 4], 3
push 0
push dword [eax + 4]
push dword [eax]
call fcn.10027780
add esp, 0xc
test al, al
jne 0x1002282f
push str.Return_address_was_outside_of_module___NetClient::MakeHeartbeat_:_some_attacker_might_be_trying_to_spoof_heartbeats
push 3
push str.UltimateAnticheat.log
call fcn.10010bd0
mov edx, dword [ebp - 0x450]
add esp, 0xc
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10022806
mov ecx, dword [ebp - 0x464]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100227fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022af8
push edx
push ecx
call fcn.100479cd
add esp, 8
push str.Failed_to_generate_heartbeat___HandleInboundPacket
push 2
push str.UltimateAnticheat.log
call fcn.10010bd0
add esp, 0xc
lea ecx, [ebp - 0x428]
mov edi, 0xb
call fcn.10011cd0
jmp 0x10022ab8
cmp dword [ebp - 0x450], 0x10
lea esi, [ebp - 0x464]
push 0x80
cmovae esi, dword [ebp - 0x464]
call fcn.10047a45
mov edi, eax
add esp, 4
test edi, edi
je 0x10022868
push 0x80
push 0
push edi
call fcn.1004a390
add esp, 0xc
jmp 0x1002286a
xor edi, edi
lea eax, [esi + 0x7f]
lea ecx, [edi + 0x7f]
cmp edi, eax
ja 0x10022893
cmp ecx, esi
jb 0x10022893
mov ecx, edi
sub esi, edi
mov edx, 0x80
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor al, 0x18
mov byte [ecx - 1], al
sub edx, 1
jne 0x10022881
jmp 0x100228e3
lea ecx, [esi + 0x30]
mov edx, 2
lea eax, [edi + 0x10]
sub esi, edi
movaps xmm1, xmmword [0x100b2f20]
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm0, xmmword [ecx - 0x70]
pxor xmm0, xmm1
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [esi + eax - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x50]
pxor xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
sub edx, 1
jne 0x100228a0
mov edx, dword [ebp - 0x450]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10022921
mov ecx, dword [ebp - 0x464]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022917
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022af8
push edx
push ecx
call fcn.100479cd
add esp, 8
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0xf
mov byte [ebp - 0x464], 0
test edi, edi
je 0x10022806
push edi
call fcn.10023a70
mov ecx, dword [ebp - 0x434]
add esp, 4
push eax
call fcn.100230f0
test eax, eax
je 0x1002297b
push str.Could_not_send_heartbeat___HandleInboundPacket
push 2
push str.UltimateAnticheat.log
call fcn.10010bd0
add esp, 0xc
mov dword [ebp - 0x430], 0xb
push edi
call fcn.100479db
mov edi, dword [ebp - 0x430]
lea ecx, [ebp - 0x428]
add esp, 4
call fcn.10011cd0
jmp 0x10022ab8
mov ecx, esi
call fcn.10023170
movzx esi, ax
mov eax, dword [ebp - 0x434]
push 0x400
push 0
mov byte [eax], 1
lea eax, [ebp - 0x410]
push eax
call fcn.1004a390
push esi
push str.Got_reply_from_server_with_version:__d
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.10015d90
add esp, 0x1c
cmp eax, 0x3ff
ja 0x10022aa0
push 0x15
mov dword [ebp - 0x44c], edi
lea ecx, [ebp - 0x44c]
push str.UltimateAnticheat.log
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], 0xf
mov byte [ebp - 0x44c], 0
call fcn.100140c0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x428], 0
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022a50
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.100140c0
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44c]
push 0
push eax
call fcn.100149a0
add esp, 0xc
lea ecx, [ebp - 0x428]
call fcn.10011cd0
lea ecx, [ebp - 0x44c]
call fcn.10011cd0
jmp 0x10022ab8
push str._WARNING__Failed_to_format_log_message.
push 0x100d1f10
call fcn.100105d0
push eax
call fcn.10010b30
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100479e0
mov esp, ebp
pop ebp
ret 4
push str.Not_enough_bytes_left_in_buffer_to_read
lea ecx, [ebp - 0x440]
call fcn.10021b50
push 0x100c5f88
lea eax, [ebp - 0x440]
push eax
call fcn.100491f4
call fcn.10055848
int3