Function at 0x5d0341b1
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d03ad20
push sym.MSVCR70.dll__except_handler3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
or dword [ebp - 0x1c], 0xffffffff
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
cmp eax, edx
je 0x5d0341fc
push eax
call dword [ebp + 0x10]
pop ecx
jmp 0x5d0348f1
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov esi, dword [eax]
mov ecx, 0x10020
and esi, ecx
cmp esi, ecx
jne 0x5d0348ef
test byte [eax + 0xe4], 0x40
jne 0x5d0348ef
mov ecx, dword [eax + 0xdc]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
and byte [ebp - 0x31], 0
mov dword [ebp - 4], edx
xor edx, edx
inc edx
mov byte [ebp - 0x32], dl
and byte [ebp - 0x36], 0
mov eax, dword [eax + 0xb8]
mov dword [ebp - 0x3c], eax
cmp byte [ebp - 0x32], 0
je 0x5d0342af
mov cl, byte [eax]
mov byte [ebp - 0x3d], cl
inc eax
mov dword [ebp - 0x3c], eax
movzx ecx, cl
cmp ecx, 0x66
jg 0x5d034283
je 0x5d0342aa
cmp ecx, 0x26
je 0x5d03427d
cmp ecx, 0x2e
je 0x5d03427d
cmp ecx, 0x36
je 0x5d03427d
cmp ecx, 0x3e
je 0x5d03427d
cmp ecx, 0x63
jle 0x5d034297
cmp ecx, 0x65
jg 0x5d034297
mov byte [ebp - 0x31], 1
jmp 0x5d034246
sub ecx, 0x67
je 0x5d03427d
sub ecx, 0x89
je 0x5d03427d
dec ecx
dec ecx
je 0x5d0342a6
dec ecx
je 0x5d03429d
and byte [ebp - 0x32], 0
jmp 0x5d034246
mov byte [ebp - 0x36], 1
inc dword [ebp - 0x20]
jmp 0x5d034246
mov byte [ebp - 0x36], 1
mov dword [ebp - 0x30], edx
jmp 0x5d0342a1
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x31], 0
jne 0x5d0348ef
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 0x44], ebx
cmp byte [ebp - 0x3d], 0xf
jne 0x5d0344a8
mov ecx, dword [eax]
mov eax, ecx
shr eax, 4
and eax, 0xf
cmp eax, 5
jne 0x5d0342e7
mov dword [ebp - 0x4c], 0x5d046660
jmp 0x5d034313
cmp eax, 0xc
jne 0x5d0342f5
mov dword [ebp - 0x4c], 0x5d046760
jmp 0x5d034313
cmp eax, 2
jne 0x5d034303
mov dword [ebp - 0x4c], 0x5d046860
jmp 0x5d034313
cmp eax, 0xe
jne 0x5d0344a8
mov dword [ebp - 0x4c], 0x5d046960
mov esi, ecx
mov eax, 0xc000
and esi, eax
xor edx, edx
cmp esi, eax
setne dl
mov byte [ebp - 0x4d], dl
movzx eax, dl
shl eax, 4
and ecx, 0xf
or eax, ecx
mov dword [ebp - 0x54], eax
cmp eax, 0x20
ja 0x5d0344a8
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x4c]
lea esi, [ecx + eax*4]
mov dword [ebp - 0x48], esi
mov eax, dword [esi]
test ax, 0xfff
jne 0x5d03435d
mov byte [ebp - 0x31], 1
jmp 0x5d0344af
mov ecx, eax
mov edi, 0x1f000
and ecx, edi
cmp ecx, 0x1e000
jne 0x5d034396
shr eax, 0x11
and eax, 0x1f
cmp byte [ebp - 0x36], 0
lea esi, [eax*4 + 0x5d046a64]
jne 0x5d034388
lea esi, [eax*4 + 0x5d046a60]
mov dword [ebp - 0x48], esi
and byte [ebp - 0x36], 0
mov dword [ebp - 0x30], 2
mov eax, dword [esi]
and eax, 0xfff
movzx ecx, byte [ebp - 0x36]
add eax, ecx
mov dword [ebp - 0xc4], eax
add dword [ebp - 0x20], 3
test dl, dl
je 0x5d0343e2
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov al, byte [eax]
mov byte [ebp - 0x3d], al
inc dword [ebp - 0x3c]
movzx ecx, al
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x28]
push eax
add eax, 0xdc
push eax
call dword [ecx*4 + 0x5d046aa0]
add esp, 0xc
mov dword [ebp - 0x24], eax
push dword [ebp - 0x28]
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebx]
shr eax, 0xb
and eax, 7
push eax
mov eax, dword [esi]
shr eax, 0xc
and eax, 0x1f
push eax
push dword [ebp - 0x36]
call fcn.5d033712
add esp, 0x14
mov eax, dword [esi]
mov ecx, eax
and ecx, edi
shr eax, 0x11
push dword [ebp - 0x28]
and eax, 0x1f
cmp ecx, edi
jne 0x5d03443e
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebx]
shr ecx, 8
and ecx, 7
push ecx
push eax
push dword [ebp - 0x36]
call fcn.5d033712
add esp, 0x14
and dword [ebp - 0x7c], 0xfffffffe
jmp 0x5d03445a
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebx]
shr ecx, 8
and ecx, 7
push ecx
push eax
push dword [ebp - 0x36]
call fcn.5d033712
add esp, 0x14
push dword [ebp - 0x28]
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebx]
shr eax, 0xb
and eax, 7
push eax
mov eax, dword [esi]
shr eax, 0x19
and eax, 0x1f
push eax
push dword [ebp - 0x36]
call fcn.5d033712
add esp, 0x14
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x20], eax
mov ecx, dword [esi]
and ecx, 0x1c00000
cmp ecx, 0x400000
jne 0x5d0344af
add dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
mov dword [ebp - 0xc0], eax
inc dword [ebp - 0x20]
jmp 0x5d0344af
mov byte [ebp - 0x31], 1
mov esi, dword [ebp - 0x48]
or dword [ebp - 4], 0xffffffff
xor eax, eax
cmp byte [ebp - 0x31], al
jne 0x5d0348f1
mov edx, dword [ebp - 0x28]
mov ax, word [edx + 0xcc]
mov ecx, 0x300
and eax, ecx
je 0x5d0344f1
cmp eax, 0x200
je 0x5d0344e5
cmp eax, ecx
jne 0x5d0344fb
and dword [ebp - 0xfc], 0
jmp 0x5d0344fb
mov dword [ebp - 0xfc], 1
jmp 0x5d0344fb
mov dword [ebp - 0xfc], 2
mov eax, dword [edx + 0xe4]
mov ecx, eax
shr ecx, 0xd
push 3
pop edi
and ecx, edi
xor ebx, ebx
sub ecx, ebx
je 0x5d03453a
dec ecx
je 0x5d03452e
dec ecx
je 0x5d034522
dec ecx
jne 0x5d034540
mov dword [ebp - 0x100], edi
jmp 0x5d034540
mov dword [ebp - 0x100], 2
jmp 0x5d034540
mov dword [ebp - 0x100], 1
jmp 0x5d034540
mov dword [ebp - 0x100], ebx
mov ecx, eax
shr ecx, 7
and ecx, 0x3f
mov dword [ebp - 0x10c], ecx
mov ecx, eax
shr ecx, 0xf
and ecx, 1
mov dword [ebp - 0x104], ecx
mov ecx, dword [edx + 0xc0]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xf8], ecx
and eax, 0x3f
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], ebx
mov esi, dword [esi]
shr esi, 0x1e
inc esi
mov dword [ebp - 0x110], esi
cmp byte [ebp - 0x36], 0
je 0x5d03459e
xor esi, esi
inc esi
mov dword [ebp - 0x110], esi
xor edi, edi
test esi, esi
jbe 0x5d0348b1
and dword [ebp - 0x108], 0
and dword [ebp - 0x164], 0xffffffe0
and dword [ebp - 0x160], 0xffffffe0
and dword [ebp - 0x15c], 0xffffffe0
mov ebx, dword [ebp - 0xc4]
mov ecx, ebx
and ecx, 0xfff
shl ecx, 3
mov eax, dword [ebp - 0xfc]
and eax, 7
or ecx, eax
shl ecx, 2
mov eax, dword [ebp - 0x168]
and eax, 0xfffe0000
or ecx, eax
mov eax, dword [ebp - 0x100]
and eax, 3
or ecx, eax
mov dword [ebp - 0x168], ecx
mov eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x9c]
xor esi, esi
inc esi
and eax, esi
xor dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x30]
cmp edx, esi
jne 0x5d03463b
mov eax, dword [ebp + edi*8 - 0xac]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + edi*8 - 0xa8]
mov dword [ebp - 0x154], eax
jmp 0x5d03466e
test edx, edx
je 0x5d034661
cmp ebx, 0x59
jb 0x5d03466e
cmp ebx, 0x5a
jbe 0x5d03465a
cmp ebx, 0x5c
jbe 0x5d03466e
cmp ebx, 0x5f
jbe 0x5d034661
cmp ebx, 0x61
ja 0x5d03466e
jmp 0x5d03461f
and dword [ebp - 0x154], 0
mov eax, dword [ebp + edi*4 - 0xac]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x9c]
and eax, 0x1e
xor dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x7c]
and ecx, esi
je 0x5d0346fa
mov eax, dword [ebp - 0x130]
and eax, 0xfffffffe
or eax, ecx
cmp edx, esi
jne 0x5d0346b5
mov ecx, dword [ebp + edi*8 - 0x8c]
mov dword [ebp - 0x140], ecx
mov ecx, dword [ebp + edi*8 - 0x88]
mov dword [ebp - 0x13c], ecx
jmp 0x5d0346e8
test edx, edx
je 0x5d0346db
cmp ebx, 0x59
jb 0x5d0346e8
cmp ebx, 0x5a
jbe 0x5d0346d4
cmp ebx, 0x5c
jbe 0x5d0346e8
cmp ebx, 0x5f
jbe 0x5d0346db
cmp ebx, 0x61
ja 0x5d0346e8
jmp 0x5d034699
and dword [ebp - 0x13c], 0
mov ecx, dword [ebp + edi*4 - 0x8c]
mov dword [ebp - 0x140], ecx
mov ecx, eax
xor ecx, dword [ebp - 0x7c]
and ecx, 0x1e
xor eax, ecx
mov dword [ebp - 0x130], eax
jmp 0x5d034701
and dword [ebp - 0x130], 0xfffffffe
and dword [ebp - 0x118], 0xfffffffe
cmp edx, esi
jne 0x5d034722
mov eax, dword [ebp + edi*8 - 0x6c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + edi*8 - 0x68]
mov dword [ebp - 0x124], eax
jmp 0x5d034758
test edx, edx
je 0x5d03474e
mov eax, dword [ebp - 0xc4]
cmp eax, 0x59
jb 0x5d034758
cmp eax, 0x5a
jbe 0x5d034747
cmp eax, 0x5c
jbe 0x5d034758
cmp eax, 0x5f
jbe 0x5d03474e
cmp eax, 0x61
ja 0x5d034758
jmp 0x5d03470c
and dword [ebp - 0x124], 0
mov eax, dword [ebp + edi*4 - 0x6c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x5c]
xor eax, dword [ebp - 0x118]
and eax, 0x1e
xor dword [ebp - 0x118], eax
lea eax, [ebp - 0x168]
mov dword [ebp - 0xf0], eax
cmp edx, esi
je 0x5d034794
cmp edx, 2
je 0x5d034794
lea ebx, [ebp + edi*4 - 0xe4]
lea eax, [ebp - 0x10c]
push eax
call fcn.5d035eb8
jmp 0x5d0347a7
lea ebx, [ebp + edi*4 - 0xe4]
lea eax, [ebp - 0x10c]
push eax
call fcn.5d034b12
pop ecx
mov dword [ebx], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp + edi*4 - 0xd4], eax
cmp dword [ebx], esi
jne 0x5d034827
test al, 0x20
je 0x5d0347c6
or dword [ebp - 0xe8], 0x20
test al, 0x10
je 0x5d0347d1
or dword [ebp - 0xe8], 0x10
test al, 8
je 0x5d0347dc
or dword [ebp - 0xe8], 8
test al, 4
je 0x5d0347e7
or dword [ebp - 0xe8], 4
test al, 2
je 0x5d0347f2
or dword [ebp - 0xe8], 2
test al, 1
je 0x5d0347fc
or dword [ebp - 0xe8], esi
lea eax, [ebp - 0x168]
push eax
call dword [ebp + 0x10]
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x5d0348f1
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0xc4]
call fcn.5d03390b
pop ecx
pop ecx
mov eax, dword [ebp - 0x5c]
xor eax, dword [ebp - 0x118]
and eax, esi
xor dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xbc], eax
test byte [ebp - 0x5c], 1
je 0x5d0348a4
cmp dword [ebp - 0x30], esi
jne 0x5d034862
mov eax, dword [ebp - 0x128]
mov dword [ebp + edi*8 - 0x6c], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp + edi*8 - 0x68], eax
jmp 0x5d0348a4
cmp dword [ebp - 0x30], 0
jne 0x5d034874
mov eax, dword [ebp - 0x128]
mov dword [ebp + edi*4 - 0x6c], eax
jmp 0x5d0348a4
mov eax, dword [ebp - 0xc4]
cmp eax, 0x59
jb 0x5d0348a4
cmp eax, 0x5a
jbe 0x5d034895
cmp eax, 0x5c
jbe 0x5d0348a4
cmp eax, 0x5f
jbe 0x5d034868
cmp eax, 0x61
ja 0x5d0348a4
jmp 0x5d03484c
mov eax, dword [ebp - 0x128]
mov dword [ebp + edi*8 - 0x6c], eax
and dword [ebp + edi*8 - 0x68], 0
inc edi
cmp edi, dword [ebp - 0x110]
jb 0x5d0345a8
push dword [ebp - 0xbc]
mov esi, dword [ebp - 0x28]
push esi
lea eax, [ebp - 0x74]
push eax
call fcn.5d033acd
add esp, 0xc
mov eax, dword [ebp - 0x20]
add dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0xdc], eax
mov eax, dword [ebp - 0x1c]
jmp 0x5d0348f1
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret