Function at 0x10029e40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069535
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1007e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x58], edi
cmp dword [0x10081800], 0
je 0x1002ab5f
xorps xmm0, xmm0
mov word [ebp - 0x4c], 0x7a
lea ecx, [ebp - 0x4b]
mov byte [ebp - 0x4b], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029ea1
sub ecx, edx
lea eax, [ebp - 0x4b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10005220
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x10076b00]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x110b
mov byte [ebp - 0x16], 0
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x11
jb 0x10029ed5
sub esp, 0x18
mov byte [ebp - 0x16], 0
mov edx, esp
lea ecx, [ebp - 0x27]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029f05
sub ecx, esi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [edi]
call fcn.100138b0
add esp, 0x18
mov dword [ebp - 0x64], eax
test eax, eax
je case.default.0x1002a5ce
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne case.default.0x1002a5ce
mov ecx, dword [ebp - 0x64]
call fcn.10013b60
lea ecx, [ebp - 0x48]
cmp ecx, eax
je 0x10029f67
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x10029f5b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10004f30
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
cmova eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x10029ff6
mov edx, 0x1006
lea ecx, [ebp - 0x2c]
call fcn.1000cff0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 1
call fcn.10013c90
test eax, eax
je 0x10029fbf
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10029fbf
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x2c]
push eax
call dword [0x100751b8]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe case.default.0x1002a5ce
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029fef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10029fef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
jmp 0x1002ab23
mov eax, dword [ebp + 8]
movzx eax, al
add eax, 0xfffffffb
mov dword [ebp - 0x68], eax
cmp eax, 3
ja case.default.0x1002a17a
jmp dword [eax*4 + 0x1002ab7c]
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a063
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a060
push 4
push eax
call esi
test eax, eax
jne 0x1002a060
mov eax, dword [ebp - 0x50]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a060
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1002a063
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x1002a11b
sub eax, 1
jne case.default.0x1002a17a
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a0cc
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a0c9
push 4
push eax
call esi
test eax, eax
jne 0x1002a0c9
mov eax, dword [ebp - 0x50]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a0c9
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1002a0cc
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + 0x3e]
add eax, 0xffffff37
cmp eax, 3
ja case.default.0x1002a17a
jmp dword [eax*4 + 0x1002ab8c]
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000cff0
mov byte [ebp - 4], 3
mov ecx, 0x10b81f8
call fcn.10013c90
test eax, eax
je 0x10029fbf
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10029fbf
jmp 0x10029fac
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a16e
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a16b
push 4
push eax
call esi
test eax, eax
jne 0x1002a16b
mov eax, dword [ebp - 0x50]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a16b
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1002a16e
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + 0x3e]
add eax, 0xffffff9b
cmp eax, 3
ja case.default.0x1002a17a
jmp dword [eax*4 + 0x1002ab9c]
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000cff0
mov byte [ebp - 4], 2
jmp 0x1002a0f6
mov ecx, dword [ebp + 8]
cmp cl, 8
jne 0x1002a30c
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a1f4
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a1f1
push 4
push eax
call esi
test eax, eax
jne 0x1002a1f1
mov eax, dword [ebp - 0x50]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a1f1
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1002a1f4
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x1002a28c
sub eax, 1
jne 0x1002a468
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a25d
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a25a
push 4
push eax
call esi
test eax, eax
jne 0x1002a25a
mov eax, dword [ebp - 0x50]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a25a
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1002a25d
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + 0x3e]
sub eax, 0xcf
je 0x1002a276
sub eax, 2
je 0x1002a276
sub eax, 2
jne 0x1002a468
mov edx, 0x1007
lea ecx, [ebp - 0x2c]
call fcn.1000cff0
mov byte [ebp - 4], 5
jmp 0x1002a0f6
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a2df
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a2dc
push 4
push eax
call esi
test eax, eax
jne 0x1002a2dc
mov eax, dword [ebp - 0x50]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a2dc
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1002a2df
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + 0x3e]
sub eax, 0x6b
je 0x1002a2f6
sub eax, 2
je 0x1002a2f6
sub eax, 2
jne 0x1002a468
mov edx, 0x1007
lea ecx, [ebp - 0x2c]
call fcn.1000cff0
mov byte [ebp - 4], 4
jmp 0x1002a0f6
cmp cl, 7
jne 0x1002a468
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a366
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a363
push 4
push eax
call esi
test eax, eax
jne 0x1002a363
mov eax, dword [ebp - 0x50]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a363
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1002a366
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x1002a3f4
sub eax, 1
jne 0x1002a5c2
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a3cf
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a3cc
push 4
push eax
call esi
test eax, eax
jne 0x1002a3cc
mov eax, dword [ebp - 0x50]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a3cc
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1002a3cf
mov eax, dword [ebp - 0x4c]
mov ecx, 0xcd
cmp word [eax + 0x3e], cx
jne 0x1002a5c2
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000cff0
mov byte [ebp - 4], 7
jmp 0x1002a0f6
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a447
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a444
push 4
push eax
call esi
test eax, eax
jne 0x1002a444
mov eax, dword [ebp - 0x50]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a444
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1002a447
mov eax, dword [ebp - 0x4c]
cmp word [eax + 0x3e], 0x69
jne 0x1002a5c2
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000cff0
mov byte [ebp - 4], 6
jmp 0x1002a0f6
mov eax, dword [ebp + 8]
cmp al, 6
jne 0x1002a5c2
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a4c4
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a4c1
push 4
push eax
call esi
test eax, eax
jne 0x1002a4c1
mov eax, dword [ebp - 0x50]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a4c1
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1002a4c4
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x1002a552
sub eax, 1
jne 0x1002a5c2
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a52d
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a52a
push 4
push eax
call esi
test eax, eax
jne 0x1002a52a
mov eax, dword [ebp - 0x50]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a52a
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1002a52d
mov eax, dword [ebp - 0x4c]
mov ecx, 0xcf
cmp word [eax + 0x3e], cx
jne 0x1002a5c2
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000cff0
mov byte [ebp - 4], 9
jmp 0x1002a0f6
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x4c], eax
je 0x1002a5a5
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1002a5a2
push 4
push eax
call esi
test eax, eax
jne 0x1002a5a2
mov eax, dword [ebp - 0x50]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x50], eax
call esi
test eax, eax
jne 0x1002a5a2
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1002a5a5
mov eax, dword [ebp - 0x4c]
cmp word [eax + 0x3e], 0x6b
jne 0x1002a5c2
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000cff0
mov byte [ebp - 4], 8
jmp 0x1002a0f6
mov eax, dword [ebp - 0x68]
cmp eax, 3
ja case.default.0x1002a5ce
jmp dword [eax*4 + 0x1002abac]
mov byte [ebp - 0x20], 0x6e
mov al, 0x1d
xor al, byte [ebp - 0x20]
mov cl, 0x1a
xor cl, byte [ebp - 0x20]
xor ch, ch
mov byte [ebp - 0x1f], al
mov dl, 0x1c
mov byte [ebp - 0x1e], cl
mov ah, 7
mov cl, byte [ebp - 0x20]
mov dh, 9
mov byte [ebp - 0x51], 0x31
xor dl, cl
mov al, byte [ebp - 0x51]
xor ah, cl
xor al, cl
mov byte [ebp - 0x49], 0x5a
mov byte [ebp - 0x19], al
xor dh, cl
mov al, byte [ebp - 0x49]
xorps xmm0, xmm0
mov byte [ebp - 0x17], ch
xor al, cl
xor ch, cl
mov byte [ebp - 0x1d], dl
sub esp, 0x18
mov byte [ebp - 0x1a], dh
mov edx, esp
mov byte [ebp - 0x1b], ch
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x1c], ah
mov byte [ebp - 0x18], al
lea eax, [ecx + 1]
mov byte [ebp - 0x17], 0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x50], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a650
sub ecx, dword [ebp - 0x50]
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.10005220
mov ecx, dword [edi]
call fcn.100138b0
mov edi, eax
mov dword [ebp - 0x5c], edi
jmp 0x1002a81a
mov byte [ebp - 0x20], 0x42
mov al, 0x31
xor al, byte [ebp - 0x20]
mov cl, 0x36
xor cl, byte [ebp - 0x20]
mov dl, 0x30
mov byte [ebp - 0x1f], al
mov ah, 0x2b
mov byte [ebp - 0x1e], cl
mov ch, 0x2c
mov cl, byte [ebp - 0x20]
mov dh, 0x25
mov byte [ebp - 0x49], 0x1d
xor dl, cl
mov al, byte [ebp - 0x49]
xor ah, cl
xor al, cl
mov byte [ebp - 0x51], 0x77
mov byte [ebp - 0x19], al
xor dh, cl
mov al, byte [ebp - 0x51]
xor ch, cl
xor al, cl
mov byte [ebp - 0x1d], dl
sub esp, 0x18
mov byte [ebp - 0x1a], dh
mov edx, esp
mov byte [ebp - 0x1b], ch
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x1c], ah
mov byte [ebp - 0x18], al
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov byte [ebp - 0x17], 0
movups xmmword [edx], xmm0
mov byte [ebp - 0x17], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x50], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a6f0
sub ecx, dword [ebp - 0x50]
jmp 0x1002a65a
mov byte [ebp - 0x20], 0x5f
mov al, 0x2c
xor al, byte [ebp - 0x20]
mov cl, 0x2b
xor cl, byte [ebp - 0x20]
mov dl, 0x2d
mov byte [ebp - 0x1f], al
mov ah, 0x36
mov byte [ebp - 0x1e], cl
mov ch, 0x31
mov cl, byte [ebp - 0x20]
mov dh, 0x38
mov byte [ebp - 0x49], 0
xor dl, cl
mov al, byte [ebp - 0x49]
xor ah, cl
xor al, cl
mov byte [ebp - 0x51], 0x69
mov byte [ebp - 0x19], al
xor dh, cl
mov al, byte [ebp - 0x51]
xor ch, cl
xor al, cl
mov byte [ebp - 0x1d], dl
sub esp, 0x18
mov byte [ebp - 0x1a], dh
mov edx, esp
mov byte [ebp - 0x1b], ch
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x1c], ah
mov byte [ebp - 0x18], al
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov byte [ebp - 0x17], 0
movups xmmword [edx], xmm0
mov byte [ebp - 0x17], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x50], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a774
sub ecx, dword [ebp - 0x50]
jmp 0x1002a65a
mov byte [ebp - 0x20], 0x38
mov al, 0x4b
xor al, byte [ebp - 0x20]
mov cl, 0x4c
xor cl, byte [ebp - 0x20]
mov dl, 0x4a
mov byte [ebp - 0x1f], al
mov ah, 0x51
mov byte [ebp - 0x1e], cl
mov ch, 0x56
mov cl, byte [ebp - 0x20]
mov dh, 0x5f
mov byte [ebp - 0x49], 0x67
xor dl, cl
mov al, byte [ebp - 0x49]
xor ah, cl
xor al, cl
mov byte [ebp - 0x51], 0xf
mov byte [ebp - 0x19], al
xor dh, cl
mov al, byte [ebp - 0x51]
xor ch, cl
xor al, cl
mov byte [ebp - 0x1d], dl
sub esp, 0x18
mov byte [ebp - 0x1a], dh
mov edx, esp
mov byte [ebp - 0x1b], ch
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x1c], ah
mov byte [ebp - 0x18], al
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov byte [ebp - 0x17], 0
movups xmmword [edx], xmm0
mov byte [ebp - 0x17], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x50], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a7f8
sub ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x1f]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [edi]
call fcn.100138b0
mov edi, eax
mov dword [ebp - 0x5c], eax
add esp, 0x18
test edi, edi
je case.default.0x1002a5ce
push 4
push edi
call esi
test eax, eax
jne case.default.0x1002a5ce
mov ecx, edi
call fcn.10013b60
lea ecx, [ebp - 0x48]
cmp ecx, eax
je 0x1002a856
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x1002a84a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10004f30
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
cmova eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edi, eax
add esp, 4
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], eax
je 0x1002a8c1
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002a8be
push 4
push eax
call esi
test eax, eax
jne 0x1002a8be
mov eax, dword [ebp - 0x14]
add eax, 0x6e8
push 4
push eax
mov dword [ebp - 0x14], eax
call esi
test eax, eax
jne 0x1002a8be
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
mov al, byte [eax]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x1002a8c1
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x3c]
cmp edi, eax
jl 0x1002a8df
mov edx, 0x1131
lea ecx, [ebp - 0x2c]
call fcn.1000cff0
mov byte [ebp - 4], 0xa
jmp 0x1002a0f6
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], vtable.ByteBuffer.0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x1000
call fcn.1000cc90
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1c]
mov eax, edx
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0x14], eax
cmp eax, 0x989680
ja 0x1002a99d
mov edi, dword [ebp - 0x24]
lea ecx, [edi + 1]
cmp eax, ecx
jae 0x1002a992
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp ecx, eax
jbe 0x1002a977
push ecx
push ecx
lea ecx, [ebp - 0x20]
call fcn.1000cee0
mov edi, dword [ebp - 0x24]
jmp 0x1002a992
sub ecx, dword [ebp - 0x14]
push ecx
push 0
push edx
mov dword [ebp - 0x14], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x1c]
add esp, 0xc
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov byte [eax + edi], 0x32
inc edi
mov dword [ebp - 0x24], edi
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.1000cbc0
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
sub eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4c], edi
cmp eax, 0x4000
ja 0x1002a9d7
mov ecx, dword ds:[0x1006c7dc]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x14]
push dword [ebp - 0x4c]
call dword [0x1006c7d8]
dec dword [ebp - 0x60]
push 4
push dword [ebp - 0x64]
call esi
test eax, eax
jne 0x1002a9f1
push dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
call dword [0x10075278]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x60]
mov eax, dword [ecx]
mov dword [eax + 0x158], edx
mov eax, dword [ecx]
cmp dword [eax + 0x158], 0
ja 0x1002aaa3
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002aa34
push 4
push eax
call esi
test eax, eax
jne 0x1002aa31
mov ecx, dword [ebp - 0x14]
mov dl, 2
add ecx, 0xb8
call fcn.10013bc0
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002aa57
push 4
push eax
call esi
test eax, eax
jne 0x1002aa57
mov ecx, dword [ebp - 0x14]
mov dl, 2
add ecx, 0xb8
call fcn.10013bc0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002aa7d
push 4
push eax
call esi
test eax, eax
jne 0x1002aa7d
mov ecx, dword [ebp - 0x14]
mov dl, 2
add ecx, 0xb8
call fcn.10013bc0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002aaa3
push 4
push eax
call esi
test eax, eax
jne 0x1002aaa3
mov ecx, dword [ebp - 0x14]
mov dl, 2
add ecx, 0xb8
call fcn.10013bc0
inc dword [ebp - 0x50]
push 4
push dword [ebp - 0x5c]
call esi
mov esi, dword [ebp - 0x50]
test eax, eax
jne 0x1002aabe
mov ecx, dword [ebp - 0x5c]
push esi
call dword [0x10075278]
mov eax, dword [ebp - 0x68]
jmp dword [eax*4 + 0x1002abbc]
call fcn.100662c0
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1002ab5f
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ab55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fe9
push ecx
push edx
call fcn.100662c0
add esp, 8
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.1006625f
mov esp, ebp
pop ebp
ret 4