Function at 0x102ff7e0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x33c
call fcn.10315d90
mov eax, dword [0x103fbc90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov dword [ebp - 0x2b4], 0x40
mov dword [ebp - 0x2f0], 0x28
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2bc], 8
mov byte [ebp - 0x2cd], 1
cmp dword [ebp + 0x20], 0x100000
jae 0x102ff83c
mov dword [ebp - 0x304], 1
jmp 0x102ff846
mov dword [ebp - 0x304], 0
cmp dword [ebp - 0x304], 0
jne 0x102ff856
xor eax, eax
jmp 0x10300463
mov eax, dword [ebp + 8]
push eax
call fcn.101ca3f0
add esp, 4
push eax
call fcn.101c6d70
add esp, 4
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x2e8], 0x2a0
jg 0x102ff8a8
cmp dword [ebp - 0x2e8], 0x2a0
je 0x102ff9a5
cmp dword [ebp - 0x2e8], 4
je 0x102ff8dd
cmp dword [ebp - 0x2e8], 0x40
je 0x102ff92b
jmp 0x102ffa7e
cmp dword [ebp - 0x2e8], 0x2a1
je 0x102ff9e2
cmp dword [ebp - 0x2e8], 0x2a2
je 0x102ffa30
cmp dword [ebp - 0x2e8], 0x2a3
je 0x102ff968
jmp 0x102ffa7e
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.10238e10
add esp, 4
test eax, eax
jg 0x102ff8f7
xor eax, eax
jmp 0x10300463
mov dword [ebp - 0x2ec], 0x103004f0
mov dword [ebp - 0x2c8], 0x10238e60
mov dword [ebp - 0x2cc], 0x10
mov dword [ebp - 0x2f0], 0x30
mov byte [ebp - 0x2cd], 0
jmp 0x102ffa94
lea edx, [ebp - 0x2ac]
push edx
call fcn.101cb2f0
add esp, 4
test eax, eax
jg 0x102ff945
xor eax, eax
jmp 0x10300463
mov dword [ebp - 0x2ec], 0x10300670
mov dword [ebp - 0x2c8], 0x101cb340
mov dword [ebp - 0x2cc], 0x14
jmp 0x102ffa94
lea eax, [ebp - 0x2ac]
push eax
call fcn.101eb510
add esp, 4
test eax, eax
jg 0x102ff982
xor eax, eax
jmp 0x10300463
mov dword [ebp - 0x2ec], 0x103008c0
mov dword [ebp - 0x2c8], 0x101eba50
mov dword [ebp - 0x2cc], 0x1c
jmp 0x102ffa94
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.101eb990
add esp, 4
test eax, eax
jg 0x102ff9bf
xor eax, eax
jmp 0x10300463
mov dword [ebp - 0x2ec], 0x103008c0
mov dword [ebp - 0x2c8], 0x101eba50
mov dword [ebp - 0x2cc], 0x20
jmp 0x102ffa94
lea edx, [ebp - 0x2ac]
push edx
call fcn.101e85e0
add esp, 4
test eax, eax
jg 0x102ff9fc
xor eax, eax
jmp 0x10300463
mov dword [ebp - 0x2ec], 0x10300980
mov dword [ebp - 0x2c8], 0x101e9060
mov dword [ebp - 0x2cc], 0x30
mov dword [ebp - 0x2b4], 0x80
mov dword [ebp - 0x2bc], 0x10
jmp 0x102ffa94
lea eax, [ebp - 0x2ac]
push eax
call fcn.101e8f40
add esp, 4
test eax, eax
jg 0x102ffa4a
xor eax, eax
jmp 0x10300463
mov dword [ebp - 0x2ec], 0x10300980
mov dword [ebp - 0x2c8], 0x101e9060
mov dword [ebp - 0x2cc], 0x40
mov dword [ebp - 0x2b4], 0x80
mov dword [ebp - 0x2bc], 0x10
jmp 0x102ffa94
cmp dword [ebp + 0x10], 0
je 0x102ffa8d
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
xor eax, eax
jmp 0x10300463
cmp dword [ebp - 0x2bc], 0x10
ja 0x102ffaa9
mov dword [ebp - 0x308], 1
jmp 0x102ffab3
mov dword [ebp - 0x308], 0
cmp dword [ebp - 0x308], 0
je 0x102ffb0f
cmp dword [ebp - 0x2b4], 0x80
ja 0x102ffad4
mov dword [ebp - 0x30c], 1
jmp 0x102ffade
mov dword [ebp - 0x30c], 0
cmp dword [ebp - 0x30c], 0
je 0x102ffb0f
cmp dword [ebp - 0x2cc], 0x40
ja 0x102ffafc
mov dword [ebp - 0x310], 1
jmp 0x102ffb06
mov dword [ebp - 0x310], 0
cmp dword [ebp - 0x310], 0
jne 0x102ffb16
xor eax, eax
jmp 0x10300463
mov dword [ebp - 0x2e0], 0xd
movsx edx, byte [ebp + 0x2c]
test edx, edx
je 0x102ffb3b
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [ebp + 0x28]
lea edx, [ecx + eax + 0xb]
mov dword [ebp - 0x2e0], edx
movsx eax, byte [ebp + 0x2c]
test eax, eax
je 0x102ffb4f
mov dword [ebp - 0x314], 2
jmp 0x102ffb73
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x2cc]
lea eax, [edx + ecx + 0xff]
xor edx, edx
div dword [ebp - 0x2b4]
add eax, 1
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp + 0x20]
add ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x328], ecx
mov edx, dword [ebp - 0x328]
sub edx, dword [ebp - 0x2cc]
sub edx, 1
mov dword [ebp - 0x33c], edx
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x33c]
lea edx, [ecx + eax + 1]
mov eax, dword [ebp - 0x2b4]
lea eax, [edx + eax - 1]
xor edx, edx
div dword [ebp - 0x2b4]
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2dc], 0
mov ecx, dword [ebp + 0x1c]
add ecx, dword [ebp - 0x2e0]
sub ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2fc], ecx
mov eax, dword [ebp - 0x2fc]
xor edx, edx
div dword [ebp - 0x2b4]
mov dword [ebp - 0x324], edx
mov eax, dword [ebp - 0x2fc]
xor edx, edx
div dword [ebp - 0x2b4]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x2fc]
add eax, dword [ebp - 0x2bc]
xor edx, edx
div dword [ebp - 0x2b4]
mov dword [ebp - 0x330], eax
movsx edx, byte [ebp + 0x2c]
test edx, edx
je 0x102ffc4a
mov dword [ebp - 0x318], 1
jmp 0x102ffc54
mov dword [ebp - 0x318], 0
mov eax, dword [ebp - 0x300]
add eax, dword [ebp - 0x318]
cmp dword [ebp - 0x31c], eax
jbe 0x102ffc8d
mov ecx, dword [ebp - 0x31c]
sub ecx, dword [ebp - 0x300]
mov dword [ebp - 0x2f4], ecx
mov edx, dword [ebp - 0x2b4]
imul edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2dc], edx
mov eax, dword [ebp - 0x2fc]
shl eax, 3
mov dword [ebp - 0x2d8], eax
movsx ecx, byte [ebp + 0x2c]
test ecx, ecx
jne 0x102ffd7b
mov edx, dword [ebp - 0x2b4]
mov eax, dword [ebp - 0x2d8]
lea ecx, [eax + edx*8]
mov dword [ebp - 0x2d8], ecx
mov edx, dword [ebp - 0x2b4]
push edx
push 0
lea eax, [ebp - 0x94]
push eax
call fcn.103170a0
add esp, 0xc
cmp dword [ebp + 0x28], 0x80
ja 0x102ffcea
mov dword [ebp - 0x320], 1
jmp 0x102ffcf4
mov dword [ebp - 0x320], 0
cmp dword [ebp - 0x320], 0
jne 0x102ffd04
xor eax, eax
jmp 0x10300463
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.10316b20
add esp, 0xc
mov dword [ebp - 0x2b8], 0
jmp 0x102ffd36
mov ecx, dword [ebp - 0x2b8]
add ecx, 1
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x2b8]
cmp edx, dword [ebp - 0x2b4]
jae 0x102ffd64
mov eax, dword [ebp - 0x2b8]
movzx ecx, byte [ebp + eax - 0x94]
xor ecx, 0x36
mov edx, dword [ebp - 0x2b8]
mov byte [ebp + edx - 0x94], cl
jmp 0x102ffd27
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call dword [ebp - 0x2c8]
add esp, 8
movsx edx, byte [ebp - 0x2cd]
test edx, edx
je 0x102ffde9
mov eax, dword [ebp - 0x2bc]
sub eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.103170a0
add esp, 0xc
mov edx, dword [ebp - 0x2d8]
shr edx, 0x18
mov eax, dword [ebp - 0x2bc]
mov byte [ebp + eax - 0x18], dl
mov ecx, dword [ebp - 0x2d8]
shr ecx, 0x10
mov edx, dword [ebp - 0x2bc]
mov byte [ebp + edx - 0x17], cl
mov eax, dword [ebp - 0x2d8]
shr eax, 8
mov ecx, dword [ebp - 0x2bc]
mov byte [ebp + ecx - 0x16], al
mov edx, dword [ebp - 0x2bc]
mov al, byte [ebp - 0x2d8]
mov byte [ebp + edx - 0x15], al
jmp 0x102ffe47
mov ecx, dword [ebp - 0x2bc]
push ecx
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.103170a0
add esp, 0xc
mov eax, dword [ebp - 0x2d8]
shr eax, 0x18
mov ecx, dword [ebp - 0x2bc]
mov byte [ebp + ecx - 0x19], al
mov edx, dword [ebp - 0x2d8]
shr edx, 0x10
mov eax, dword [ebp - 0x2bc]
mov byte [ebp + eax - 0x1a], dl
mov ecx, dword [ebp - 0x2d8]
shr ecx, 8
mov edx, dword [ebp - 0x2bc]
mov byte [ebp + edx - 0x1b], cl
mov eax, dword [ebp - 0x2bc]
mov cl, byte [ebp - 0x2d8]
mov byte [ebp + eax - 0x1c], cl
cmp dword [ebp - 0x2dc], 0
jbe 0x102ffffc
movsx edx, byte [ebp + 0x2c]
test edx, edx
je 0x102fff5b
mov eax, dword [ebp - 0x2e0]
cmp eax, dword [ebp - 0x2b4]
ja 0x102ffe75
xor eax, eax
jmp 0x10300463
mov ecx, dword [ebp - 0x2e0]
sub ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2f8], ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x2ac]
push eax
call dword [ebp - 0x2c8]
add esp, 8
mov ecx, dword [ebp - 0x2f8]
push ecx
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 0x2b4]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.10316b20
add esp, 0xc
mov ecx, dword [ebp - 0x2b4]
sub ecx, dword [ebp - 0x2f8]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x2f8]
lea ecx, [ebp + eax - 0x154]
push ecx
call fcn.10316b20
add esp, 0xc
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x2ac]
push eax
call dword [ebp - 0x2c8]
add esp, 8
mov dword [ebp - 0x2b8], 1
jmp 0x102fff14
mov ecx, dword [ebp - 0x2b8]
add ecx, 1
mov dword [ebp - 0x2b8], ecx
mov eax, dword [ebp - 0x2dc]
xor edx, edx
div dword [ebp - 0x2b4]
sub eax, 1
cmp dword [ebp - 0x2b8], eax
jae 0x102fff56
mov edx, dword [ebp - 0x2b4]
imul edx, dword [ebp - 0x2b8]
add edx, dword [ebp + 0x18]
sub edx, dword [ebp - 0x2f8]
push edx
lea eax, [ebp - 0x2ac]
push eax
call dword [ebp - 0x2c8]
add esp, 8
jmp 0x102fff05
jmp 0x102ffffc
push 0xd
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.10316b20
add esp, 0xc
mov eax, dword [ebp - 0x2b4]
sub eax, 0xd
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x147]
push edx
call fcn.10316b20
add esp, 0xc
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call dword [ebp - 0x2c8]
add esp, 8
mov dword [ebp - 0x2b8], 1
jmp 0x102fffbf
mov edx, dword [ebp - 0x2b8]
add edx, 1
mov dword [ebp - 0x2b8], edx
mov eax, dword [ebp - 0x2dc]
xor edx, edx
div dword [ebp - 0x2b4]
cmp dword [ebp - 0x2b8], eax
jae 0x102ffffc
mov eax, dword [ebp - 0x2b4]
imul eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp + 0x18]
lea edx, [ecx + eax - 0xd]
push edx
lea eax, [ebp - 0x2ac]
push eax
call dword [ebp - 0x2c8]
add esp, 8
jmp 0x102fffb0
push 0x40
push 0
lea ecx, [ebp - 0xd4]
push ecx
call fcn.103170a0
add esp, 0xc
mov edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2b8], edx
jmp 0x1030002c
mov eax, dword [ebp - 0x2b8]
add eax, 1
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2f4]
add ecx, dword [ebp - 0x300]
cmp dword [ebp - 0x2b8], ecx
ja 0x103002ae
mov edx, dword [ebp - 0x32c]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.101bc850
add esp, 8
mov byte [ebp - 0x2bd], al
mov ecx, dword [ebp - 0x330]
push ecx
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.101bc850
add esp, 8
mov byte [ebp - 0x2be], al
mov dword [ebp - 0x2c4], 0
jmp 0x10300097
mov eax, dword [ebp - 0x2c4]
add eax, 1
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
cmp ecx, dword [ebp - 0x2b4]
jae 0x1030021c
mov byte [ebp - 0x2ad], 0
mov edx, dword [ebp - 0x2dc]
cmp edx, dword [ebp - 0x2e0]
jae 0x103000d1
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x2dc]
mov cl, byte [eax]
mov byte [ebp - 0x2ad], cl
jmp 0x103000fa
mov edx, dword [ebp + 0x20]
add edx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2dc], edx
jae 0x103000fa
mov eax, dword [ebp - 0x2dc]
sub eax, dword [ebp - 0x2e0]
mov ecx, dword [ebp + 0x18]
mov dl, byte [ecx + eax]
mov byte [ebp - 0x2ad], dl
mov eax, dword [ebp - 0x2dc]
add eax, 1
mov dword [ebp - 0x2dc], eax
movzx ebx, byte [ebp - 0x2bd]
mov ecx, dword [ebp - 0x324]
push ecx
mov edx, dword [ebp - 0x2c4]
push edx
call fcn.102efb50
add esp, 8
movzx eax, al
and ebx, eax
mov byte [ebp - 0x2e1], bl
movzx ebx, byte [ebp - 0x2bd]
mov ecx, dword [ebp - 0x324]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x2c4]
push edx
call fcn.102efb50
add esp, 8
movzx eax, al
and ebx, eax
mov byte [ebp - 0x2e2], bl
movzx ecx, byte [ebp - 0x2ad]
push ecx
push 0x80
movzx edx, byte [ebp - 0x2e1]
push edx
call fcn.10231aa0
add esp, 0xc
mov byte [ebp - 0x2ad], al
movzx eax, byte [ebp - 0x2ad]
movzx ecx, byte [ebp - 0x2e2]
not ecx
and eax, ecx
mov byte [ebp - 0x2ad], al
movzx edx, byte [ebp - 0x2be]
not edx
movzx eax, byte [ebp - 0x2bd]
or edx, eax
movzx ecx, byte [ebp - 0x2ad]
and ecx, edx
mov byte [ebp - 0x2ad], cl
mov edx, dword [ebp - 0x2b4]
sub edx, dword [ebp - 0x2bc]
cmp dword [ebp - 0x2c4], edx
jb 0x10300204
movzx eax, byte [ebp - 0x2ad]
push eax
mov ecx, dword [ebp - 0x2b4]
sub ecx, dword [ebp - 0x2bc]
mov edx, dword [ebp - 0x2c4]
sub edx, ecx
movzx eax, byte [ebp + edx - 0x14]
push eax
movzx ecx, byte [ebp - 0x2be]
push ecx
call fcn.10231aa0
add esp, 0xc
mov byte [ebp - 0x2ad], al
mov edx, dword [ebp - 0x2c4]
mov al, byte [ebp - 0x2ad]
mov byte [ebp + edx - 0x1d4], al
jmp 0x10300088
lea ecx, [ebp - 0x1d4]
push ecx
lea edx, [ebp - 0x2ac]
push edx
call dword [ebp - 0x2c8]
add esp, 8
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call dword [ebp - 0x2ec]
add esp, 8
mov dword [ebp - 0x2c4], 0
jmp 0x10300265
mov edx, dword [ebp - 0x2c4]
add edx, 1
mov dword [ebp - 0x2c4], edx
mov eax, dword [ebp - 0x2c4]
cmp eax, dword [ebp - 0x2cc]
jae 0x103002a9
mov ecx, dword [ebp - 0x2c4]
movzx edx, byte [ebp + ecx - 0x1d4]
movzx eax, byte [ebp - 0x2be]
and edx, eax
mov ecx, dword [ebp - 0x2c4]
movzx eax, byte [ebp + ecx - 0xd4]
or eax, edx
mov ecx, dword [ebp - 0x2c4]
mov byte [ebp + ecx - 0xd4], al
jmp 0x10300256
jmp 0x1030001d
call fcn.101da290
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jne 0x103002c7
jmp 0x10300452
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.101ca3f0
add esp, 4
push eax
mov eax, dword [ebp - 0x2d4]
push eax
call fcn.101d9f00
add esp, 0xc
test eax, eax
jg 0x103002ee
jmp 0x10300452
movsx ecx, byte [ebp + 0x2c]
test ecx, ecx
je 0x10300375
mov edx, dword [ebp - 0x2f0]
push edx
push 0x5c
lea eax, [ebp - 0x94]
push eax
call fcn.103170a0
add esp, 0xc
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp - 0x2d4]
push eax
call fcn.101da000
add esp, 0xc
test eax, eax
jle 0x1030036b
mov ecx, dword [ebp - 0x2f0]
push ecx
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x2d4]
push eax
call fcn.101da000
add esp, 0xc
test eax, eax
jle 0x1030036b
mov ecx, dword [ebp - 0x2cc]
push ecx
lea edx, [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0x2d4]
push eax
call fcn.101da000
add esp, 0xc
test eax, eax
jg 0x10300370
jmp 0x10300452
jmp 0x10300402
mov dword [ebp - 0x2b8], 0
jmp 0x10300390
mov ecx, dword [ebp - 0x2b8]
add ecx, 1
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x2b8]
cmp edx, dword [ebp - 0x2b4]
jae 0x103003be
mov eax, dword [ebp - 0x2b8]
movzx ecx, byte [ebp + eax - 0x94]
xor ecx, 0x6a
mov edx, dword [ebp - 0x2b8]
mov byte [ebp + edx - 0x94], cl
jmp 0x10300381
mov eax, dword [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x2d4]
push edx
call fcn.101da000
add esp, 0xc
test eax, eax
jle 0x10300400
mov eax, dword [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0x2d4]
push edx
call fcn.101da000
add esp, 0xc
test eax, eax
jg 0x10300402
jmp 0x10300452
lea eax, [ebp - 0x338]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2d4]
push edx
call fcn.101d9d10
add esp, 0xc
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x334], 0
je 0x1030043c
cmp dword [ebp + 0x10], 0
je 0x1030043c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x338]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2d4]
push edx
call fcn.101da260
add esp, 4
mov eax, 1
jmp 0x10300463
mov eax, dword [ebp - 0x2d4]
push eax
call fcn.101da260
add esp, 4
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10314cf5
mov esp, ebp
pop ebp
ret